diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-11-10 19:49:13 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2016-02-07 10:52:05 +0100 |
commit | aa5e58db81b8a243e03d0f08925c2d1f34c82304 (patch) | |
tree | 22b086afdf5dc6173f5964342be0f09f3d266571 /web/template/account_edit_form.php | |
parent | 3412de21d32708b44d1fb3011649734e3cc67d9b (diff) | |
download | aurweb-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/account_edit_form.php')
-rw-r--r-- | web/template/account_edit_form.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index cb0fa33..4f92f69 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"): ?> |