mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Flipped behavior of e_DEBUG_MENUMANAGER. New Menu-Manager is now the default.
This commit is contained in:
@@ -39,7 +39,7 @@ require_once("../class2.php");
|
|||||||
|
|
||||||
if(e_MENUMANAGER_ACTIVE === false )
|
if(e_MENUMANAGER_ACTIVE === false )
|
||||||
{
|
{
|
||||||
if(e_DEBUG_MENUMANAGER === true)
|
if(!deftrue("e_DEBUG_MENUMANAGER"))
|
||||||
{
|
{
|
||||||
e107::css('inline', '
|
e107::css('inline', '
|
||||||
|
|
||||||
@@ -701,7 +701,7 @@ if($_SERVER['E_DEV_MENU'] == 'true')
|
|||||||
|
|
||||||
function e_help()
|
function e_help()
|
||||||
{
|
{
|
||||||
if(e_DEBUG_MENUMANAGER !== true)
|
if(deftrue("e_DEBUG_MENUMANAGER"))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@@ -1256,7 +1256,7 @@ class e_menuManager {
|
|||||||
$text .= "</div>";
|
$text .= "</div>";
|
||||||
}
|
}
|
||||||
// $ns -> tablerender(MENLAN_22.'blabla', $text);
|
// $ns -> tablerender(MENLAN_22.'blabla', $text);
|
||||||
if(e_DEBUG_MENUMANAGER === true)
|
if(!deftrue("e_DEBUG_MENUMANAGER"))
|
||||||
{
|
{
|
||||||
echo "<div class='menu-panel' style='padding:50px'>Main Content Area</div>";
|
echo "<div class='menu-panel' style='padding:50px'>Main Content Area</div>";
|
||||||
}
|
}
|
||||||
|
@@ -16,7 +16,7 @@ if (!getperms("2"))
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(e_DEBUG_MENUMANAGER === true)
|
if(!deftrue("e_DEBUG_MENUMANAGER"))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user