Exemplo n.º 1
0
    //No layout parse when in iframe mod
    define('e_IFRAME', true);
}
require_once "auth.php";
if ($_POST) {
    e107::getCache()->clear_sys("menus_");
}
//FIXME still used in e_HANDLER.menumanager_class.php
if (vartrue($message) != "") {
    echo $ns->tablerender('Updated', "<div style='text-align:center'><b>" . $message . "</b></div><br /><br />");
}
//BC - configure and dot delimiter deprecated
if (!isset($_GET['configure'])) {
    //			$men->menuScanMenus();   // - Runs 2x - Is already called by menuModify() in menumanager_class.php
    $text = $men->menuRenderMessage();
    $text .= $men->menuSelectLayout();
    $text .= $men->menuVisibilityOptions();
    $text .= $men->menuInstanceParameters();
    $text .= $men->menuRenderIframe();
    $ns->tablerender(ADLAN_6 . SEP . LAN_MENULAYOUT, e107::getMessage()->render() . $text, 'menus_config');
} else {
    $men->menuRenderPage();
}
// -----------------------------------------------------------------------------
require_once "footer.php";
// -----------------------------------------------------------------------
function menus_adminmenu()
{
    // See admin_shortcodes.php -  sc_admin_menumanager()
    // required there so it can be shared by plugins.
}