diff options
author | Dan Vratil <vratil@progdansoft.com> | 2010-11-21 02:59:07 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2010-11-21 03:37:17 -0500 |
commit | 57a5cbfd88b2b91722ce0bf6911b416d051dde65 (patch) | |
tree | c7a8175ec8c90ef6610aabce02af4d291ea74d14 /web/html/packages.php | |
parent | 01fc2024cb48a68710065ceaae070f35aa69825d (diff) | |
download | aurweb-57a5cbfd88b2b91722ce0bf6911b416d051dde65.tar.xz |
Auto redirect from confirmation screens.
Finally move comment deletion and category editing into functions and
remove pkgedit.php
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-Fix indentation
-Fix variable naming conflict $id vs $cid
Diffstat (limited to 'web/html/packages.php')
-rw-r--r-- | web/html/packages.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/html/packages.php b/web/html/packages.php index 472f6a2..741ffb1 100644 --- a/web/html/packages.php +++ b/web/html/packages.php @@ -57,6 +57,10 @@ if ($_POST['action'] == "do_Flag" || isset($_POST['do_Flag'])) { $output = pkg_notify($atype, $ids); } elseif ($_POST['action'] == "do_UnNotify" || isset($_POST['do_UnNotify'])) { $output = pkg_notify($atype, $ids, False); +} elseif ($_POST['action'] == "do_DeleteComment" || isset($_POST["do_DeleteComment"])) { + $output = pkg_delete_comment($atype); +} elseif ($_POST['action'] == "do_ChangeCategory" || isset($_POST['do_ChangeCategory'])) { + $output = pkg_change_category($atype); } html_header($title); |