diff --git a/Theme/Backend/accounts-list.tpl.php b/Theme/Backend/accounts-list.tpl.php index 5fa0005..7a46bfc 100644 --- a/Theme/Backend/accounts-list.tpl.php +++ b/Theme/Backend/accounts-list.tpl.php @@ -30,14 +30,14 @@ echo $this->getData('nav')->render();
- + - @@ -51,7 +51,7 @@ echo $this->getData('nav')->render();
l11n->lang['Admin']['Groups']; ?>l11n->getText('Admin', 'Groups'); ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Admin']['Status']; ?> - l11n->lang['Admin']['Name']; ?> - l11n->lang['Admin']['Activity']; ?> - l11n->lang['Admin']['Created']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Admin', 'Status'); ?> + l11n->getText('Admin', 'Name'); ?> + l11n->getText('Admin', 'Activity'); ?> + l11n->getText('Admin', 'Created'); ?>
render(); ?>
getCreatedAt()->format('Y-m-d H:i:s'); ?> -
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>
diff --git a/Theme/Backend/accounts-single.tpl.php b/Theme/Backend/accounts-single.tpl.php index 864286a..7b7bb1f 100644 --- a/Theme/Backend/accounts-single.tpl.php +++ b/Theme/Backend/accounts-single.tpl.php @@ -21,66 +21,66 @@ $account = $this->getData('account'); echo $this->getData('nav')->render(); ?>
-

l11n->lang['Admin']['Account'] ?>

+

l11n->getText('Admin', 'Account') ?>

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

l11n->lang['Admin']['Groups'] ?>

+

l11n->getText('Admin', 'Groups') ?>

-
+
-
+
-

l11n->lang['Admin']['Permissions'] ?>

+

l11n->getText('Admin', 'Permissions') ?>

-
+
-
+
diff --git a/Theme/Backend/groups-create.tpl.php b/Theme/Backend/groups-create.tpl.php index 43504d0..9da8b07 100644 --- a/Theme/Backend/groups-create.tpl.php +++ b/Theme/Backend/groups-create.tpl.php @@ -20,44 +20,44 @@ echo $this->getData('nav')->render(); ?>
-

l11n->lang['Admin']['Group'] ?>

+

l11n->getText('Admin', 'Group') ?>

-
+
-
+
-
+
-

l11n->lang['Admin']['Parent'] ?>

+

l11n->getText('Admin', 'Parent') ?>

-
+
-
+
-

l11n->lang['Admin']['Permissions'] ?>

+

l11n->getText('Admin', 'Permissions') ?>

-
+
-
+
diff --git a/Theme/Backend/groups-single.tpl.php b/Theme/Backend/groups-single.tpl.php index 908177b..2b82832 100644 --- a/Theme/Backend/groups-single.tpl.php +++ b/Theme/Backend/groups-single.tpl.php @@ -22,60 +22,60 @@ $group = $this->getData('group'); echo $this->getData('nav')->render(); ?>
-

l11n->lang['Admin']['Group'] ?>

+

l11n->getText('Admin', 'Group') ?>

-
+
-
+
-
+
-
+
-

l11n->lang['Admin']['Parent'] ?>

+

l11n->getText('Admin', 'Parent') ?>

-
+
-
+
-

l11n->lang['Admin']['Permissions'] ?>

+

l11n->getText('Admin', 'Permissions') ?>

-
+
-
+
-

l11n->lang['Admin']['Accounts'] ?>

+

l11n->getText('Admin', 'Accounts') ?>

