1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Issue #4020 2 new prefs added. Allow default collapsing of side-bar and enable/disable labels on nav-bar.

Icon cleanup and will now try to guess the right icon based on mode/action. Styling fixes. Removed unused admin stylesheets from bootstrap3.
This commit is contained in:
Cameron
2021-02-03 11:46:32 -08:00
parent df0f45609e
commit 49b8a9690d
27 changed files with 161 additions and 244 deletions

View File

@@ -70,14 +70,14 @@ e107::css('inline',"
'main/opt1' => array('divider' => true),
'main/rules' => array('caption' => WMGLAN_5, 'perm' => 'P'),
'mods/list' => array('caption' => LAN_FORUM_2003, 'perm'=>'P'),
'mods/list' => array('caption' => LAN_FORUM_2003, 'perm'=>'P', 'icon'=>'fas-user-tie'),
'main/prefs' => array('caption' => LAN_PREFS, 'perm' => 'P'),
'main/opt2' => array('divider' => true),
'report/list' => array('caption' => FORLAN_116, 'perm'=>'P'),
'report/list' => array('caption' => FORLAN_116, 'perm'=>'P', 'icon'=>'fas-flag'),
'post/list' => array('caption' => LAN_PLUGIN_FORUM_LATESTPOSTS, 'perm'=>'P'),
'main/prune' => array('caption' => LAN_PRUNE, 'perm' => 'P'),
'main/prune' => array('caption' => LAN_PRUNE, 'perm' => 'P', 'icon'=>'fas-filter'),
'main/tools' => array('caption' => FORLAN_153, 'perm'=>'p')
);

View File

@@ -443,11 +443,11 @@ class e_bootstrap
$text .= "<ul class='glyphicons well clearfix'>";
$inverse = (e107::getPref('admincss') == "admin_dark.css") ? " icon-white" : "";
// $inverse = (e107::getPref('admincss') == "admin_dark.css") ? " icon-white" : "";
foreach($icons as $ic)
{
$text .= '<li><i class="'.$ic.$inverse.'"></i> '.$ic.'</li>';
$text .= '<li><i class="'.$ic.'"></i> '.$ic.'</li>';
$text .= "\n";
}