summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/html/css/aurweb.css4
-rw-r--r--web/template/account_edit_form.php19
2 files changed, 16 insertions, 7 deletions
diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css
index 79acce4..c86c1da 100644
--- a/web/html/css/aurweb.css
+++ b/web/html/css/aurweb.css
@@ -77,3 +77,7 @@
.comment-deleted {
color: #999;
}
+
+legend {
+ padding: 1em 0;
+}
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 110fbb5..415c086 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -97,13 +97,6 @@
<input type="text" size="30" maxlength="50" name="K" id="id_pgp" value="<?= html_format_pgp_fingerprint($K) ?>" />
</p>
- <?php if ($A == "UpdateAccount"): ?>
- <p>
- <label for="id_ssh"><?= __("SSH Public Key") ?>:</label>
- <textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea>
- </p>
- <?php endif; ?>
-
<p>
<label for="id_language"><?= __("Language") ?>:</label>
<select name="L" id="id_language">
@@ -119,7 +112,19 @@
?>
</select>
</p>
+ </fieldset>
+
+ <?php if ($A == "UpdateAccount"): ?>
+ <fieldset>
+ <legend><?= __("The following information is only required if you want to submit packages to the Arch User Repository.") ?></legend>
+ <p>
+ <label for="id_ssh"><?= __("SSH Public Key") ?>:</label>
+ <textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea>
+ </p>
+ </fieldset>
+ <?php endif; ?>
+ <fieldset>
<p>
<label></label>
<?php if ($A == "UpdateAccount"): ?>