* change for message header.

This commit is contained in:
wangyidong
2018-02-28 11:37:55 +08:00
parent f228dcf456
commit 2cde802376
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@
<?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;?>
<li id='<?php echo $type?>Tab'><?php echo html::a($this->createLink($moduleName, $methodName), $typeName)?></li>
<?php endif;?>
<?php endforeach;?>
+1
View File
@@ -16,6 +16,7 @@
<?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;?>
<li id='<?php echo $type;?>Tab' <?php if($type == 'webhook') echo "class='active'"?>><?php echo html::a($this->createLink($moduleName, $methodName), $typeName)?></li>
<?php endif;?>
<?php endforeach;?>