* fix main nav style.
This commit is contained in:
@@ -127,7 +127,7 @@ $lang->menu->company = '<i class="icon icon-menu-users"></i> Company|company|ind
|
||||
$lang->menu->admin = '<i class="icon icon-menu-backend"></i> Admin|admin|index';
|
||||
$lang->menu->recent = '<i class="icon icon-menu-recent"></i> Recent|recent|index';
|
||||
|
||||
$lang->dividerMenu = ',admin,recent,';
|
||||
$lang->dividerMenu = ',admin,';
|
||||
|
||||
/* Object list in search form. */
|
||||
$lang->searchObjects['bug'] = 'Bug';
|
||||
|
||||
@@ -127,7 +127,7 @@ $lang->mainNav->company = '<i class="icon icon-menu-users"></i> 组织|company|i
|
||||
$lang->mainNav->admin = '<i class="icon icon-menu-backend"></i> 后台|admin|index|';
|
||||
$lang->mainNav->recent = '<i class="icon icon-menu-recent"></i> 近期|recent|index|';
|
||||
|
||||
$lang->dividerMenu = ',admin,recent,';
|
||||
$lang->dividerMenu = ',admin,';
|
||||
|
||||
$lang->menu = new stdclass();
|
||||
$lang->menu->project = '';
|
||||
|
||||
@@ -459,6 +459,8 @@ class commonModel extends model
|
||||
if($moduleName == $group) $active = 'active';
|
||||
if(zget($lang->navGroup, $moduleName, '') == $group) $active = 'active';
|
||||
if(common::hasPriv($currentModule, $currentMethod)) echo "<li class=$active>" . html::a(helper::createLink($currentModule, $currentMethod, $vars), $title) . '</li>';
|
||||
|
||||
if(strpos($lang->dividerMenu, ",{$group},") !== false) echo "<li class='divider'></li>";
|
||||
}
|
||||
echo "</ul>\n";
|
||||
}
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* ZUI: Zentao template - v1.9.1 - 2020-05-06
|
||||
* ZUI: Zentao template - v1.9.1 - 2020-05-07
|
||||
* http://openzui.com
|
||||
* GitHub: https://github.com/easysoft/zui.git
|
||||
* Copyright (c) 2020 cnezsoft.com; Licensed MIT
|
||||
|
||||
Reference in New Issue
Block a user