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 | |
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')
-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 | ||||
-rw-r--r-- | template/admin/lang/de.php | 18 | ||||
-rw-r--r-- | template/admin/lang/en.php | 18 |
6 files changed, 37 insertions, 37 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> diff --git a/template/admin/lang/de.php b/template/admin/lang/de.php index 34cb2cc..6abee8c 100644 --- a/template/admin/lang/de.php +++ b/template/admin/lang/de.php @@ -106,13 +106,13 @@ $LANGUAGE['sure'] = 'Bist du sicher?'; #=============================================================================== # Labels #=============================================================================== -$LANGUAGE['LABEL_SLUG'] = 'Slug'; -$LANGUAGE['LABEL_USER'] = 'Benutzer'; -$LANGUAGE['LABEL_NAME'] = 'Titel'; -$LANGUAGE['LABEL_INSERT'] = 'Erstellt'; -$LANGUAGE['LABEL_UPDATE'] = 'Bearbeitet'; -$LANGUAGE['LABEL_FULLNAME'] = 'Name'; -$LANGUAGE['LABEL_MAILADDR'] = 'E-Mail'; -$LANGUAGE['LABEL_USERNAME'] = 'Username'; -$LANGUAGE['LABEL_PASSWORD'] = 'Passwort'; +$LANGUAGE['label_slug'] = 'Slug'; +$LANGUAGE['label_user'] = 'Benutzer'; +$LANGUAGE['label_name'] = 'Titel'; +$LANGUAGE['label_insert'] = 'Erstellt'; +$LANGUAGE['label_update'] = 'Bearbeitet'; +$LANGUAGE['label_fullname'] = 'Name'; +$LANGUAGE['label_mailaddr'] = 'E-Mail'; +$LANGUAGE['label_username'] = 'Username'; +$LANGUAGE['label_password'] = 'Passwort'; ?>
\ No newline at end of file diff --git a/template/admin/lang/en.php b/template/admin/lang/en.php index bd9a99c..fe96cc9 100644 --- a/template/admin/lang/en.php +++ b/template/admin/lang/en.php @@ -106,13 +106,13 @@ $LANGUAGE['sure'] = 'Are you sure?'; #=============================================================================== # Labels #=============================================================================== -$LANGUAGE['LABEL_SLUG'] = 'Slug'; -$LANGUAGE['LABEL_USER'] = 'User'; -$LANGUAGE['LABEL_NAME'] = 'Title'; -$LANGUAGE['LABEL_INSERT'] = 'Created'; -$LANGUAGE['LABEL_UPDATE'] = 'Updated'; -$LANGUAGE['LABEL_FULLNAME'] = 'Name'; -$LANGUAGE['LABEL_MAILADDR'] = 'Email'; -$LANGUAGE['LABEL_USERNAME'] = 'Username'; -$LANGUAGE['LABEL_PASSWORD'] = 'Password'; +$LANGUAGE['label_slug'] = 'Slug'; +$LANGUAGE['label_user'] = 'User'; +$LANGUAGE['label_name'] = 'Title'; +$LANGUAGE['label_insert'] = 'Created'; +$LANGUAGE['label_update'] = 'Updated'; +$LANGUAGE['label_fullname'] = 'Name'; +$LANGUAGE['label_mailaddr'] = 'Email'; +$LANGUAGE['label_username'] = 'Username'; +$LANGUAGE['label_password'] = 'Password'; ?>
\ No newline at end of file |