* fix main nav style.

This commit is contained in:
Catouse
2020-05-07 14:50:59 +08:00
parent 9c7b057c43
commit 923a3cd538
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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 = '';
+2
View File
@@ -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
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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