summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-11-10 20:18:13 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2016-02-07 10:54:20 +0100
commit64072461dfcc74857087b23c9ba7d9812b6afe40 (patch)
tree753980782ed91c694fe583495627a5dc8b8b7f4b /web/html
parentaa5e58db81b8a243e03d0f08925c2d1f34c82304 (diff)
downloadaur-64072461dfcc74857087b23c9ba7d9812b6afe40.tar.gz
aur-64072461dfcc74857087b23c9ba7d9812b6afe40.tar.xz
Add support for package update notifications
Introduce a new notification option to receive notifications when a new commit is pushed to a package repository. Implements FS#30109. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/account.php10
-rw-r--r--web/html/register.php4
2 files changed, 7 insertions, 7 deletions
diff --git a/web/html/account.php b/web/html/account.php
index 2f85a8a9..9007ace5 100644
--- a/web/html/account.php
+++ b/web/html/account.php
@@ -35,8 +35,8 @@ if ($action == "UpdateAccount") {
in_request("E"), in_request("H"), in_request("P"),
in_request("C"), in_request("R"), in_request("L"),
in_request("I"), in_request("K"), in_request("PK"),
- in_request("J"), in_request("CN"), in_request("ID"),
- $row["Username"]);
+ in_request("J"), in_request("CN"), in_request("UN"),
+ in_request("ID"), $row["Username"]);
}
}
@@ -83,7 +83,7 @@ if (isset($_COOKIE["AURSID"])) {
$row["HideEmail"], "", "", $row["RealName"],
$row["LangPreference"], $row["IRCNick"], $row["PGPKey"], $PK,
$row["InactivityTS"] ? 1 : 0, $row["CommentNotify"],
- $row["ID"], $row["Username"]);
+ $row["UpdateNotify"], $row["ID"], $row["Username"]);
} else {
print __("You do not have permission to edit this account.");
}
@@ -123,8 +123,8 @@ if (isset($_COOKIE["AURSID"])) {
in_request("R"), in_request("L"),
in_request("I"), in_request("K"),
in_request("PK"), in_request("J"),
- in_request("CN"), in_request("ID"),
- $row["Username"]);
+ in_request("CN"), in_request("UN"),
+ in_request("ID"), $row["Username"]);
}
} else {
diff --git a/web/html/register.php b/web/html/register.php
index f58fb258..3155449c 100644
--- a/web/html/register.php
+++ b/web/html/register.php
@@ -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"), 0, in_request("CN"));
+ in_request("PK"), 0, in_request("CN"), in_request("UN"));
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"), 0, in_request("CN"));
+ in_request("PK"), 0, in_request("CN"), in_request("UN"));
}
} else {
print '<p>' . __("Use this form to create an account.") . '</p>';