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>
This commit is contained in:
Lukas Fleischer 2015-08-31 18:18:24 +02:00
parent 209879d63f
commit 6b7e26a2d1
3 changed files with 47 additions and 3 deletions

View file

@ -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;