aboutsummaryrefslogtreecommitdiffstats
path: root/template/admin/html/post
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-29 03:27:36 +0200
committerThomas Lange <code@nerdmind.de>2017-04-29 03:27:36 +0200
commit41f8a3e28ecbc36f52eddd72e77effc3339279a1 (patch)
treec5606b9761a58daf7b9aac5d98dfa9349a281a3c /template/admin/html/post
parent9626fb5c6a4d7451e88aa7bd7fa91306d3f3f1ea (diff)
downloadblog-41f8a3e28ecbc36f52eddd72e77effc3339279a1.tar.gz
blog-41f8a3e28ecbc36f52eddd72e77effc3339279a1.tar.xz
blog-41f8a3e28ecbc36f52eddd72e77effc3339279a1.zip
The values ​​for the "for" and "id" properties have been converted to lowercase (to be consistent with the rest of the HTML elements).
Diffstat (limited to 'template/admin/html/post')
-rw-r--r--template/admin/html/post/form.php26
1 files changed, 13 insertions, 13 deletions
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">