summaryrefslogtreecommitdiffstats
path: root/template/admin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-05-01 19:20:34 +0200
committerThomas Lange <code@nerdmind.de>2017-05-01 19:20:34 +0200
commit829e589e852bc49dc44310becc19e54477f66107 (patch)
treea358365213845e3bbb6320d678208ac3ae5d2cc3 /template/admin
parentafee0c02981d3918a888d5bbe164f3a8d0e1e87e (diff)
downloadblog-829e589e852bc49dc44310becc19e54477f66107.tar.gz
blog-829e589e852bc49dc44310becc19e54477f66107.tar.xz
blog-829e589e852bc49dc44310becc19e54477f66107.zip
Semantic HTML5 attribute "type" with value "number" for numeric form fields added.
Diffstat (limited to 'template/admin')
-rw-r--r--template/admin/html/page/form.php2
-rw-r--r--template/admin/html/post/form.php2
-rw-r--r--template/admin/html/user/form.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php
index 29f940a..4ab61ae 100644
--- a/template/admin/html/page/form.php
+++ b/template/admin/html/page/form.php
@@ -12,7 +12,7 @@
<section>
<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" placeholder="[AUTO_INCREMENT]" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /></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 class="form-icon-flex"><i class="fa fa-user"></i></div>
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php
index 549233d..3ad4376 100644
--- a/template/admin/html/post/form.php
+++ b/template/admin/html/post/form.php
@@ -12,7 +12,7 @@
<section>
<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" placeholder="[AUTO_INCREMENT]" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /></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 class="form-icon-flex"><i class="fa fa-user"></i></div>
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php
index a3b57c4..be8502c 100644
--- a/template/admin/html/user/form.php
+++ b/template/admin/html/user/form.php
@@ -12,7 +12,7 @@
<section>
<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" placeholder="[AUTO_INCREMENT]" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /></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 class="form-icon-flex"><i class="fa fa-key"></i></div>