$aform->show_create_category();
        //edit category
    } elseif ($qs[0] == "cat" && $qs[1] == "edit" && is_numeric($qs[2])) {
        $newqs = array_reverse($qs);
        if ($newqs[0] == "pu") {
            //category; update redirect
            $message = CONTENT_ADMIN_CAT_LAN_12 . "<br /><br />\n\t\t\t\t" . CONTENT_ADMIN_CAT_LAN_42 . " <a href='" . e_SELF . "?cat.edit." . $qs[2] . "'>" . CONTENT_ADMIN_CAT_LAN_43 . "</a><br />\n\t\t\t\t" . CONTENT_ADMIN_CAT_LAN_53 . " <a href='" . e_SELF . "?cat'>" . CONTENT_ADMIN_CAT_LAN_43 . "</a><br />";
            $ns->tablerender("", "<div style='text-align:center'><b>" . $message . "</b></div>");
            require_once e_ADMIN . "footer.php";
            exit;
        }
        $aform->show_create_category();
        //restrict : choose category
    } elseif ($qs[0] == "restrict" && !isset($qs[1])) {
        //if(!getperms("0")){ header("location:".e_SELF); exit; }
        $aform->restrict();
        //restrict : view restrict for main parent
    } elseif ($qs[0] == "restrict" && isset($qs[1]) && is_numeric($qs[1])) {
        //if(!getperms("0")){ header("location:".e_SELF); exit; }
        $aform->restrict_category();
    }
}
// ##### End --------------------------------------------------------------------------------------
// ##### Display options --------------------------------------------------------------------------
function admin_content_config_adminmenu()
{
    global $pref;
    if (!isset($pref['plug_installed']['content'])) {
        return '';
    }
    global $sql, $plugintable, $aa;