diff --git a/assets/dashboard.index.css b/assets/dashboard.index.css
index d8e83d4..bb31747 100644
--- a/assets/dashboard.index.css
+++ b/assets/dashboard.index.css
@@ -306,4 +306,16 @@ table.skinny th {
border-bottom: 1px solid #ccc;
padding: 2px 5px 8px 5px;
line-height: 1;
-}
\ No newline at end of file
+}
+
+.status-notice {
+ color: #f9ba4b;
+}
+
+.status-ok {
+ color: #90c648;
+}
+
+.status-error {
+ color: #c4301e;
+}
diff --git a/extension.driver.php b/extension.driver.php
index 0c4b2e3..8617dae 100644
--- a/extension.driver.php
+++ b/extension.driver.php
@@ -525,13 +525,13 @@ public function render_panel($context) {
$version = phpversion();
if ($ver > 7.0) {
$dl->appendChild(new XMLElement('dt', __('PHP Version')));
- $dl->appendChild(new XMLElement('dd', '' . $version . ''));
+ $dl->appendChild(new XMLElement('dd', '' . $version . ''));
} elseif ($ver === 7.0) {
$dl->appendChild(new XMLElement('dt', __('PHP Version')));
- $dl->appendChild(new XMLElement('dd', '' . $version . '
Please go to your server management and check if a newer PHP version is available.'));
+ $dl->appendChild(new XMLElement('dd', '' . $version . '
' . __('Please go to your server management and check if a newer PHP version is available.') . ''));
} else {
$dl->appendChild(new XMLElement('dt', __('PHP Version')));
- $dl->appendChild(new XMLElement('dd', '' . $version . '
Your PHP version is outdated. For security reasons, please go to your server management and set the current PHP version (> 7.0) for this host. span>'));
+ $dl->appendChild(new XMLElement('dd', '' . $version . '
' . __('Your PHP version is outdated. For security reasons, please go to your server management and set the current PHP version (> 7.0) for this host.') . ''));
}
$container->appendChild(new XMLElement('h4', __('Configuration')));
diff --git a/lang/lang.de.php b/lang/lang.de.php
index 4d9f7f7..0b7e1de 100644
--- a/lang/lang.de.php
+++ b/lang/lang.de.php
@@ -105,4 +105,13 @@
'Disable Editing' =>
'Speichern',
+ 'PHP Version' =>
+ 'PHP-Version',
+
+ 'Please go to your server management and check if a newer PHP version is available.' =>
+ 'Bitte log dich im Server-Management ein und prüfe, ob eine neuere PHP-Version verfügbar ist.',
+
+ 'Your PHP version is outdated. For security reasons, please go to your server management and set the current PHP version (> 7.0) for this host.' =>
+ 'Die PHP-Version ist veraltet. Wechsel aus Sicherheitsgründen in das Server-Management und stelle die aktuelle PHP-Version (> 7.0) für diesen Host ein.',
+
);