1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 06:03:27 +02:00

Admin template upgraded to v2 standards. Admin boot, header, footer cleanup.

This commit is contained in:
Cameron
2021-01-27 12:20:58 -08:00
parent 5fb7ef6ee8
commit e45a3a7b55
13 changed files with 242 additions and 252 deletions

View File

@@ -21,7 +21,7 @@ if (!defined('e107_INIT'))
$GLOBALS['E107_IN_FOOTER'] = true; // For registered shutdown function
global $error_handler,$db_time,$ADMIN_FOOTER;
global $error_handler,$db_time;
// Legacy fix - call header if not already done, mainly fixing left side menus to work proper
if(!deftrue('e_ADMIN_UI') )
@@ -98,7 +98,8 @@ if (varset($e107_popup) != 1)
//NEW - Iframe mod
if (!deftrue('e_IFRAME'))
{
parse_admin($ADMIN_FOOTER);
$ADMIN_FOOTER = e107::getCoreTemplate('admin', 'footer', false);
e107::renderLayout($ADMIN_FOOTER, ['sc'=>'admin']);
}
$eTimingStop = microtime();