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/ru_dns_a_list.lng |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/interface/web/dns/lib/lang/ru_dns_a_list.lng b/interface/web/dns/lib/lang/ru_dns_a_list.lng
index 930737d..263c0bf 100644
--- a/interface/web/dns/lib/lang/ru_dns_a_list.lng
+++ b/interface/web/dns/lib/lang/ru_dns_a_list.lng
@@ -1,14 +1,15 @@
 <?php
 $wb['list_head_txt'] = 'A-Record';
-$wb['active_txt'] = 'Активный';
-$wb['server_id_txt'] = 'Сервер';
-$wb['zone_txt'] = 'Zone';
-$wb['name_txt'] = 'Name';
-$wb['data_txt'] = 'Data';
-$wb['type_txt'] = 'Тип';
-$wb['add_new_record_txt'] = 'Добавить DNS A-Record';
-$wb['aux_txt'] = 'Priority';
-$wb['page_txt'] = 'Page';
-$wb['page_of_txt'] = 'of';
-$wb['delete_confirmation'] = 'Do you really want to delete this record?';
+$wb['active_txt'] = '�ктивна?';
+$wb['server_id_txt'] = 'Сервер';
+$wb['zone_txt'] = 'Зона';
+$wb['name_txt'] = 'Им�';
+$wb['data_txt'] = 'Дата';
+$wb['type_txt'] = 'Тип';
+$wb['add_new_record_txt'] = 'Добавить DNS A-Record';
+$wb['aux_txt'] = 'Приоритет';
+$wb['ttl_txt'] = 'TTL';
+$wb['page_txt'] = 'Страница';
+$wb['page_of_txt'] = 'из';
+$wb['delete_confirmation'] = 'Вы дей�твительно хотите удалить �ту запи�ь?';
 ?>

--
Gitblit v1.9.1