Commit 5b5950e5 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Add more details on the SSH public key field



Also, reorder the fields such that optional fields come last.
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent 86352459
......@@ -77,3 +77,7 @@
.comment-deleted {
color: #999;
}
legend {
padding: 1em 0;
}
......@@ -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"): ?>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment