summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-11-10 19:49:13 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2016-02-07 10:52:05 +0100
commitaa5e58db81b8a243e03d0f08925c2d1f34c82304 (patch)
tree22b086afdf5dc6173f5964342be0f09f3d266571 /web/template
parent3412de21d32708b44d1fb3011649734e3cc67d9b (diff)
downloadaur-aa5e58db81b8a243e03d0f08925c2d1f34c82304.tar.gz
aur-aa5e58db81b8a243e03d0f08925c2d1f34c82304.tar.xz
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>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/account_edit_form.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index cb0fa33b..4f92f693 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -134,6 +134,14 @@
</fieldset>
<fieldset>
+ <legend><?= __("Notification settings") ?>:</legend>
+ <p>
+ <label for="id_commentnotify"><?= __("Notify of new comments") ?>:</label>
+ <input type="checkbox" name="CN" id="id_commentnotify" <?= $CN ? 'checked="checked"' : '' ?> />
+ </p>
+ </fieldset>
+
+ <fieldset>
<p>
<label></label>
<?php if ($A == "UpdateAccount"): ?>