aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/user
diff options
context:
space:
mode:
Diffstat (limited to 'theme/admin/html/user')
-rw-r--r--theme/admin/html/user/form.php27
1 files changed, 10 insertions, 17 deletions
diff --git a/theme/admin/html/user/form.php b/theme/admin/html/user/form.php
index 7e370e5..54e21a1 100644
--- a/theme/admin/html/user/form.php
+++ b/theme/admin/html/user/form.php
@@ -13,25 +13,25 @@
<?php if($FORM['TYPE'] !== 'DELETE'): ?>
<div class="form-grid">
- <label for="form_id">
- <i class="fa fa-database"></i>ID</label>
+ <label for="form_fullname">
+ <i class="fa fa-user"></i><?=$Language->text('label_fullname')?></label>
- <div class="form-grid-item">
- <input<?=($FORM['TYPE'] === 'UPDATE') ? ' disabled="disabled"' : '';?> id="form_id" name="id" type="number" placeholder="AUTO_INCREMENT" value="<?=escapeHTML($FORM['DATA']['ID'])?>" />
+ <div class="form-grid-item first">
+ <input id="form_fullname" name="fullname" value="<?=escapeHTML($FORM['DATA']['FULLNAME'])?>" />
</div>
- <label for="form_password">
- <i class="fa fa-key"></i><?=$Language->text('label_password')?></label>
+ <label for="form_username">
+ <i class="fa fa-user-secret"></i><?=$Language->text('label_username')?></label>
<div class="form-grid-item">
- <input id="form_password" name="password" placeholder="NO CHANGE" type="password" />
+ <input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" />
</div>
- <label for="form_fullname">
- <i class="fa fa-user"></i><?=$Language->text('label_fullname')?></label>
+ <label for="form_password">
+ <i class="fa fa-key"></i><?=$Language->text('label_password')?></label>
<div class="form-grid-item">
- <input id="form_fullname" name="fullname" value="<?=escapeHTML($FORM['DATA']['FULLNAME'])?>" />
+ <input id="form_password" name="password" placeholder="NO CHANGE" type="password" />
</div>
<label for="form_mailaddr">
@@ -41,13 +41,6 @@
<input id="form_mailaddr" name="mailaddr" value="<?=escapeHTML($FORM['DATA']['MAILADDR'])?>" />
</div>
- <label for="form_username">
- <i class="fa fa-user-secret"></i><?=$Language->text('label_username')?></label>
-
- <div class="form-grid-item">
- <input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" />
- </div>
-
<label for="form_slug">
<i class="fa fa-link"></i><?=$Language->text('label_slug')?></label>