diff options
author | Marcel Korpel <marcel.korpel@gmail.com> | 2015-09-20 20:12:25 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-09-20 22:01:23 +0200 |
commit | d5d08b8f926e8882864afbfd7446440acc1005d0 (patch) | |
tree | 345631fb4b165d00a4e09304f2cfa9ebd0b5977f /web/template/account_edit_form.php | |
parent | f3ec4d1ef553259b0a617b9d11da4ece2ecc9dfd (diff) |
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.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index 83aedb0..16655c0 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> |