From c43915c09d662803ea14cf5280f69174053512f4 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 3 Jul 2019 12:00:47 +0200 Subject: [PATCH] show task 12 in admin dashboard overview if active Signed-off-by: Michael Kaufmann --- lib/Froxlor/System/Cronjob.php | 3 +++ lng/english.lng.php | 1 + lng/german.lng.php | 1 + 3 files changed, 5 insertions(+) diff --git a/lib/Froxlor/System/Cronjob.php b/lib/Froxlor/System/Cronjob.php index f5b32fe1..660dd075 100644 --- a/lib/Froxlor/System/Cronjob.php +++ b/lib/Froxlor/System/Cronjob.php @@ -285,6 +285,9 @@ class Cronjob } elseif ($row['type'] == '11') { // remove domain from pdns database if used $task_desc = sprintf($lng['tasks']['remove_pdns_domain'], $row['data']['domain']); + } elseif ($row['type'] == '12') { + // remove domains ssl files + $task_desc = sprintf($lng['tasks']['remove_ssl_domain'], $row['data']['domain']); } elseif ($row['type'] == '20') { // deleting user-files $loginname = ''; diff --git a/lng/english.lng.php b/lng/english.lng.php index bf55b07b..e76477c5 100644 --- a/lng/english.lng.php +++ b/lng/english.lng.php @@ -2051,6 +2051,7 @@ $lng['panel']['system_is_configured'] = 'System is already set as configured'; $lng['panel']['settings_before_configuration'] = 'Please be sure you adjusted the settings prior to configuring the services here'; $lng['panel']['alternative_cmdline_config'] = 'Alternatively, just run the following command as root-user in your shell to configure the services automatically'; $lng['tasks']['remove_pdns_domain'] = 'Delete domain %s from PowerDNS database'; +$lng['tasks']['remove_ssl_domain'] = 'Delete ssl files of domain %s'; $lng['admin']['novhostcontainer'] = '

None of the IPs and ports has the "' . $lng['admin']['ipsandports']['create_vhostcontainer'] . '" option enabled, many settings here will not be available'; $lng['serversettings']['errorlog_level']['title'] = 'Error log-level'; $lng['serversettings']['errorlog_level']['description'] = 'Specify the error log level. Default is "warn" for apache-users and "error" for nginx-users.'; diff --git a/lng/german.lng.php b/lng/german.lng.php index 4e150a75..f1f44c27 100644 --- a/lng/german.lng.php +++ b/lng/german.lng.php @@ -1698,6 +1698,7 @@ $lng['panel']['system_is_configured'] = 'Das System ist bereits konfiguriert'; $lng['panel']['settings_before_configuration'] = 'Stelle sicher, dass die Einstellungen angepasst wurden bevor die Dienste konfiguriert werden.'; $lng['panel']['alternative_cmdline_config'] = 'Alternativ, führe den folgenden Befehl als root-Benutzer auf der Shell aus, um die Dienste automatisch zu konfigurieren.'; $lng['tasks']['remove_pdns_domain'] = 'Lösche Domain %s von PowerDNS Datenbank'; +$lng['tasks']['remove_ssl_domain'] = 'Lösche SSL Dateien von Domain %s'; $lng['admin']['novhostcontainer'] = '

Keine der IPs und Ports hat die Option "' . $lng['admin']['ipsandports']['create_vhostcontainer'] . '" aktiviert, einige Einstellungen sind daher nicht verfügbar.'; $lng['serversettings']['errorlog_level']['title'] = 'Ausführlichkeit des Fehlerprotokolls'; $lng['serversettings']['errorlog_level']['description'] = 'Steuert die Ausführlichkeit des Fehlerprotokolls. Voreinstellung ist "warn" bei Apache und "error" bei Nginx.';