Explain the hide email address setting

Message ID 20200131082033.117008-1-lfleischer@archlinux.org
State New
Headers show
Series
  • Explain the hide email address setting
Related show

Commit Message

Lukas Fleischer Jan. 31, 2020, 8:20 a.m. UTC
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
---
 web/template/account_edit_form.php | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Patch

diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index edacbbf..a4ea994 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -80,6 +80,14 @@ 
 			<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>
+		<p>
+			<em><?= __("If you do not hide your email address, it is visible to all registered AUR users. If you hide your email address, it is visible to members of the Arch Linux staff only.") ?></em>
+		</p>
+
 		<p>
 			<label for="id_backup_email"><?= __("Backup Email Address") ?>:</label>
 			<input type="text" size="30" maxlength="254" name="BE" id="id_backup_email" value="<?= htmlspecialchars($BE, ENT_QUOTES) ?>" />
@@ -88,14 +96,10 @@ 
 			<em>
 				<?= __("Optionally provide a secondary email address that can be used to restore your account in case you lose access to your primary email address.") ?>
 				<?= __("Password reset links are always sent to both your primary and your backup email address.") ?>
+				<?= __("Your backup email address is always only visible to members of the Arch Linux staff, independent of the %s setting.", "<em>" . __("Hide Email Address") . "</em>") ?>
 			</em>
 		</p>
 
-		<p>
-			<label for="id_hide"><?= __("Hide Email Address") ?>:</label>
-			<input type="checkbox" name="H" id="id_hide" <?= $H ? 'checked="checked"' : '' ?> />
-		</p>
-
 		<p>
 			<label for="id_realname"><?= __("Real Name") ?>:</label>
 			<input type="text" size="30" maxlength="32" name="R" id="id_realname" value="<?= htmlspecialchars($R,ENT_QUOTES) ?>" />