mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add global comment notification setting
Add a configuration option to the account edit page that allows for globally enabling/disabling package base comment notifications. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
3412de21d3
commit
aa5e58db81
7 changed files with 46 additions and 11 deletions
|
@ -23,7 +23,7 @@ if (in_request("Action") == "NewAccount") {
|
|||
"new", "NewAccount", in_request("U"), 1, 0,
|
||||
in_request("E"), in_request("H"), '', '', in_request("R"),
|
||||
in_request("L"), in_request("I"), in_request("K"),
|
||||
in_request("PK"));
|
||||
in_request("PK"), 0, in_request("CN"));
|
||||
|
||||
print $message;
|
||||
|
||||
|
@ -31,7 +31,7 @@ if (in_request("Action") == "NewAccount") {
|
|||
display_account_form("NewAccount", in_request("U"), 1, 0,
|
||||
in_request("E"), in_request("H"), '', '', in_request("R"),
|
||||
in_request("L"), in_request("I"), in_request("K"),
|
||||
in_request("PK"));
|
||||
in_request("PK"), 0, in_request("CN"));
|
||||
}
|
||||
} else {
|
||||
print '<p>' . __("Use this form to create an account.") . '</p>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue