mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +00:00
add missing foldmarks, fix comment
This commit is contained in:
parent
d8b8719d6b
commit
717cfcb615
|
@ -43,8 +43,8 @@ else $action=NULL;
|
||||||
if (isset($_POST["currenttab"])) $currenttab=$_POST["currenttab"];
|
if (isset($_POST["currenttab"])) $currenttab=$_POST["currenttab"];
|
||||||
else $currenttab=NULL;
|
else $currenttab=NULL;
|
||||||
|
|
||||||
// add new attribute definition ---------------------------------------------
|
// Download extension -------------------------------------------------------
|
||||||
if ($action == "download") {
|
if ($action == "download") { /* {{{ */
|
||||||
if (!isset($_POST["extname"])) {
|
if (!isset($_POST["extname"])) {
|
||||||
UI::exitError(getMLText("admin_tools"),getMLText("unknown_id"));
|
UI::exitError(getMLText("admin_tools"),getMLText("unknown_id"));
|
||||||
}
|
}
|
||||||
|
@ -128,7 +128,8 @@ elseif ($action == "getlist") { /* {{{ */
|
||||||
}
|
}
|
||||||
add_log_line();
|
add_log_line();
|
||||||
header("Location:../out/out.ExtensionMgr.php?currenttab=".$currenttab);
|
header("Location:../out/out.ExtensionMgr.php?currenttab=".$currenttab);
|
||||||
} elseif ($action == "toggle") { /* {{{ */
|
} /* }}} */
|
||||||
|
elseif ($action == "toggle") { /* {{{ */
|
||||||
if (!isset($_POST["extname"])) {
|
if (!isset($_POST["extname"])) {
|
||||||
echo json_encode(array('success'=>false, 'msg'=>'Could not toggle extension'));
|
echo json_encode(array('success'=>false, 'msg'=>'Could not toggle extension'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user