Move package disowning to a separate page

The disown link in the package actions box leads to a new page
(pkgdisown.php) that can be used to confirm package disowning.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-05-22 16:53:27 +02:00
parent 422d8026da
commit 0b8c11a37a
3 changed files with 64 additions and 4 deletions

View file

@ -45,8 +45,8 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
$_POST['do_Adopt'] = __('Adopt');
break;
case "disown":
$_POST['do_Disown'] = __('Disown');
break;
include('pkgdisown.php');
return;
case "vote":
$_POST['do_Vote'] = __('Vote');
break;