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:
Lukas Fleischer 2015-05-31 19:33:13 +02:00
parent 8885796e80
commit ecfa27e406

View file

@ -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>