From 87de0bf674d1d808891117d296f1e78999417994 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 --- .../backend/checklist-template-create.tpl.php | 30 +++++++++---------- Theme/backend/checklist-template-list.tpl.php | 14 ++++----- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Theme/backend/checklist-template-create.tpl.php b/Theme/backend/checklist-template-create.tpl.php index d39c043..3272e6a 100644 --- a/Theme/backend/checklist-template-create.tpl.php +++ b/Theme/backend/checklist-template-create.tpl.php @@ -20,44 +20,44 @@ echo $this->getData('nav')->render(); ?>
-

l11n->lang['Checklist']['General']; ?>

+

l11n->getText('Checklist', 'General'); ?>

-
+
-
+
-
+
- -
+ +
-
+
-

l11n->lang['Checklist']['Tasks']; ?>

+

l11n->getText('Checklist', 'Tasks'); ?>

-
+
-
+
-
+
-
+
- -
+ +
-
+
diff --git a/Theme/backend/checklist-template-list.tpl.php b/Theme/backend/checklist-template-list.tpl.php index 851fe81..a65a0fa 100644 --- a/Theme/backend/checklist-template-list.tpl.php +++ b/Theme/backend/checklist-template-list.tpl.php @@ -28,14 +28,14 @@ echo $this->getData('nav')->render(); ?>
- + - @@ -49,7 +49,7 @@ echo $this->getData('nav')->render(); ?> -
l11n->lang['Checklist']['Templates']; ?>l11n->getText('Checklist', 'Templates'); ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Checklist']['Status']; ?> - l11n->lang['Checklist']['Name']; ?> - l11n->lang['Checklist']['Creator']; ?> - l11n->lang['Checklist']['Created']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Checklist', 'Status'); ?> + l11n->getText('Checklist', 'Name'); ?> + l11n->getText('Checklist', 'Creator'); ?> + l11n->getText('Checklist', 'Created'); ?>
render(); ?>
l11n->lang[0]['Empty']; ?> + l11n->getText(0, 'Empty'); ?>