From b80bb3fea7dc27da5c6555eaeb075d2410e86d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristia=CC=81n=20Feldsam?= Date: Wed, 13 Jun 2018 19:56:10 +0200 Subject: [PATCH] Fixed compatibility with latest ispconfig release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes in log retention Signed-off-by: Kristián Feldsam --- lib/lang/cz_template.lng | 5 ++++- lib/lang/en_template.lng | 4 +++- lib/lang/es_template.lng | 2 ++ templates/template_site.htm | 4 ++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/lang/cz_template.lng b/lib/lang/cz_template.lng index d09bbcc..5c1c267 100644 --- a/lib/lang/cz_template.lng +++ b/lib/lang/cz_template.lng @@ -79,4 +79,7 @@ $wb["mailbox_quota_txt"] = 'Mailbox kvóta (0 pro neomezeně)'; $wb["quota_error_isint"] = 'Velikost mailboxu musí být číslo.'; $wb["quota_error_value"] = 'Špatná hodnota kvóty. Povolené hodnoty jsou: 0 pro neomezeně nebo čísla > 1'; $wb['http_port_txt'] = 'HTTP Port'; -$wb['https_port_txt'] = 'HTTPS Port'; \ No newline at end of file +$wb['https_port_txt'] = 'HTTPS Port'; +$wb['log_retention_txt'] = 'Logfiles retention time'; +$wb['log_retention_error_regex'] = 'Retention time in days (allowed values: min. 0 - max. 9999)'; + diff --git a/lib/lang/en_template.lng b/lib/lang/en_template.lng index 758a98f..5247f83 100644 --- a/lib/lang/en_template.lng +++ b/lib/lang/en_template.lng @@ -78,4 +78,6 @@ $wb["mailbox_quota_txt"] = 'Mailbox quota (0 for unlimited)'; $wb["quota_error_isint"] = 'Mailbox size must be a number.'; $wb["quota_error_value"] = 'Invalid quota value. Allowed values are: 0 for unlimited or numbers > 1'; $wb['http_port_txt'] = 'HTTP Port'; -$wb['https_port_txt'] = 'HTTPS Port'; \ No newline at end of file +$wb['https_port_txt'] = 'HTTPS Port'; +$wb['log_retention_txt'] = 'Logfiles retention time'; +$wb['log_retention_error_regex'] = 'Retention time in days (allowed values: min. 0 - max. 9999)'; diff --git a/lib/lang/es_template.lng b/lib/lang/es_template.lng index 7c67b55..55a28db 100644 --- a/lib/lang/es_template.lng +++ b/lib/lang/es_template.lng @@ -79,3 +79,5 @@ $wb["quota_error_isint"] = 'La cuota debe ser un numero.'; $wb["quota_error_value"] = 'Valor de cuota erroneo. Los valores permitidos son: 0 para ilimitada o numeros > 1'; $wb['http_port_txt'] = 'Puerto HTTP'; $wb['https_port_txt'] = 'Puerto HTTPS'; +$wb['log_retention_txt'] = 'Logfiles retention time'; +$wb['log_retention_error_regex'] = 'Retention time in days (allowed values: min. 0 - max. 9999)'; diff --git a/templates/template_site.htm b/templates/template_site.htm index 1368eeb..ebab14d 100644 --- a/templates/template_site.htm +++ b/templates/template_site.htm @@ -120,6 +120,10 @@ {tmpl_var name="rewrite_to_https"} +
+ +
+
-- GitLab