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

Admin template clean up. 2 new admin styles added. (to be improved). Left admin panel collapse improved. (still needs a cookie to 'stick' .

This commit is contained in:
Cameron
2021-01-29 09:27:38 -08:00
parent 7be16b9e32
commit a6e341274e
12 changed files with 3202 additions and 30 deletions

View File

@@ -679,21 +679,18 @@ class admin_shortcodes extends e_shortcode
{
return '';
}
global $ns, $pref;
// SecretR: NEW v0.8
$tmp = e107::getAdminUI();
if($tmp)
if($tmp = e107::getAdminUI())
{
ob_start();
// FIXME - renderMenu(), respectively e_adm/in_menu() should return, not output content!
$tmp->renderMenu();
$ret = ob_get_clean();
return $ret;
return $tmp->renderMenu();
}
unset($tmp);
$ns = e107::getRender();
$pref = e107::getPref();
$curScript = basename($_SERVER['SCRIPT_FILENAME']);