From 06ec82deffa4bda1b4fb8f0d911a9cc3ebd78f9e Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 2 Jul 2016 14:15:02 +0200 Subject: [PATCH] Language display optimized see previous commit --- Theme/Backend/gl-list.tpl.php | 8 ++++---- Theme/backend/gl-create.tpl.php | 10 +++++----- Theme/backend/stack-list.tpl.php | 12 ++++++------ Theme/backend/stack-predefined-list.tpl.php | 14 +++++++------- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Theme/Backend/gl-list.tpl.php b/Theme/Backend/gl-list.tpl.php index 19dbd08..a079361 100644 --- a/Theme/Backend/gl-list.tpl.php +++ b/Theme/Backend/gl-list.tpl.php @@ -28,11 +28,11 @@ echo $this->getData('nav')->render(); ?>
- + - @@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
l11n->lang['Accounting']['GL']; ?>l11n->getText('Accounting', 'GL'); ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Accounting']['Name']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Accounting', 'Name'); ?>
render(); ?>
-
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>
diff --git a/Theme/backend/gl-create.tpl.php b/Theme/backend/gl-create.tpl.php index 4132238..ec4c14b 100644 --- a/Theme/backend/gl-create.tpl.php +++ b/Theme/backend/gl-create.tpl.php @@ -16,17 +16,17 @@ echo $this->getData('nav')->render(); ?>
-

l11n->lang['Accounting']['GL']; ?>

+

l11n->getText('Accounting', 'GL'); ?>

-
+
-
+
-
+
-
+
diff --git a/Theme/backend/stack-list.tpl.php b/Theme/backend/stack-list.tpl.php index 77668b6..10ebe94 100644 --- a/Theme/backend/stack-list.tpl.php +++ b/Theme/backend/stack-list.tpl.php @@ -28,13 +28,13 @@ echo $this->getData('nav')->render(); ?>
- + - @@ -48,7 +48,7 @@ echo $this->getData('nav')->render(); ?>
l11n->lang['Accounting']['BatchPostings']; ?>l11n->getText('Accounting', 'BatchPostings'); ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Accounting']['Name']; ?> - l11n->lang['Accounting']['Creator']; ?> - l11n->lang['Accounting']['Created']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Accounting', 'Name'); ?> + l11n->getText('Accounting', 'Creator'); ?> + l11n->getText('Accounting', 'Created'); ?>
render(); ?>
-
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>
diff --git a/Theme/backend/stack-predefined-list.tpl.php b/Theme/backend/stack-predefined-list.tpl.php index b6d3ab9..19634fd 100644 --- a/Theme/backend/stack-predefined-list.tpl.php +++ b/Theme/backend/stack-predefined-list.tpl.php @@ -28,14 +28,14 @@ echo $this->getData('nav')->render(); ?>
- + - @@ -49,7 +49,7 @@ echo $this->getData('nav')->render(); ?>
l11n->lang['Accounting']['BatchPostings']; ?>l11n->getText('Accounting', 'BatchPostings'); ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Accounting']['Due']; ?> - l11n->lang['Accounting']['Name']; ?> - l11n->lang['Accounting']['Creator']; ?> - l11n->lang['Accounting']['Created']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Accounting', 'Due'); ?> + l11n->getText('Accounting', 'Name'); ?> + l11n->getText('Accounting', 'Creator'); ?> + l11n->getText('Accounting', 'Created'); ?>
render(); ?>
-
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>