From d8b505c5faaa2338e7e156e40726fcbc0730c8a6 Mon Sep 17 00:00:00 2001 From: Repellent Date: Fri, 26 Sep 2025 16:35:56 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=BE=D0=BD=D0=B0?= =?UTF-8?q?=D0=BB=20=D0=BC=D0=B0=D1=81=D1=81=D0=BE=D0=B2=D1=8B=D1=85=20?= =?UTF-8?q?=D0=B4=D0=B5=D0=B9=D1=81=D1=82=D0=B2=D0=B8=D0=B9=20=D1=81=20?= =?UTF-8?q?=D0=B8=D1=81=D1=82=D0=BE=D1=80=D0=B8=D0=B5=D0=B9:=20=D1=83?= =?UTF-8?q?=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5,=20=D0=B8=D0=B7?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=82=D0=B0?= =?UTF-8?q?=D1=82=D1=83=D1=81=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- forms/lang/ru.txt | 9 +- forms/templates/history.tpl | 207 +++++++++++++++++++++++++++++++++++- 2 files changed, 214 insertions(+), 2 deletions(-) diff --git a/forms/lang/ru.txt b/forms/lang/ru.txt index d00084c..97b3c47 100644 --- a/forms/lang/ru.txt +++ b/forms/lang/ru.txt @@ -71,6 +71,7 @@ edit = "Редактировать" copy = "Копировать" delete = "Удалить" actions = "Действия" +actions_sel = "Действия с выбранными" saved = "Сохранено" notsaved = "Во время сохранения произошла ошибка" created = "Форма успешно создана" @@ -78,6 +79,7 @@ copied = "Форма успешно скопирована и сохранен deleting = "Удаление..." add_refresh = "Добавить и обновить" save = "Сохранить" +save_changes = "Сохранить изменения" return_to_forms = "Вернуться к списку форм" refresh = "Обновить" mail_set = "Настройки письма" @@ -182,4 +184,9 @@ cn_copy_to_clipboard = "Скопировать в буфер обмена" cn_return_list_form = "Вернуться к списку форм" cn_mod_info = "Важно: модуль использует метод отправки почты установленный в системных настройках, в разделе " cn_mod_info_a = "Настройки почты." -info_attr_name = "Атрибут name уже установлен и используется по умолчанию, его значение:" \ No newline at end of file +info_attr_name = "Атрибут name уже установлен и используется по умолчанию, его значение:" +cn_select_for_action = "Выберите хотя бы один элемент" +cn_confirm_mass_del = "Вы уверены, что хотите удалить выбранные элементы?" +delete_error = "Ошибка удаления" +action_confirm_title = "Удаление истории" +action_error_title = "Действия в истории" diff --git a/forms/templates/history.tpl b/forms/templates/history.tpl index 83d2c35..159398d 100644 --- a/forms/templates/history.tpl +++ b/forms/templates/history.tpl @@ -11,6 +11,12 @@ $smarty = new Array; $smarty['stat_replied'] = '{#stat_replied#}'; $smarty['stat_viewed'] = '{#stat_viewed#}'; +$smarty['delete'] = '{#delete#}'; +$smarty['cn_select_for_action'] = '{#cn_select_for_action#}'; +$smarty['cn_confirm_mass_del'] = '{#cn_confirm_mass_del#}'; +$smarty['delete_error'] = '{#delete_error#}'; +$smarty['action_confirm_title'] = '{#action_confirm_title#}'; +$smarty['action_error_title'] = '{#action_error_title#}';
@@ -40,6 +46,7 @@ $smarty['stat_viewed'] = '{#stat_viewed#}';
+ @@ -48,6 +55,7 @@ $smarty['stat_viewed'] = '{#stat_viewed#}'; + @@ -58,6 +66,7 @@ $smarty['stat_viewed'] = '{#stat_viewed#}'; {foreach from=$dialogs item=dialog} + @@ -91,9 +100,36 @@ $smarty['stat_viewed'] = '{#stat_viewed#}'; {/foreach} + {if $dialog} + + + + + + + + + + + {/if}
{#date#} {#mfld_subject#} {#author#}
{$dialog.date|date_format:$TIME_FORMAT|pretty_date}
{#date#}{#mfld_subject#}{#author#}{#status#}{#cn_actions#}
+{if $dialog} +
+
+ +    + +
+
+{/if} - {if $page_nav}