mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 05:11:42 +02:00
admin_icons_template.php reformatted to v2 standards.
This commit is contained in:
@@ -35,7 +35,9 @@ if($info = e107::getLibrary()->load('bootstrap'))
|
||||
}
|
||||
}
|
||||
|
||||
include_once(e107::coreTemplatePath('admin_icons')); // Needs to be loaded before infopanel AND in boot.php
|
||||
e107::getDebug()->logTime('[admin.php: Loading admin_icons]');
|
||||
//include_once(e107::coreTemplatePath('admin_icons'));
|
||||
e107::loadAdminIcons(); // Needs to be loaded before infopanel AND in boot.php
|
||||
|
||||
/*if(vartrue($_GET['iframe']) == 1)
|
||||
{
|
||||
|
@@ -235,11 +235,14 @@ e107::coreLan('footer', true);
|
||||
|
||||
// Get Icon constants, theme override (theme/templates/admin_icons_template.php) is allowed
|
||||
e107::getDebug()->logTime('[boot.php: Loading admin_icons]');
|
||||
include_once(e107::coreTemplatePath('admin_icons'));
|
||||
e107::loadAdminIcons();
|
||||
e107::getDebug()->logTime('[boot.php: After Loading admin_icons]');
|
||||
//include_once(e107::coreTemplatePath('admin_icons'));
|
||||
|
||||
|
||||
if(!defset('e_ADMIN_UI') && !defset('e_PAGETITLE'))
|
||||
{
|
||||
e107::getDebug()->logTime('[boot.php: Loading adminLinks(\'legacy\')]');
|
||||
$array_functions = e107::getNav()->adminLinks('legacy'); // replacement see e107_handlers/sitelinks.php
|
||||
foreach($array_functions as $val)
|
||||
{
|
||||
|
@@ -737,8 +737,9 @@ class e_layout
|
||||
|
||||
|
||||
unset($HEADER,$FOOTER,$CUSTOMHEADER,$CUSTOMFOOTER,$style);
|
||||
|
||||
require_once(e_CORE."templates/admin_icons_template.php");
|
||||
|
||||
e107::loadAdminIcons();
|
||||
// require_once(e_CORE."templates/admin_icons_template.php");
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user