summaryrefslogtreecommitdiffstats
path: root/web/template/account_edit_form.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-05-31 19:33:13 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-05-31 19:33:13 +0200
commitecfa27e406ebc5ff0d493f040f33426c565ded49 (patch)
tree4cea10c4a401f4dbc7dbdefe68fe2c68f2d89296 /web/template/account_edit_form.php
parent8885796e801e935d9123ff4163287e08f2d115ce (diff)
downloadaurweb-ecfa27e406ebc5ff0d493f040f33426c565ded49.tar.xz
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>
Diffstat (limited to 'web/template/account_edit_form.php')
-rw-r--r--web/template/account_edit_form.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index f988714..56bdd45 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -60,10 +60,12 @@
</p>
<?php endif; ?>
+ <?php if ($A == "UpdateAccount"): ?>
<p>
<label for="id_inactive"><?= __("Inactive") ?>:</label>
<input type="checkbox" name="J" id="id_inactive" <?= $J ? 'checked="checked"' : '' ?> />
</p>
+ <?php endif; ?>
<p>
<label for="id_email"><?= __("Email Address") ?>:</label>