mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +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"];
|
||||
else $currenttab=NULL;
|
||||
|
||||
// add new attribute definition ---------------------------------------------
|
||||
if ($action == "download") {
|
||||
// Download extension -------------------------------------------------------
|
||||
if ($action == "download") { /* {{{ */
|
||||
if (!isset($_POST["extname"])) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("unknown_id"));
|
||||
}
|
||||
|
@ -128,7 +128,8 @@ elseif ($action == "getlist") { /* {{{ */
|
|||
}
|
||||
add_log_line();
|
||||
header("Location:../out/out.ExtensionMgr.php?currenttab=".$currenttab);
|
||||
} elseif ($action == "toggle") { /* {{{ */
|
||||
} /* }}} */
|
||||
elseif ($action == "toggle") { /* {{{ */
|
||||
if (!isset($_POST["extname"])) {
|
||||
echo json_encode(array('success'=>false, 'msg'=>'Could not toggle extension'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user