summaryrefslogtreecommitdiffstats
path: root/web/template/account_edit_form.php
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2015-09-20 20:12:25 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-09-20 22:01:23 +0200
commitd5d08b8f926e8882864afbfd7446440acc1005d0 (patch)
tree345631fb4b165d00a4e09304f2cfa9ebd0b5977f /web/template/account_edit_form.php
parentf3ec4d1ef553259b0a617b9d11da4ece2ecc9dfd (diff)
downloadaur-d5d08b8f926e8882864afbfd7446440acc1005d0.tar.gz
aur-d5d08b8f926e8882864afbfd7446440acc1005d0.tar.xz
Add option to hide one's email address
Implements FS#42343. Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> 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.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 83aedb0d..16655c0f 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -76,6 +76,11 @@
<em><?= __("Please ensure you correctly entered your email address, otherwise you will be locked out.") ?></em>
</p>
+ <p>
+ <label for="id_hide"><?= __("Hide Email Address") ?>:</label>
+ <input type="checkbox" name="H" id="id_hide" <?= $H ? 'checked="checked"' : '' ?> />
+ </p>
+
<?php if ($A == "UpdateAccount"): ?>
<p>
<label for="id_passwd1"><?= __("Password") ?>:</label>