From a9684792106e4de3aa622d33a0ed7780cbd67ad0 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Fri, 11 Aug 2017 03:24:07 +0200 Subject: Several changes have been made in this commit, which together with the previous commits result in version 2.3: + Optimization: Originally, the core and template languages were completely separated in the logic of the Language class and you had to use "$Language->text()" to get a core language string and "$Language->template()" to get a template language string. Since this commit, the core and template language strings are still located in different files, but you now have to use "$Language->text()" for core and template language strings both. Thus, you can now even overwrite a core language string from the language file of a template if the core language string does not satisfy you. + Deprecated: The method "$Language->template()" was marked as deprecated and will be removed in further versions (currently, it's just an alias for "$Language->text()"). Template upgrade to version 2.3 (only for customized templates): SEARCH: $Language->template REPLACE: $Language->text --- template/admin/html/user/delete.php | 4 ++-- template/admin/html/user/form.php | 34 +++++++++++++++++----------------- template/admin/html/user/index.php | 2 +- template/admin/html/user/insert.php | 2 +- template/admin/html/user/item.php | 2 +- template/admin/html/user/update.php | 2 +- 6 files changed, 23 insertions(+), 23 deletions(-) (limited to 'template/admin/html/user') diff --git a/template/admin/html/user/delete.php b/template/admin/html/user/delete.php index dac4185..01927b2 100644 --- a/template/admin/html/user/delete.php +++ b/template/admin/html/user/delete.php @@ -1,6 +1,6 @@

text('delete_user')?>

-

template('delete_user_desc')?>

+

text('delete_user_desc')?>

-

template('delete_user_warning')?>

+

text('delete_user_warning')?>

\ No newline at end of file diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php index 2d3625c..a9d4b0a 100644 --- a/template/admin/html/user/form.php +++ b/template/admin/html/user/form.php @@ -20,58 +20,58 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
    -
  • -
  • -
  • - -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • + +
  • +
  • +
  • +
  • +
@@ -98,7 +98,7 @@ - +
\ No newline at end of file diff --git a/template/admin/html/user/index.php b/template/admin/html/user/index.php index cbeea9b..bc34402 100644 --- a/template/admin/html/user/index.php +++ b/template/admin/html/user/index.php @@ -1,5 +1,5 @@

text('user_overview')?>">text('insert')?>

-

template('overview_user_desc')?>

+

text('overview_user_desc')?>