summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-08-31 18:18:24 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-09-11 22:11:52 +0200
commit6b7e26a2d19c53438a9594ee3068f1afcdb1ee0d (patch)
tree10ace32300827b1d0fadbee1483c35db1ef89cef /web/html/index.php
parent209879d63f25276e38337983fc034da08b58ff3a (diff)
downloadaurweb-6b7e26a2d19c53438a9594ee3068f1afcdb1ee0d.tar.xz
Move package base flagging to a separate form
Show a separate confirmation page when flagging a package out-of-date. Implements FS#44967. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 7068d76..ec99bb7 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -68,8 +68,8 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
$_POST['do_UnNotify'] = __('UnNotify');
break;
case "flag":
- $_POST['do_Flag'] = __('Flag');
- break;
+ include('pkgflag.php');
+ return;
case "unflag":
$_POST['do_UnFlag'] = __('UnFlag');
break;