-
+
-
+
diff --git a/Theme/Backend/modules-list.tpl.php b/Theme/Backend/modules-list.tpl.php index c98d873..948b9cd 100644 --- a/Theme/Backend/modules-list.tpl.php +++ b/Theme/Backend/modules-list.tpl.php @@ -31,13 +31,13 @@ $footerView->setResults(count($modules));
- + -
l11n->lang['Admin']['Modules']; ?>l11n->getText('Admin', 'Modules'); ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Admin']['Name']; ?> - l11n->lang['Admin']['Version']; ?> - l11n->lang['Admin']['Status']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Admin', 'Name'); ?> + l11n->getText('Admin', 'Version'); ?> + l11n->getText('Admin', 'Status'); ?>
render(); ?> @@ -49,14 +49,14 @@ $footerView->setResults(count($modules)); l11n->lang['Admin']['Active']); + echo strtolower($this->l11n->getText('Admin', 'Active')); elseif (in_array($module['name']['internal'], $installed)) - echo strtolower($this->l11n->lang['Admin']['Inactive']); + echo strtolower($this->l11n->getText('Admin', 'Inactive')); else - echo strtolower($this->l11n->lang['Admin']['Available']); ?> + echo strtolower($this->l11n->getText('Admin', 'Available')); ?> -
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>
diff --git a/Theme/Backend/modules-single.tpl.php b/Theme/Backend/modules-single.tpl.php index f0d370b..d18e724 100644 --- a/Theme/Backend/modules-single.tpl.php +++ b/Theme/Backend/modules-single.tpl.php @@ -31,38 +31,38 @@ $id = $this->request->getData('id') ?? 1; - - - - -
l11n->lang['Admin']['Name'] ?> + l11n->getText('Admin', 'Name') ?>
l11n->lang['Admin']['Version'] ?> + l11n->getText('Admin', 'Version') ?>
l11n->lang['Admin']['CreatedBy'] ?> + l11n->getText('Admin', 'CreatedBy') ?>
l11n->lang['Admin']['Website'] ?> + l11n->getText('Admin', 'Website') ?>
l11n->lang['Admin']['Description'] ?> + l11n->getText('Admin', 'Description') ?>
+ data-reload="">l11n->getText('Admin', 'Deactivate') ?> - - + + - - + +
-

l11n->lang['Admin']['Settings'] ?>

+

l11n->getText('Admin', 'Settings') ?>

@@ -70,7 +70,7 @@ $id = $this->request->getData('id') ?? 1;
-

l11n->lang['Admin']['Groups'] ?>

+

l11n->getText('Admin', 'Groups') ?>

@@ -78,7 +78,7 @@ $id = $this->request->getData('id') ?? 1;
-

l11n->lang['Admin']['Permissions'] ?>

+

l11n->getText('Admin', 'Permissions') ?>

diff --git a/Theme/Backend/settings-general.tpl.php b/Theme/Backend/settings-general.tpl.php index c9ed41d..888ada2 100644 --- a/Theme/Backend/settings-general.tpl.php +++ b/Theme/Backend/settings-general.tpl.php @@ -35,63 +35,63 @@ $currencies = \phpOMS\Localization\ISO4217EnumArray::getConstants(); ?>
-

l11n->lang['Admin']['Settings'] ?>

+

l11n->getText('Admin', 'Settings') ?>

-
+
-
+
-
+
-

l11n->lang['Admin']['Localization'] ?>

+

l11n->getText('Admin', 'Localization') ?>

-
+
-
+
-
+
-
+
-
+
-

l11n->lang['Admin']['Numberformat'] ?>

-
- +

l11n->getText('Admin', 'Numberformat') ?>

+
+
-
+
diff --git a/Theme/backend/accounts-create.tpl.php b/Theme/backend/accounts-create.tpl.php index 8b38f6b..c806419 100644 --- a/Theme/backend/accounts-create.tpl.php +++ b/Theme/backend/accounts-create.tpl.php @@ -16,64 +16,64 @@ echo $this->getData('nav')->render(); ?>
-

l11n->lang['Admin']['Account'] ?>

+

l11n->getText('Admin', 'Account') ?>

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

l11n->lang['Admin']['Groups'] ?>

+

l11n->getText('Admin', 'Groups') ?>

-
+
-
+
-

l11n->lang['Admin']['Permissions'] ?>

+

l11n->getText('Admin', 'Permissions') ?>

