mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Notice removal and file cleanup
This commit is contained in:
@@ -40,12 +40,31 @@ e107::coreLan('footer', true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Get Icon constants, theme override (theme/templates/admin_icons_template.php) is allowed
|
||||
include_once(e107::coreTemplatePath('admin_icons'));
|
||||
|
||||
require_once (e_ADMIN.'ad_links.php'); //FIXME - see 'FIXME' in sc_admin_navigation
|
||||
|
||||
if (!defined('ADMIN_WIDTH'))
|
||||
if(!defset('e_ADMIN_UI') && !defset('e_PAGETITLE'))
|
||||
{
|
||||
$array_functions = e107::getNav()->adminLinks('legacy'); // replacement see e107_handlers/sitelinks.php
|
||||
foreach($array_functions as $val)
|
||||
{
|
||||
$link = str_replace("../","",$val[0]);
|
||||
if(strpos(e_SELF,$link)!==FALSE)
|
||||
{
|
||||
define('e_PAGETITLE',$val[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
require_once (e_ADMIN.'ad_links.php'); //FIXME - remove??
|
||||
|
||||
if (!defined('ADMIN_WIDTH')) //BC Only
|
||||
{
|
||||
define('ADMIN_WIDTH', "width:100%;");
|
||||
}
|
||||
|
Reference in New Issue
Block a user