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