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/home.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'template/admin/html/home.php') diff --git a/template/admin/html/home.php b/template/admin/html/home.php index 6701f35..6ade82d 100644 --- a/template/admin/html/home.php +++ b/template/admin/html/home.php @@ -1,17 +1,17 @@ -

template('overview_dashboard_text')?>

-

template('overview_dashboard_desc')?>

+

text('overview_dashboard_text')?>

+

text('overview_dashboard_desc')?>

-

template('last_post')?>

+

text('last_post')?>

text('posts')?>: | text('post_overview')?> | text('insert')?>

-

template('home_no_posts')?>

+

text('home_no_posts')?>

-

template('last_page')?>

+

text('last_page')?>

text('pages')?>: | text('page_overview')?> | text('insert')?>

@@ -19,10 +19,10 @@ -

template('home_no_pages')?>

+

text('home_no_pages')?>

-

template('last_user')?>

+

text('last_user')?>

text('users')?>: | text('user_overview')?> | text('insert')?>

@@ -30,5 +30,5 @@ -

template('home_no_users')?>

+

text('home_no_users')?>

-- cgit v1.2.3