* finish task #5078.

This commit is contained in:
wangyidong
2018-11-13 09:51:17 +08:00
parent 470c97a7cd
commit 3f5f48fd50
19 changed files with 152 additions and 82 deletions
+1 -10
View File
@@ -1,13 +1,4 @@
<?php include '../../common/view/header.html.php';?>
<div id="mainMenu" class="clearfix">
<div class="btn-toolbar pull-left">
<?php foreach($lang->message->typeList as $type => $typeName):?>
<?php if(isset($config->message->typeLink[$type])):?>
<?php list($moduleName, $methodName) = explode('|', $config->message->typeLink[$type]);?>
<?php if(!common::hasPriv($moduleName, $methodName)) continue;?>
<?php echo html::a($this->createLink($moduleName, $methodName), "<span class='text'>$typeName</span>", '', "class='btn btn-link' id='{$type}Tab'")?>
<?php endif;?>
<?php endforeach;?>
<?php if(common::hasPriv('message', 'setting')) echo html::a($this->createLink('message', 'setting'), "<span class='text'>{$lang->message->setting}</span>", '', "class='btn btn-link' id='settingTab'")?>
</div>
<div class="btn-toolbar pull-left"><?php common::printAdminSubMenu('message');?></div>
</div>