diff options
author | Thomas Lange <code@nerdmind.de> | 2018-05-18 23:31:16 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2018-05-18 23:31:16 +0200 |
commit | 68824169c21a1c2b4493b8d6cd4fa087eb161474 (patch) | |
tree | 5f1bd7dd5cc210db10cd2f601d21e986dd6037db | |
parent | 0ca5f4750730fd71c4fd230f0024c55590dac0cf (diff) | |
download | blog-68824169c21a1c2b4493b8d6cd4fa087eb161474.tar.gz blog-68824169c21a1c2b4493b8d6cd4fa087eb161474.tar.xz blog-68824169c21a1c2b4493b8d6cd4fa087eb161474.zip |
Remove square brackets from form placeholders
-rw-r--r-- | template/admin/html/page/form.php | 6 | ||||
-rw-r--r-- | template/admin/html/post/form.php | 6 | ||||
-rw-r--r-- | template/admin/html/user/form.php | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php index 5074a67..685da48 100644 --- a/template/admin/html/page/form.php +++ b/template/admin/html/page/form.php @@ -16,7 +16,7 @@ <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> + <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> </div> <div class="flex-item"> <div class="form-icon-flex"><i class="fa fa-user"></i></div> @@ -46,12 +46,12 @@ <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->text('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> + <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> </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->text('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> + <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> </div> </div> <div class="flex flex-direction-column"> diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php index 50db740..f047c9d 100644 --- a/template/admin/html/post/form.php +++ b/template/admin/html/post/form.php @@ -16,7 +16,7 @@ <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> + <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> </div> <div class="flex-item"> <div class="form-icon-flex"><i class="fa fa-user"></i></div> @@ -46,12 +46,12 @@ <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->text('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> + <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> </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->text('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> + <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> </div> </div> <div class="flex flex-direction-column"> diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index 50f79be..14f751f 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -16,12 +16,12 @@ <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> + <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> </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->text('label_password')?></label></div> - <div class="form-field-flex"><input id="form_password" name="password" placeholder="[NO CHANGE]" type="password" /></div> + <div class="form-field-flex"><input id="form_password" name="password" placeholder="NO CHANGE" type="password" /></div> </div> </div> <div class="flex flex-responsive"> @@ -52,12 +52,12 @@ <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->text('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> + <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> </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->text('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> + <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> </div> </div> <div class="flex flex-direction-column"> |