diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-19 14:00:12 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-25 11:31:11 +0200 |
commit | 48cc8207bf88beaaedd21ef271b1d012f3e18686 (patch) | |
tree | 2f68f5f30a7aa84df2fcbe1cfd810bece96201e0 /web/html/pkgbase.php | |
parent | e37a49d7269d9f31e9fed9c1e3cd52bba7ae069a (diff) | |
download | aurweb-48cc8207bf88beaaedd21ef271b1d012f3e18686.tar.xz |
Add support for filing package requests
Add a new entry to the package actions box that allows for filing
deletion and orphan requests. When choosing that action, the user is
redirected to a new page that allows for selecting a request type and
entering a comment. When submitting the request, a new entry in the
request database is created and an email is sent to a configurable
mailing list (defaults to aur-general).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/pkgbase.php')
-rw-r--r-- | web/html/pkgbase.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php index 0d1b74a..dd09977 100644 --- a/web/html/pkgbase.php +++ b/web/html/pkgbase.php @@ -94,6 +94,8 @@ if (check_token()) { list($ret, $output) = pkgbase_delete_comment($atype); } elseif (current_action("do_ChangeCategory")) { list($ret, $output) = pkgbase_change_category($base_id, $atype); + } elseif (current_action("do_FileRequest")) { + list($ret, $output) = pkgbase_file_request($ids, $_POST['type'], $_POST['comments']); } if (isset($_REQUEST['comment'])) { |