diff --git a/web/html/index.php b/web/html/index.php index 5c568689..0b5dfc87 100644 --- a/web/html/index.php +++ b/web/html/index.php @@ -43,6 +43,9 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) { case "unflag": $_POST['do_UnFlag'] = __('UnFlag'); break; + case "delete": + include('pkgdel.php'); + return; } if (isset($_COOKIE['AURSID'])) { diff --git a/web/html/pkgdel.php b/web/html/pkgdel.php new file mode 100644 index 00000000..7f244eb4 --- /dev/null +++ b/web/html/pkgdel.php @@ -0,0 +1,44 @@ + +
+ = __('Use this form to delete the package (%s%s%s) from the AUR. ', + '', htmlspecialchars($pkgname), ''); ?> + = __('Deletion of a package is permanent. '); ?> + = __('Select the checkbox to confirm action.') ?> +
+ +