-
+
-
+
diff --git a/Theme/backend/accounts-list.tpl.php b/Theme/backend/accounts-list.tpl.php index 5fa0005..7a46bfc 100644 --- a/Theme/backend/accounts-list.tpl.php +++ b/Theme/backend/accounts-list.tpl.php @@ -30,14 +30,14 @@ echo $this->getData('nav')->render();
- + - @@ -51,7 +51,7 @@ echo $this->getData('nav')->render();
l11n->lang['Admin']['Groups']; ?>l11n->getText('Admin', 'Groups'); ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Admin']['Status']; ?> - l11n->lang['Admin']['Name']; ?> - l11n->lang['Admin']['Activity']; ?> - l11n->lang['Admin']['Created']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Admin', 'Status'); ?> + l11n->getText('Admin', 'Name'); ?> + l11n->getText('Admin', 'Activity'); ?> + l11n->getText('Admin', 'Created'); ?>
render(); ?>
getCreatedAt()->format('Y-m-d H:i:s'); ?> -
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>
diff --git a/Theme/backend/accounts-single.tpl.php b/Theme/backend/accounts-single.tpl.php index 864286a..7b7bb1f 100644 --- a/Theme/backend/accounts-single.tpl.php +++ b/Theme/backend/accounts-single.tpl.php @@ -21,66 +21,66 @@ $account = $this->getData('account'); echo $this->getData('nav')->render(); ?>
-

l11n->lang['Admin']['Account'] ?>

+

l11n->getText('Admin', 'Account') ?>

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

l11n->lang['Admin']['Groups'] ?>

+

l11n->getText('Admin', 'Groups') ?>

-
+
-
+
-

l11n->lang['Admin']['Permissions'] ?>

+

l11n->getText('Admin', 'Permissions') ?>

-
+
-
+
diff --git a/Theme/backend/groups-create.tpl.php b/Theme/backend/groups-create.tpl.php index 43504d0..9da8b07 100644 --- a/Theme/backend/groups-create.tpl.php +++ b/Theme/backend/groups-create.tpl.php @@ -20,44 +20,44 @@ echo $this->getData('nav')->render(); ?>
-

l11n->lang['Admin']['Group'] ?>

+

l11n->getText('Admin', 'Group') ?>

-
+
-
+
-
+
-

l11n->lang['Admin']['Parent'] ?>

+

l11n->getText('Admin', 'Parent') ?>

-
+
-
+
-

l11n->lang['Admin']['Permissions'] ?>

+

l11n->getText('Admin', 'Permissions') ?>

-
+
-
+
diff --git a/Theme/backend/groups-list.tpl.php b/Theme/backend/groups-list.tpl.php index c55786a..787512d 100644 --- a/Theme/backend/groups-list.tpl.php +++ b/Theme/backend/groups-list.tpl.php @@ -28,14 +28,14 @@ echo $this->getData('nav')->render(); ?>
- + - @@ -49,7 +49,7 @@ echo $this->getData('nav')->render(); ?>
l11n->lang['Admin']['Groups']; ?>l11n->getText('Admin', 'Groups'); ?>
l11n->lang[0]['ID']; ?> - l11n->lang['Admin']['Name']; ?> - l11n->lang['Admin']['Parents']; ?> - l11n->lang['Admin']['Children']; ?> - l11n->lang['Admin']['Members']; ?> + l11n->getText(0, 'ID'); ?> + l11n->getText('Admin', 'Name'); ?> + l11n->getText('Admin', 'Parents'); ?> + l11n->getText('Admin', 'Children'); ?> + l11n->getText('Admin', 'Members'); ?>
render(); ?>
-
l11n->lang[0]['Empty']; ?> +
l11n->getText(0, 'Empty'); ?>
diff --git a/Theme/backend/settings-general.tpl.php b/Theme/backend/settings-general.tpl.php index c9ed41d..888ada2 100644 --- a/Theme/backend/settings-general.tpl.php +++ b/Theme/backend/settings-general.tpl.php @@ -35,63 +35,63 @@ $currencies = \phpOMS\Localization\ISO4217EnumArray::getConstants(); ?>
-

l11n->lang['Admin']['Settings'] ?>

+

l11n->getText('Admin', 'Settings') ?>

-
+
-
+
-
+
-

l11n->lang['Admin']['Localization'] ?>

+

l11n->getText('Admin', 'Localization') ?>

-
+
-
+
-
+
-
+
-
+
-

l11n->lang['Admin']['Numberformat'] ?>

-
- +

l11n->getText('Admin', 'Numberformat') ?>

+
+
-
+