1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Styling fixes.

This commit is contained in:
Cameron
2017-01-31 16:39:00 -08:00
parent d9fe5c8410
commit 5d94c192b6
14 changed files with 74 additions and 48 deletions

View File

@@ -36,6 +36,12 @@ if($core->get('admintheme') != 'bootstrap3')
$core->save();
e107::getRedirect()->redirect(e_SELF);
}
if($core->get('admincss') === 'admin_dark.css' || $core->get('admincss') === 'admin_light.css')
{
$core->update('admincss','css/bootstrap-dark.min.css');
$core->save();
e107::getRedirect()->redirect(e_SELF); ;
}
// Check Admin-Perms for current language and redirect if necessary.
if(USER && !getperms('0') && vartrue($pref['multilanguage']) && !getperms(e_LANGUAGE) && empty($_E107['no_language_perm_check']))