mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Do not show the activity check box when registering
Creating an inactive account does not make sense. Hide the activity check box from the registration page. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
8885796e80
commit
ecfa27e406
1 changed files with 2 additions and 0 deletions
|
@ -60,10 +60,12 @@
|
||||||
</p>
|
</p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<?php if ($A == "UpdateAccount"): ?>
|
||||||
<p>
|
<p>
|
||||||
<label for="id_inactive"><?= __("Inactive") ?>:</label>
|
<label for="id_inactive"><?= __("Inactive") ?>:</label>
|
||||||
<input type="checkbox" name="J" id="id_inactive" <?= $J ? 'checked="checked"' : '' ?> />
|
<input type="checkbox" name="J" id="id_inactive" <?= $J ? 'checked="checked"' : '' ?> />
|
||||||
</p>
|
</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<label for="id_email"><?= __("Email Address") ?>:</label>
|
<label for="id_email"><?= __("Email Address") ?>:</label>
|
||||||
|
|
Loading…
Add table
Reference in a new issue