diff options
author | Thomas Lange <code@nerdmind.de> | 2017-04-12 12:12:03 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-04-12 12:12:03 +0200 |
commit | 5fbe836c8ba84e69667c49cd8469ec097f838567 (patch) | |
tree | 4cdddcbe4723a51872e08231f438ea0a4efd8d0b /template/admin/html | |
parent | 7930ae84f8d3e6e8893ebdf1b0177203ee8c8b6d (diff) | |
download | blog-5fbe836c8ba84e69667c49cd8469ec097f838567.tar.gz blog-5fbe836c8ba84e69667c49cd8469ec097f838567.tar.xz blog-5fbe836c8ba84e69667c49cd8469ec097f838567.zip |
Inconsistency in array keys for the admin language fixed (they are usually lowercase but only the keys for the labels were uppercase).
Diffstat (limited to 'template/admin/html')
-rw-r--r-- | template/admin/html/auth.php | 4 | ||||
-rw-r--r-- | template/admin/html/page/form.php | 10 | ||||
-rw-r--r-- | template/admin/html/post/form.php | 10 | ||||
-rw-r--r-- | template/admin/html/user/form.php | 14 |
4 files changed, 19 insertions, 19 deletions
diff --git a/template/admin/html/auth.php b/template/admin/html/auth.php index bb12053..f2b4cca 100644 --- a/template/admin/html/auth.php +++ b/template/admin/html/auth.php @@ -13,14 +13,14 @@ <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-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> </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-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> </section> </section> diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php index 9b8a39e..665ed74 100644 --- a/template/admin/html/page/form.php +++ b/template/admin/html/page/form.php @@ -16,7 +16,7 @@ </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="L_USER"><?=$Language->template('label_user')?></label></div> <div class="form-field-flex"> <select id="L_USER" name="user"> <?php foreach($FORM['USER_LIST'] as $user): ?> @@ -29,24 +29,24 @@ <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-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> </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-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> </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-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> </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-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> </section> </section> diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php index 66db820..aaae67d 100644 --- a/template/admin/html/post/form.php +++ b/template/admin/html/post/form.php @@ -16,7 +16,7 @@ </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="L_USER"><?=$Language->template('label_user')?></label></div> <div class="form-field-flex"> <select id="L_USER" name="user"> <?php foreach($FORM['USER_LIST'] as $user): ?> @@ -29,24 +29,24 @@ <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-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> </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-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> </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-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> </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-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> </section> </section> diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index 845c55c..57f4d50 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -16,43 +16,43 @@ </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-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> </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-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> </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-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> </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-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> </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-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> </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-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> </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-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> </section> </section> |