* adjust for webhook and message page.

This commit is contained in:
wangyidong
2018-04-24 11:13:01 +08:00
parent 6a3b7a11ee
commit 6be5af956c
12 changed files with 280 additions and 255 deletions
+2 -2
View File
@@ -5,9 +5,9 @@
<?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'")?>
<?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'")?>
<?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>