diff options
Diffstat (limited to 'template')
-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"> |