diff --git a/application/modules/admin/translations/de.php b/application/modules/admin/translations/de.php
index 3295ad111..0a717fe99 100644
--- a/application/modules/admin/translations/de.php
+++ b/application/modules/admin/translations/de.php
@@ -97,7 +97,7 @@
'off' => 'Aus',
'yes' => 'Ja',
'no' => 'Nein',
- 'httpOrMedia' => 'http:// oder Medien',
+ 'httpOrMedia' => 'https:// oder Medien',
'favicon' => 'Favicon',
'appleIcon' => 'Apple Touch Icon',
'backendFunctions' => 'Backend - Funktionen',
@@ -181,6 +181,9 @@
'addButtonBox' => 'Box anlegen',
'updateButtonBox' => 'Box aktualisieren',
'noBoxes' => 'Keine Boxen vorhanden',
+ 'multilingualContent' => 'Mehrsprachiger Inhalt',
+ 'addContentLanguage' => 'Sprache hinzufügen',
+ 'editContentLanguage' => 'Sprache bearbeiten',
'notVisible' => 'Nicht sichtbar für',
'selectAssignedGroups' => 'Ausgewählte Gruppen',
'askIfDeleteBox' => 'Sind Sie sicher, dass die Box "%s" entfernt werden soll?',
diff --git a/application/modules/admin/translations/en.php b/application/modules/admin/translations/en.php
index fbce3dbb1..aee93233d 100644
--- a/application/modules/admin/translations/en.php
+++ b/application/modules/admin/translations/en.php
@@ -97,7 +97,7 @@
'off' => 'Off',
'yes' => 'Yes',
'no' => 'No',
- 'httpOrMedia' => 'http:// or Media',
+ 'httpOrMedia' => 'https:// or Media',
'favicon' => 'Favicon',
'appleIcon' => 'Apple Touch Icon',
'backendFunctions' => 'Backend - Functions',
@@ -181,6 +181,9 @@
'addButtonBox' => 'Add box',
'updateButtonBox' => 'Update box',
'noBoxes' => 'No Boxes',
+ 'multilingualContent' => 'Multilingual content',
+ 'addContentLanguage' => 'Add a language',
+ 'editContentLanguage' => 'Edit the language',
'notVisible' => 'Not visible for',
'selectAssignedGroups' => 'Selected groups',
'askIfDeleteBox' => 'Are you sure you want delete the box "%s"?',
diff --git a/application/modules/admin/views/admin/boxes/index.php b/application/modules/admin/views/admin/boxes/index.php
index 1bf84fd72..55fc13d9e 100644
--- a/application/modules/admin/views/admin/boxes/index.php
+++ b/application/modules/admin/views/admin/boxes/index.php
@@ -8,7 +8,7 @@
- get('multilingual')): ?>
+ get('multilingual')) : ?>
@@ -24,44 +24,44 @@
=$this->get('sorter')->getArrowHtml('title') ?> =$this->getTrans('boxTitle') ?>
|
- get('multilingual')): ?>
+ get('multilingual')) : ?>
- getTranslator()->getLocaleList() as $key => $value): ?>
- get('contentLanguage')): ?>
+ getTranslator()->getLocaleList() as $key => $value) : ?>
+ get('contentLanguage')) : ?>
-
+
|
- get('boxes'))): ?>
- get('boxes') as $box): ?>
+ get('boxes'))) : ?>
+ get('boxes') as $box) : ?>
=$this->getDeleteCheckbox('check_boxes', $box->getId()) ?> |
=$this->getEditIcon(['action' => 'treat', 'id' => $box->getId()]) ?> |
=$this->getDeleteIcon(['action' => 'delete', 'id' => $box->getId()]) ?> |
- getTitle() !== ''): ?>
+ getTitle() !== '') : ?>
=$this->escape($box->getTitle()) ?>
=$this->getTrans('noTitleBox') ?>
|
- get('multilingual')): ?>
+ get('multilingual')) : ?>
- getTranslator()->getLocaleList() as $key => $value): ?>
- get('contentLanguage')): ?>
+ getTranslator()->getLocaleList() as $key => $value) : ?>
+ get('contentLanguage')) : ?>
- get('boxMapper')->getSelfBoxByIdLocale($box->getId(), $key) != null): ?>
-
+ get('boxMapper')->getSelfBoxByIdLocale($box->getId(), $key) != null) : ?>
+
-
+
|
diff --git a/application/modules/admin/views/admin/page/index.php b/application/modules/admin/views/admin/page/index.php
index 10c423887..4113df8f2 100644
--- a/application/modules/admin/views/admin/page/index.php
+++ b/application/modules/admin/views/admin/page/index.php
@@ -8,7 +8,7 @@
- get('multilingual')): ?>
+ get('multilingual')) : ?>
@@ -22,24 +22,22 @@
=$this->get('sorter')->getArrowHtml('title') ?> =$this->getTrans('pageTitle') ?>
|
- get('multilingual')) {
- echo '';
+ get('multilingual')) : ?>
+ |
+ getTranslator()->getLocaleList() as $key => $value) : ?>
+ get('contentLanguage')) : ?>
+
+
- foreach ($this->getTranslator()->getLocaleList() as $key => $value) {
- if ($key == $this->get('contentLanguage')) {
- continue;
- }
- echo ' ';
- }
- echo ' | ';
- }
- ?>
+
+
+
+
- get('pages'))): ?>
- get('pages') as $page): ?>
+ get('pages'))) : ?>
+ get('pages') as $page) : ?>
=$this->getDeleteCheckbox('check_pages', $page->getId()) ?> |
=$this->getEditIcon(['action' => 'treat', 'id' => $page->getId()]) ?> |
@@ -47,23 +45,21 @@
=$this->escape($page->getTitle()) ?>
|
- get('multilingual')) {
- echo '';
- foreach ($this->getTranslator()->getLocaleList() as $key => $value) {
- if ($key == $this->get('contentLanguage')) {
- continue;
- }
+ get('multilingual')) : ?>
+ |
+ getTranslator()->getLocaleList() as $key => $value) : ?>
+ get('contentLanguage')) : ?>
+
+
- if ($this->get('pageMapper')->getPageByIdLocale($page->getId(), $key) != null) {
- echo '';
- } else {
- echo '';
- }
- }
- echo ' | ';
- }
- ?>
+ get('pageMapper')->getPageByIdLocale($page->getId(), $key) != null) : ?>
+
+
+
+
+
+
+