diff options
author | Marcel Korpel <marcel.korpel@gmail.com> | 2015-07-10 18:47:31 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-08-08 12:59:23 +0200 |
commit | 92e19e95f3c07745e7ba7c6e358921b7789f8abe (patch) | |
tree | 33b79d9247d96e25fdbb5cfd960808a7cf67dc5f /web/html/pkgbase.php | |
parent | 8375d212106918b602911f6286d2e4fd172d446e (diff) | |
download | aurweb-92e19e95f3c07745e7ba7c6e358921b7789f8abe.tar.xz |
Add comment edit icon and form
Show an icon next to the comment deletion icon, which leads to a
comment edit form.
Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/pkgbase.php')
-rw-r--r-- | web/html/pkgbase.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php index 5179d0c..f908029 100644 --- a/web/html/pkgbase.php +++ b/web/html/pkgbase.php @@ -104,9 +104,7 @@ if (check_token()) { list($ret, $output) = pkgreq_close($_POST['reqid'], $_POST['reason'], $_POST['comments']); } elseif (current_action("do_EditComaintainers")) { list($ret, $output) = pkgbase_set_comaintainers($base_id, explode("\n", $_POST['users'])); - } - - if (isset($_REQUEST['comment'])) { + } elseif (current_action("do_AddComment")) { $uid = uid_from_sid($_COOKIE["AURSID"]); pkgbase_add_comment($base_id, $uid, $_REQUEST['comment']); $ret = true; |