mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +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:
@@ -40,7 +40,7 @@ if($adminTheme !== 'bootstrap3' && $adminTheme !== 'bootstrap5')
|
||||
$admincss = trim($core->get('admincss'));
|
||||
if(empty($admincss) || $admincss === 'style.css'|| $admincss === 'admin_dark.css' || $admincss === 'admin_light.css')
|
||||
{
|
||||
$core->update('admincss','css/bootstrap-dark.min.css');
|
||||
$core->update('admincss','css/modern-light.css');
|
||||
$core->save(false,true);
|
||||
e107::getRedirect()->redirect(e_SELF);
|
||||
}
|
||||
|
Reference in New Issue
Block a user