From 937e5bc77a4422c79b5c4b78b29eccc22f52e0c5 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/invoice-list.tpl.php | 20 ++++++++++---------- Theme/backend/purchase-invoice-list.tpl.php | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Theme/backend/invoice-list.tpl.php b/Theme/backend/invoice-list.tpl.php index c3385f5..427a48a 100644 --- a/Theme/backend/invoice-list.tpl.php +++ b/Theme/backend/invoice-list.tpl.php @@ -23,17 +23,17 @@ echo $this->getData('nav')->render(); ?>
- + -
l11n->lang['Billing']['Invoices'] ?>l11n->getText('Billing', 'Invoices') ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Billing']['Type']; ?> - l11n->lang['Billing']['ClientID']; ?> - l11n->lang['Billing']['Client']; ?> - l11n->lang['Billing']['Net']; ?> - l11n->lang['Billing']['Gross']; ?> - l11n->lang['Billing']['Created']; ?> - l11n->lang['Billing']['Due']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Billing', 'Type'); ?> + l11n->getText('Billing', 'ClientID'); ?> + l11n->getText('Billing', 'Client'); ?> + l11n->getText('Billing', 'Net'); ?> + l11n->getText('Billing', 'Gross'); ?> + l11n->getText('Billing', 'Created'); ?> + l11n->getText('Billing', 'Due'); ?>
render(); ?> @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; ?> -
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>
diff --git a/Theme/backend/purchase-invoice-list.tpl.php b/Theme/backend/purchase-invoice-list.tpl.php index 9921d66..7dcbed4 100644 --- a/Theme/backend/purchase-invoice-list.tpl.php +++ b/Theme/backend/purchase-invoice-list.tpl.php @@ -23,17 +23,17 @@ echo $this->getData('nav')->render(); ?>
- + -
l11n->lang['Billing']['Invoices'] ?>l11n->getText('Billing', 'Invoices') ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Billing']['Type']; ?> - l11n->lang['Billing']['SupplierID']; ?> - l11n->lang['Billing']['Supplier']; ?> - l11n->lang['Billing']['Net']; ?> - l11n->lang['Billing']['Gross']; ?> - l11n->lang['Billing']['Created']; ?> - l11n->lang['Billing']['Due']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Billing', 'Type'); ?> + l11n->getText('Billing', 'SupplierID'); ?> + l11n->getText('Billing', 'Supplier'); ?> + l11n->getText('Billing', 'Net'); ?> + l11n->getText('Billing', 'Gross'); ?> + l11n->getText('Billing', 'Created'); ?> + l11n->getText('Billing', 'Due'); ?>
render(); ?> @@ -41,7 +41,7 @@ echo $this->getData('nav')->render(); ?> $value) : $count++; ?> -
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>