aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html/user/form.php
diff options
context:
space:
mode:
Diffstat (limited to 'template/admin/html/user/form.php')
-rw-r--r--template/admin/html/user/form.php72
1 files changed, 36 insertions, 36 deletions
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php
index be8502c..a260ee0 100644
--- a/template/admin/html/user/form.php
+++ b/template/admin/html/user/form.php
@@ -8,68 +8,68 @@
<input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
<?php if($FORM['TYPE'] !== 'DELETE'): ?>
- <section class="flex flex-responsive">
- <section>
+ <div class="flex flex-responsive">
+ <div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-database"></i></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" type="number" placeholder="[AUTO_INCREMENT]" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /></div>
- </section>
- <section>
+ </div>
+ <div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-key"></i></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>
+ </div>
+ <div class="flex flex-responsive">
+ <div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-user"></i></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>
+ <div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-envelope-o"></i></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>
+ </div>
+ <div class="flex flex-responsive">
+ <div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-user-secret"></i></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>
+ <div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-link"></i></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>
+ </div>
+ <div class="flex flex-responsive">
+ <div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-clock-o"></i></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>
+ <div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-clock-o"></i></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">
+ </div>
+ </div>
+ <div 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">
+ </div>
+ <div class="flex flex-padding background flex-arguments">
<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">
+ </div>
+ <div class="flex flex-padding background flex-emoticons">
<ul id="emoticon-list" class="button-list emoticons">
<?php foreach(getEmoticons() as $emoticon => $data):?>
<li data-emoticon="<?=$emoticon?>" title="<?=$data[1]?>"><?=$data[0]?></li>
<?php endforeach; ?>
</ul>
- </section>
- <section class="flex flex-padding background">
+ </div>
+ <div class="flex flex-padding background">
<ul id="markdown-list" class="button-list markdown">
<li data-markdown="bold" class="fa fa-bold" title="<?=$Language->template('markdown_bold')?>"></li>
<li data-markdown="italic" class="fa fa-italic" title="<?=$Language->template('markdown_italic')?>"></li>
@@ -81,14 +81,14 @@
<li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->template('markdown_list_ul')?>"></li>
<li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->template('markdown_list_ol')?>"></li>
</ul>
- </section>
+ </div>
<?php else: ?>
- <section class="flex flex-padding background flex-direction-column">
+ <div class="flex flex-padding background flex-direction-column">
<?=$HTML?>
- </section>
+ </div>
<?php endif; ?>
- <section class="flex flex-padding background">
+ <div class="flex flex-padding background">
<?php if($FORM['TYPE'] === 'INSERT'): ?>
<input type="submit" name="insert" value="<?=$Language->text('insert')?>" />
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
@@ -96,5 +96,5 @@
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
<input type="submit" name="delete" value="<?=$Language->text('delete')?>" id="delete-button" data-text="<?=$Language->template('sure')?>" />
<?php endif; ?>
- </section>
+ </div>
</form> \ No newline at end of file