mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Issue #4350 Have Menu Manager run init();
This commit is contained in:
parent
ed8d40db95
commit
d1bf1cfde8
@ -133,10 +133,7 @@ e107::coreLan('admin', true);
|
||||
|
||||
if(e_MENUMANAGER_ACTIVE === true || vartrue($_GET['enc']))
|
||||
{
|
||||
if(class_exists('theme')) // v2.3.0+
|
||||
{
|
||||
$tmpTemp = new theme; // load __construct() in case it contains CSS etc.
|
||||
}
|
||||
e107::callMethod('theme', 'init'); // v2.3.0+ new theme
|
||||
|
||||
$JSMODAL = <<<TEMPL
|
||||
$(function() {
|
||||
|
@ -69,6 +69,10 @@ if (varset($e107_popup) != 1)
|
||||
//
|
||||
if(!deftrue('e_IFRAME'))
|
||||
{
|
||||
if(!isset($LAYOUT['_modal_']))
|
||||
{
|
||||
$LAYOUT['_modal_'] = '';
|
||||
}
|
||||
|
||||
$psc = array(
|
||||
'</body>' => '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user