diff options
Diffstat (limited to 'template/admin/html/user/form.php')
-rw-r--r-- | template/admin/html/user/form.php | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index 73b5551..a3b57c4 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -11,56 +11,56 @@ <section class="flex flex-responsive"> <section> <div class="form-icon-flex"><i class="fa fa-database"></i></div> - <div class="form-label-flex"><label for="L_ID">ID</label></div> - <div class="form-field-flex"><input<?=($FORM['TYPE'] === 'UPDATE') ? ' disabled="disabled"' : '';?> id="L_ID" name="id" placeholder="[AUTO_INCREMENT]" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /></div> + <div class="form-label-flex"><label for="form_id">ID</label></div> + <div class="form-field-flex"><input<?=($FORM['TYPE'] === 'UPDATE') ? ' disabled="disabled"' : '';?> id="form_id" name="id" placeholder="[AUTO_INCREMENT]" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /></div> </section> <section> <div class="form-icon-flex"><i class="fa fa-key"></i></div> - <div class="form-label-flex"><label for="L_PASSWORD"><?=$Language->template('label_password')?></label></div> - <div class="form-field-flex"><input id="L_PASSWORD" name="password" placeholder="[NO CHANGE]" value="<?=escapeHTML($FORM['DATA']['PASSWORD'])?>" type="password" /></div> + <div class="form-label-flex"><label for="form_password"><?=$Language->template('label_password')?></label></div> + <div class="form-field-flex"><input id="form_password" name="password" placeholder="[NO CHANGE]" value="<?=escapeHTML($FORM['DATA']['PASSWORD'])?>" type="password" /></div> </section> </section> <section class="flex flex-responsive"> <section> <div class="form-icon-flex"><i class="fa fa-user"></i></div> - <div class="form-label-flex"><label for="L_FULLNAME"><?=$Language->template('label_fullname')?></label></div> - <div class="form-field-flex"><input id="L_FULLNAME" name="fullname" value="<?=escapeHTML($FORM['DATA']['FULLNAME'])?>" /></div> + <div class="form-label-flex"><label for="form_fullname"><?=$Language->template('label_fullname')?></label></div> + <div class="form-field-flex"><input id="form_fullname" name="fullname" value="<?=escapeHTML($FORM['DATA']['FULLNAME'])?>" /></div> </section> <section> <div class="form-icon-flex"><i class="fa fa-envelope-o"></i></div> - <div class="form-label-flex"><label for="L_MAILADDR"><?=$Language->template('label_mailaddr')?></label></div> - <div class="form-field-flex"><input id="L_MAILADDR" name="mailaddr" value="<?=escapeHTML($FORM['DATA']['MAILADDR'])?>" /></div> + <div class="form-label-flex"><label for="form_mailaddr"><?=$Language->template('label_mailaddr')?></label></div> + <div class="form-field-flex"><input id="form_mailaddr" name="mailaddr" value="<?=escapeHTML($FORM['DATA']['MAILADDR'])?>" /></div> </section> </section> <section class="flex flex-responsive"> <section> <div class="form-icon-flex"><i class="fa fa-user-secret"></i></div> - <div class="form-label-flex"><label for="L_USERNAME"><?=$Language->template('label_username')?></label></div> - <div class="form-field-flex"><input id="L_USERNAME" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" /></div> + <div class="form-label-flex"><label for="form_username"><?=$Language->template('label_username')?></label></div> + <div class="form-field-flex"><input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" /></div> </section> <section> <div class="form-icon-flex"><i class="fa fa-link"></i></div> - <div class="form-label-flex"><label for="L_SLUG"><?=$Language->template('label_slug')?></label></div> - <div class="form-field-flex"><input id="L_SLUG" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" /></div> + <div class="form-label-flex"><label for="form_slug"><?=$Language->template('label_slug')?></label></div> + <div class="form-field-flex"><input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" /></div> </section> </section> <section class="flex flex-responsive"> <section> <div class="form-icon-flex"><i class="fa fa-clock-o"></i></div> - <div class="form-label-flex"><label for="L_TIME_INSERT"><?=$Language->template('label_insert')?></label></div> - <div class="form-field-flex"><input id="L_TIME_INSERT" name="time_insert" placeholder="[YYYY-MM-DD HH:II:SS]" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" /></div> + <div class="form-label-flex"><label for="form_time_insert"><?=$Language->template('label_insert')?></label></div> + <div class="form-field-flex"><input id="form_time_insert" name="time_insert" placeholder="[YYYY-MM-DD HH:II:SS]" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" /></div> </section> <section> <div class="form-icon-flex"><i class="fa fa-clock-o"></i></div> - <div class="form-label-flex"><label for="L_TIME_UPDATE"><?=$Language->template('label_update')?></label></div> - <div class="form-field-flex"><input id="L_TIME_UPDATE" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ? $FORM['DATA']['TIME_UPDATE'] : '[CURRENT_TIMESTAMP]')?>" value="" /></div> + <div class="form-label-flex"><label for="form_time_update"><?=$Language->template('label_update')?></label></div> + <div class="form-field-flex"><input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ? $FORM['DATA']['TIME_UPDATE'] : '[CURRENT_TIMESTAMP]')?>" value="" /></div> </section> </section> <section class="flex flex-padding"> <textarea id="content-editor" name="body" placeholder="[…]"><?=escapeHTML($FORM['DATA']['BODY'])?></textarea> </section> <section class="flex flex-padding background flex-arguments"> - <input id="L_ARGV" name="argv" maxlength="100" placeholder="[ARGUMENT_FOO=one|ARGUMENT_BAR=two …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>" /> + <input id="form_argv" name="argv" maxlength="100" placeholder="[ARGUMENT_FOO=one|ARGUMENT_BAR=two …]" value="<?=escapeHTML($FORM['DATA']['ARGV'])?>" /> </section> <section class="flex flex-padding background flex-emoticons"> <ul id="emoticon-list" class="button-list emoticons"> |