[PATCH] Explain the hide email address setting

Lukas Fleischer lfleischer at archlinux.org
Fri Jan 31 08:20:33 UTC 2020


Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 web/template/account_edit_form.php | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

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) ?>" />
-- 
2.25.0


More information about the aur-dev mailing list