summaryrefslogtreecommitdiffstats
path: root/web/html/packages.php
diff options
context:
space:
mode:
authorDan Vratil <vratil@progdansoft.com>2010-11-21 02:59:07 -0500
committerLoui Chang <louipc.ist@gmail.com>2010-11-21 03:37:17 -0500
commit57a5cbfd88b2b91722ce0bf6911b416d051dde65 (patch)
treec7a8175ec8c90ef6610aabce02af4d291ea74d14 /web/html/packages.php
parent01fc2024cb48a68710065ceaae070f35aa69825d (diff)
downloadaurweb-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.php4
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);