From 69474904127814baa06668488bd67772ad417b6a Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Mon, 25 Sep 2017 18:16:10 +0200 Subject: [sysconfig][baseconfig] fixed inconsistencies --- .../sysconfig/lang/de/template-tags.json | 2 +- .../sysconfig/lang/en/template-tags.json | 2 +- modules-available/sysconfig/page.inc.php | 3 ++ .../sysconfig/templates/ad-start.html | 33 ++++++++++++--------- .../templates/ad_ldap-checkconnection.html | 4 +-- .../sysconfig/templates/branding-check.html | 3 +- .../sysconfig/templates/branding-start.html | 3 +- .../sysconfig/templates/cfg-finish.html | 8 +++-- .../sysconfig/templates/cfg-start.html | 5 +++- .../sysconfig/templates/ldap-start.html | 34 ++++++++++++---------- .../sysconfig/templates/list-configs.html | 8 +++-- .../sysconfig/templates/list-modules.html | 8 +++-- .../sysconfig/templates/sshconfig-start.html | 12 ++++---- modules-available/sysconfig/templates/start.html | 2 +- .../sysconfig/templates/sysconfig_heading.html | 1 + 15 files changed, 77 insertions(+), 51 deletions(-) create mode 100644 modules-available/sysconfig/templates/sysconfig_heading.html (limited to 'modules-available/sysconfig') diff --git a/modules-available/sysconfig/lang/de/template-tags.json b/modules-available/sysconfig/lang/de/template-tags.json index d3b0bb9f..900b67a8 100644 --- a/modules-available/sysconfig/lang/de/template-tags.json +++ b/modules-available/sysconfig/lang/de/template-tags.json @@ -109,7 +109,7 @@ "lang_supportedFiles": "Unterst\u00fctzte Archivformate", "lang_systemConfiguration": "Systemkonfiguration", "lang_systemConfigurationAlert": "Bevor Sie eine Systemkonfiguration erstellen k\u00f6nnen, m\u00fcssen Sie zun\u00e4chst ein Konfigurationsmodul erzeugen.", - "lang_systemConfigurationNotFound": "Keine Systemkonfigurationen gefunden.Erstellen Sie eine neue Konfiguration aus den unten aufgef\u00fchrten Konfigurationsmodulen.", + "lang_systemConfigurationNotFound": "Keine Systemkonfigurationen gefunden. Erstellen Sie eine neue Konfiguration aus den unten aufgef\u00fchrten Konfigurationsmodulen.", "lang_title": "Titel", "lang_to": "Zur", "lang_toSystemConfiguration": "Zur Systemkonfiguration", diff --git a/modules-available/sysconfig/lang/en/template-tags.json b/modules-available/sysconfig/lang/en/template-tags.json index 1374d87f..6a482772 100644 --- a/modules-available/sysconfig/lang/en/template-tags.json +++ b/modules-available/sysconfig/lang/en/template-tags.json @@ -37,7 +37,7 @@ "lang_determiningHomeDirectory": "Trying to determine home directory attribute...", "lang_dnLookup": "Looking up bind dn", "lang_download": "Download", - "lang_downloadLong": "Download module \"as is\".", + "lang_downloadLong": "Download module \"as it is\".", "lang_driveLetterNote": "IMPORTANT: Pick a drive letter for the home directory that will be free in the Virtual Machines. Otherwise, a random letter will be assigned.", "lang_editLong": "Edit module or configuration.", "lang_editingLocationInfo": "You're setting the configuration for a specific location, not the global one", diff --git a/modules-available/sysconfig/page.inc.php b/modules-available/sysconfig/page.inc.php index e9fcdee9..c169f490 100644 --- a/modules-available/sysconfig/page.inc.php +++ b/modules-available/sysconfig/page.inc.php @@ -135,6 +135,9 @@ class Page_SysConfig extends Page */ protected function doRender() { + + Render::addTemplate('sysconfig_heading'); + $action = Request::any('action', 'list'); switch ($action) { case 'addmodule': diff --git a/modules-available/sysconfig/templates/ad-start.html b/modules-available/sysconfig/templates/ad-start.html index 1f8e1e01..0a14a44c 100644 --- a/modules-available/sysconfig/templates/ad-start.html +++ b/modules-available/sysconfig/templates/ad-start.html @@ -1,8 +1,10 @@

{{lang_adText1}}
+
{{lang_adText2}}
+
{{lang_adText3}}

dsquery user -name "Username"
@@ -18,35 +20,35 @@
- {{lang_moduleTitle}} + {{lang_moduleTitle}}
- Server * + Server *
- {{lang_bindDN}} * + {{lang_bindDN}} *
- {{lang_password}} * + {{lang_password}} *
- {{lang_searchBase}} + {{lang_searchBase}}

- Home + Home
- {{lang_homeAttr}} + {{lang_homeAttr}} @@ -54,23 +56,26 @@

- +
+ + +
{{lang_fixNumericDescription}}

- +
+ + +
{{lang_sslDescription}}

+
{{lang_back}} @@ -78,7 +83,9 @@
+
+
{{lang_customCertificate}} diff --git a/modules-available/sysconfig/templates/ad_ldap-checkconnection.html b/modules-available/sysconfig/templates/ad_ldap-checkconnection.html index f3194308..35c8f1ee 100644 --- a/modules-available/sysconfig/templates/ad_ldap-checkconnection.html +++ b/modules-available/sysconfig/templates/ad_ldap-checkconnection.html @@ -11,7 +11,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
diff --git a/modules-available/sysconfig/templates/branding-check.html b/modules-available/sysconfig/templates/branding-check.html index 1a021309..d48f9631 100644 --- a/modules-available/sysconfig/templates/branding-check.html +++ b/modules-available/sysconfig/templates/branding-check.html @@ -13,6 +13,7 @@
{{error}}
+
@@ -25,7 +26,7 @@ {{lang_cancel}}
- +
diff --git a/modules-available/sysconfig/templates/branding-start.html b/modules-available/sysconfig/templates/branding-start.html index 7f2a0132..ddb5b3d9 100644 --- a/modules-available/sysconfig/templates/branding-start.html +++ b/modules-available/sysconfig/templates/branding-start.html @@ -8,9 +8,8 @@
- {{lang_or}}
- +
diff --git a/modules-available/sysconfig/templates/cfg-finish.html b/modules-available/sysconfig/templates/cfg-finish.html index c9622db0..21c7c690 100644 --- a/modules-available/sysconfig/templates/cfg-finish.html +++ b/modules-available/sysconfig/templates/cfg-finish.html @@ -6,8 +6,10 @@ -
- - {{lang_backToSysconfig}} +
+
+ {{lang_backToSysconfig}} + +
diff --git a/modules-available/sysconfig/templates/cfg-start.html b/modules-available/sysconfig/templates/cfg-start.html index 8c33f0e5..6196d475 100644 --- a/modules-available/sysconfig/templates/cfg-start.html +++ b/modules-available/sysconfig/templates/cfg-start.html @@ -18,7 +18,10 @@ {{/unique}} {{^unique}} - +
+ + +
{{/unique}} diff --git a/modules-available/sysconfig/templates/ldap-start.html b/modules-available/sysconfig/templates/ldap-start.html index 22f4e2fa..c13b6939 100644 --- a/modules-available/sysconfig/templates/ldap-start.html +++ b/modules-available/sysconfig/templates/ldap-start.html @@ -10,32 +10,32 @@
- {{lang_moduleTitle}} + {{lang_moduleTitle}}
- Server * + Server *
- {{lang_bindDN}} + {{lang_bindDN}}
- {{lang_password}} + {{lang_password}}
-
- {{lang_searchBase}} * +
+ {{lang_searchBase}} *