From d8faa4e7e3fb74e554f6c9339f6fe4e2883c3bf1 Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Fri, 18 Sep 2015 13:43:03 -0400 Subject: [PATCH] Fix by dirkd: Since file() doesn't remove "\n" from the lines read the condition $lines[$l] == '' never evaluated to true. So $mailHeaders would always contain every line from the template while $mailBody contained none of them. --- interface/web/dns/lib/lang/en_dns_mx.lng | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/interface/web/dns/lib/lang/en_dns_mx.lng b/interface/web/dns/lib/lang/en_dns_mx.lng index ca65b42..298568c 100644 --- a/interface/web/dns/lib/lang/en_dns_mx.lng +++ b/interface/web/dns/lib/lang/en_dns_mx.lng @@ -7,8 +7,12 @@ $wb["aux_txt"] = 'Priority'; $wb["ttl_txt"] = 'TTL'; $wb["active_txt"] = 'Active'; -$wb["btn_save_txt"] = 'Save'; -$wb["btn_cancel_txt"] = 'Cancel'; $wb["limit_dns_record_txt"] = 'The max. number of DNS records for your account is reached.'; $wb["no_zone_perm"] = 'You do not have the permission to add a record to this DNS zone.'; +$wb["name_error_empty"] = 'The hostname is empty.'; +$wb["name_error_regex"] = 'The hostname has the wrong format.'; +$wb["data_error_empty"] = 'Mailserver hostname empty'; +$wb["data_error_regex"] = 'Mailserver hostname format invalid'; +$wb["duplicate_mx_record_txt"] = 'Duplicate MX record.'; +$wb['ttl_range_error'] = 'Min. TTL time is 60 seconds.'; ?> \ No newline at end of file -- Gitblit v1.9.1