* change for message header.
This commit is contained in:
@@ -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;?>
|
||||
|
||||
Reference in New Issue
Block a user