aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html
diff options
context:
space:
mode:
Diffstat (limited to 'template/admin/html')
-rw-r--r--template/admin/html/auth.php8
-rw-r--r--template/admin/html/page/form.php26
-rw-r--r--template/admin/html/post/form.php26
-rw-r--r--template/admin/html/user/form.php34
4 files changed, 47 insertions, 47 deletions
diff --git a/template/admin/html/auth.php b/template/admin/html/auth.php
index f2b4cca..0ab2d90 100644
--- a/template/admin/html/auth.php
+++ b/template/admin/html/auth.php
@@ -13,15 +13,15 @@
<section class="flex">
<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>
<section class="flex">
<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 type="password" id="L_PASSWORD" name="password" /></div>
+ <div class="form-label-flex"><label for="form_password"><?=$Language->template('label_password')?></label></div>
+ <div class="form-field-flex"><input type="password" id="form_password" name="password" /></div>
</section>
</section>
<section class="flex flex-padding background">
diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php
index f254aeb..29f940a 100644
--- a/template/admin/html/page/form.php
+++ b/template/admin/html/page/form.php
@@ -11,14 +11,14 @@
<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-user"></i></div>
- <div class="form-label-flex"><label for="L_USER"><?=$Language->template('label_user')?></label></div>
+ <div class="form-label-flex"><label for="form_user"><?=$Language->template('label_user')?></label></div>
<div class="form-field-flex">
- <select id="L_USER" name="user">
+ <select id="form_user" name="user">
<?php foreach($FORM['USER_LIST'] as $user): ?>
<option value="<?=$user['ID']?>"<?=($FORM['DATA']['USER'] === $user['ID']) ? ' selected' : '' ?>><?=escapeHTML($user['FULLNAME'])?> [<?=$user['USERNAME']?>]</option>
<?php endforeach; ?>
@@ -29,32 +29,32 @@
<section class="flex flex-responsive">
<section>
<div class="form-icon-flex"><i class="fa fa-file-text-o"></i></div>
- <div class="form-label-flex"><label for="L_NAME"><?=$Language->template('label_name')?></label></div>
- <div class="form-field-flex"><input id="L_NAME" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" /></div>
+ <div class="form-label-flex"><label for="form_name"><?=$Language->template('label_name')?></label></div>
+ <div class="form-field-flex"><input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" /></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">
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php
index 8c894d0..549233d 100644
--- a/template/admin/html/post/form.php
+++ b/template/admin/html/post/form.php
@@ -11,14 +11,14 @@
<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-user"></i></div>
- <div class="form-label-flex"><label for="L_USER"><?=$Language->template('label_user')?></label></div>
+ <div class="form-label-flex"><label for="form_user"><?=$Language->template('label_user')?></label></div>
<div class="form-field-flex">
- <select id="L_USER" name="user">
+ <select id="form_user" name="user">
<?php foreach($FORM['USER_LIST'] as $user): ?>
<option value="<?=$user['ID']?>"<?=($FORM['DATA']['USER'] === $user['ID']) ? ' selected' : '' ?>><?=escapeHTML($user['FULLNAME'])?> [<?=$user['USERNAME']?>]</option>
<?php endforeach; ?>
@@ -29,32 +29,32 @@
<section class="flex flex-responsive">
<section>
<div class="form-icon-flex"><i class="fa fa-newspaper-o"></i></div>
- <div class="form-label-flex"><label for="L_NAME"><?=$Language->template('label_name')?></label></div>
- <div class="form-field-flex"><input id="L_NAME" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" /></div>
+ <div class="form-label-flex"><label for="form_name"><?=$Language->template('label_name')?></label></div>
+ <div class="form-field-flex"><input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" /></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">
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">