This commit is contained in:
wangyidong
2017-03-22 15:06:40 +08:00
parent 15ab56b785
commit bfa8cc76f4
+1 -1
View File
@@ -9,7 +9,7 @@
$list .= '|';
list($label, $module, $method, $params) = explode('|', $list);
$class = $label == $title ? ' active' : '';
echo html::a($this->createLink($module, $method, $params), $label, '', "class='list-group-item $class'");
if(common::hasPriv($module, $method)) echo html::a($this->createLink($module, $method, $params), $label, '', "class='list-group-item $class'");
}
?>
</ul>