mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Implement capability to pin comments above others
Adds capability to pin comments before others. Implements FS#10863. Signed-off-by: Mark Weiman <mark.weiman@markzz.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
3088fd0f38
commit
7d4c0c9ffa
13 changed files with 187 additions and 14 deletions
|
@ -99,6 +99,10 @@ if (check_token()) {
|
|||
list($ret, $output) = pkgbase_notify($ids, false);
|
||||
} elseif (current_action("do_DeleteComment")) {
|
||||
list($ret, $output) = pkgbase_delete_comment();
|
||||
} elseif (current_action("do_PinComment")) {
|
||||
list($ret, $output) = pkgbase_pin_comment();
|
||||
} elseif (current_action("do_UnpinComment")) {
|
||||
list($ret, $output) = pkgbase_pin_comment(true);
|
||||
} elseif (current_action("do_SetKeywords")) {
|
||||
list($ret, $output) = pkgbase_set_keywords($base_id, preg_split("/[\s,;]+/", $_POST['keywords'], -1, PREG_SPLIT_NO_EMPTY));
|
||||
} elseif (current_action("do_FileRequest")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue