Beispiel #1
0
$men = new e_menuManager(0);
// use 1 for dragdrop.
$mes = e107::getMessage();
if (e_AJAX_REQUEST) {
    if (vartrue($_GET['enc'])) {
        $string = base64_decode($_GET['enc']);
        parse_str($string, $_GET);
        //	 print_a($_GET);
    }
    //	print_a($_POST);
    if (vartrue($_GET['vis'])) {
        $text = $men->menuVisibilityOptions();
    }
    // print_a($_GET);
    if (vartrue($_GET['parmsId'])) {
        $text = $men->menuInstanceParameters();
    }
    if (vartrue($_POST['mode'])) {
        // print_r($_POST);
        //	$men->setMenuId($this->menuId);
        $text = $men->menuSaveAjax($_POST['mode']);
    }
    echo $text;
    exit;
}
if (isset($_GET['configure']) || isset($_GET['iframe'])) {
    //No layout parse when in iframe mod
    define('e_IFRAME', true);
}
require_once "auth.php";
if ($_POST) {