Skip to content

Commit 69edc28

Browse files
author
Tatiana
committed
version 4.10.54.4
2 parents eeecaba + aa93404 commit 69edc28

21 files changed

+82
-27
lines changed

http/css/main.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

http/html.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
<link rel="stylesheet"
1212
type="text/css"
13-
href="/css/main.css?v=610d87a">
14-
<script src="/js/main.js?v=3a9a2b6"></script>
13+
href="/css/main.css?v=f037941">
14+
<script src="/js/main.js?v=dbcc612"></script>
1515

1616
</head>
1717
<body id="pk">

http/js/i18n/de.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

http/js/i18n/es.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

http/js/i18n/ru.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

http/js/main.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

totum/common/Lang/DE.php

+4
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,10 @@ class DE implements LangInterface
422422
'Field [[%s]] is required.' => 'Das Feld [[%s]] st obligatorisch.',
423423
'Creator warnings' => 'Notificaciones al Administrador',
424424
'BFL-log is on' => 'Protokollierung von Fehlern und externen Zugriffen aktiviert',
425+
'list-ubsubscribe-link-text' => 'Abmeldung',
426+
'list-ubsubscribe-Blocked-from-sending' => 'Diese Email ist für den Versand gesperrt',
427+
'list-ubsubscribe-done' => 'Es ist getan',
428+
'list-ubsubscribe-wrong-link' => 'Falscher Link',
425429
);
426430
/**
427431
* Возвращает сумму прописью

totum/common/Lang/EN.php

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ class EN implements LangInterface
1414
'Version adding error - file for version not found' => 'Version adding error — file for version not found',
1515
'Creator warnings' => 'Notifications to the Administrator',
1616
'BFL-log is on' => 'Log of errors and external accesses enabled',
17+
'list-ubsubscribe-link-text' => 'Unsubscribe',
18+
'list-ubsubscribe-Blocked-from-sending' => 'This email is blocked from sending',
19+
'list-ubsubscribe-done' => 'Done',
20+
'list-ubsubscribe-wrong-link' => 'Wrong link',
1721
);
1822
public function dateFormat(DateTime $date, $fStr): string
1923
{

totum/common/Lang/ES.php

+4
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,10 @@ class ES implements LangInterface
422422
'Field [[%s]] is required.' => 'Campo [[%s]] es obligatorio.',
423423
'Creator warnings' => 'Benachrichtigungen an den Administrator',
424424
'BFL-log is on' => 'Registro de errores y accesos externos activado',
425+
'list-ubsubscribe-link-text' => 'Unsubscribe',
426+
'list-ubsubscribe-Blocked-from-sending' => 'Este correo electrónico está bloqueado para el envío',
427+
'list-ubsubscribe-done' => 'Está hecho',
428+
'list-ubsubscribe-wrong-link' => 'Enlace incorrecto',
425429
);
426430
public function dateFormat(DateTime $date, $fStr): string
427431
{

totum/common/Lang/RU.php

+4
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ class RU implements LangInterface
424424
'Field [[%s]] is required.' => 'Поле [[%s]] обязательно для заполнения.',
425425
'Creator warnings' => 'Нотификации Администратору',
426426
'BFL-log is on' => 'Включен журнал ошибок и внешних обращений',
427+
'list-ubsubscribe-link-text' => 'Отписаться',
428+
'list-ubsubscribe-Blocked-from-sending' => 'Отправка на данный email заблокирована',
429+
'list-ubsubscribe-done' => 'Готово',
430+
'list-ubsubscribe-wrong-link' => 'Неверная ссылка',
427431
);
428432
/**
429433
* Возвращает сумму прописью

totum/common/Totum.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
class Totum
2929
{
30-
public const VERSION = '4.10.54.3';
30+
public const VERSION = '4.10.54.4';
3131

3232

3333
public const TABLE_CODE_PARAMS = ['row_format', 'table_format', 'on_duplicate', 'default_action'];

totum/moduls/Table/Actions.php

+8-3
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ public function __construct(ServerRequestInterface $Request, string $modulePath,
7878

7979
protected function chechPostData($post)
8080
{
81-
foreach (['onPage', 'pageCount'] as $param){
81+
foreach (['onPage', 'pageCount'] as $param) {
8282
if (key_exists($param, $post) && $post[$param]) {
83-
if(!ctype_digit($post[$param])){
84-
throw new errorException('Front error message with parametr '.$param);
83+
if (!ctype_digit($post[$param])) {
84+
throw new errorException('Front error message with parametr ' . $param);
8585
}
8686
}
8787
}
@@ -104,6 +104,11 @@ function reuser()
104104
return ['ok' => 1];
105105
}
106106

107+
public function getSchemaFormats()
108+
{
109+
return ['formats' => ['date' => $this->Totum->getConfig()->getSettings('dates_format') ?? 'd.m.Y'] + $this->Totum->getConfig()->getSettings('numbers_format') ?? []];
110+
}
111+
107112
public
108113
function seachUserTables()
109114
{

totum/moduls/Table/ReadTableActions.php

+5-3
Original file line numberDiff line numberDiff line change
@@ -2185,9 +2185,11 @@ protected function getTableClientChangedData($data, $force = false, $onlyFields
21852185
);
21862186

21872187

2188-
if (($this->post['onPage'] ?? false) && (count($pageIds) + count($changedIds['added'])) > (int)$this->post['onPage']) {
2189-
$displaceOffset = $this->post['onPage'] - (count($pageIds) + count($changedIds['added']));
2190-
$displaced = array_slice($pageIds, $displaceOffset);
2188+
$excess = 100;
2189+
2190+
if (($this->post['onPage'] ?? false) && (count($pageIds) + count($changedIds['added'])) > (int)$this->post['onPage'] + $excess) {
2191+
$displaceOffset = $this->post['onPage'] + $excess - (count($pageIds) + count($changedIds['added']));
2192+
$displaced = array_slice($pageIds, 0, -1 * $displaceOffset);
21912193
}
21922194

21932195
array_push($pageIds, ...array_keys($changedIds['added']));

totum/moduls/install/de.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"{{Add_calculation_tables}}": "Berechnungstabellen hinzufügen",
2727
"{{Add_change}}": "Hinzufügen\/Ändern",
2828
"{{Add_form}}": "Formular hinzufügen",
29+
"{{Add_header}}": "Kopfzeile 'list-unsubscribe' hinzufügen",
30+
"{{Add_link_in_body}}": "Link im Text hinzufügen",
2931
"{{Add_quick_form}}": "Formular hinzufügen",
3032
"{{Add_tables_by_name}}": "Tabellen nach Namen hinzufügen",
3133
"{{Add_tables_by_title}}": "Tabellen nach Titel hinzufügen",
@@ -375,6 +377,10 @@
375377
"{{LDAP_only_for_at_type_of_login}}": "Nur für @ Protokollierungsart",
376378
"{{LDAP_settings}}": "LDAP-Einstellungen",
377379
"{{LDAP}}": "LDAP",
380+
"{{LU_blocked_email}}": "Blockierte E-Mail",
381+
"{{LU_date}}": "Datum",
382+
"{{LU_enable}}": "Aktivieren Sie",
383+
"{{LU_title}}": "E-Mail-Titel",
378384
"{{Label_for_the_All_option_ALL}}": "Bezeichnung für die Option Alle (*ALL*)",
379385
"{{Label_for_the_Empty_option}}": "Name für die Option Leer ()",
380386
"{{Label_for_the_Nothing_in_p}}": "Name für die Option Nichts (*NONE*)",
@@ -434,6 +440,7 @@
434440
"{{Link}}": "Link",
435441
"{{List_of_export_id}}": "Liste der entladenen Id's",
436442
"{{List_of_values_in_p}}": "Liste von Werten",
443+
"{{List_unsubscribe}}": "List unsubscribe",
437444
"{{Logging_of_external_calls_and_errors}}": "Protokollierung externer Anrufe und Fehler",
438445
"{{Login_page}}": "Anmeldeseite:",
439446
"{{Login}}": "Benutzername",
@@ -947,5 +954,6 @@
947954
"{{ttm__search_catalog}}": "MeiliSearch Verzeichnisse",
948955
"{{ttm__search_settings}}": "MeiliSearch Einstellungen",
949956
"{{ttm__tmp_change_tree_links}}": "ttm__tmp_change_tree_links",
950-
"{{ttm_form_params_tmp}}": "ttm_form_params_tmp"
957+
"{{ttm_form_params_tmp}}": "ttm_form_params_tmp",
958+
"{{ttm_list_unsubscribe}}": "List unsubscribe"
951959
}

totum/moduls/install/en.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"{{Add_calculation_tables}}": "Add calculation tables",
2727
"{{Add_change}}": "Add\/change",
2828
"{{Add_form}}": "Add form",
29+
"{{Add_header}}": "Add header 'list-unsubscribe'",
30+
"{{Add_link_in_body}}": "Add link in body",
2931
"{{Add_quick_form}}": "Add form",
3032
"{{Add_tables_by_name}}": "Add tables by name",
3133
"{{Add_tables_by_title}}": "Add tables by title",
@@ -375,6 +377,10 @@
375377
"{{LDAP_only_for_at_type_of_login}}": "Only for «at» type of login",
376378
"{{LDAP_settings}}": "LDAP settings",
377379
"{{LDAP}}": "LDAP",
380+
"{{LU_blocked_email}}": "Blocked email",
381+
"{{LU_date}}": "Date",
382+
"{{LU_enable}}": "Enable",
383+
"{{LU_title}}": "Email title",
378384
"{{Label_for_the_All_option_ALL}}": "Label for the All option (*ALL*)",
379385
"{{Label_for_the_Empty_option}}": "Label for the Empty option ()",
380386
"{{Label_for_the_Nothing_in_p}}": "Label for the Nothing (*NONE*) option",
@@ -434,6 +440,7 @@
434440
"{{Link}}": "Link",
435441
"{{List_of_export_id}}": "List of export id",
436442
"{{List_of_values_in_p}}": "List of values",
443+
"{{List_unsubscribe}}": "List unsubscribe",
437444
"{{Logging_of_external_calls_and_errors}}": "Logging of external calls and errors",
438445
"{{Login_page}}": "Login page:",
439446
"{{Login}}": "Login",
@@ -947,5 +954,6 @@
947954
"{{ttm__search_catalog}}": "MeiliSearch catalogs",
948955
"{{ttm__search_settings}}": "MeiliSearch settings",
949956
"{{ttm__tmp_change_tree_links}}": "ttm__tmp_change_tree_links",
950-
"{{ttm_form_params_tmp}}": "ttm_form_params_tmp"
957+
"{{ttm_form_params_tmp}}": "ttm_form_params_tmp",
958+
"{{ttm_list_unsubscribe}}": "List unsubscribe"
951959
}

totum/moduls/install/es.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"{{Add_calculation_tables}}": "Agregar tablas de cálculo",
2727
"{{Add_change}}": "Agregar\/Cambiar",
2828
"{{Add_form}}": "Agregar formulario",
29+
"{{Add_header}}": "Añadir cabecera 'list-unsubscribe'",
30+
"{{Add_link_in_body}}": "Añadir enlace en cuerpo",
2931
"{{Add_quick_form}}": "Agregar formulario rápido",
3032
"{{Add_tables_by_name}}": "Agregar tablas por nombre",
3133
"{{Add_tables_by_title}}": "Agregar tablas por título",
@@ -375,6 +377,10 @@
375377
"{{LDAP_only_for_at_type_of_login}}": "Solo para el tipo de inicio de sesión @",
376378
"{{LDAP_settings}}": "Configuración LDAP",
377379
"{{LDAP}}": "LDAP",
380+
"{{LU_blocked_email}}": "Email bloqueado",
381+
"{{LU_date}}": "Fecha",
382+
"{{LU_enable}}": "Activar",
383+
"{{LU_title}}": "Título del e-mail",
378384
"{{Label_for_the_All_option_ALL}}": "Etiqueta para la opción Todo (*ALL*)",
379385
"{{Label_for_the_Empty_option}}": "Etiqueta para la opción Vacío ()",
380386
"{{Label_for_the_Nothing_in_p}}": "Etiqueta para la opción Nada (*NONE*)",
@@ -434,6 +440,7 @@
434440
"{{Link}}": "Enlace",
435441
"{{List_of_export_id}}": "Lista de ids para exportar",
436442
"{{List_of_values_in_p}}": "Lista de valores",
443+
"{{List_unsubscribe}}": "List unsubscribe",
437444
"{{Logging_of_external_calls_and_errors}}": "Registro de llamadas externas y errores",
438445
"{{Login_page}}": "Página de inicio de sesión:",
439446
"{{Login}}": "Inicio de sesión",
@@ -947,5 +954,6 @@
947954
"{{ttm__search_catalog}}": "Catálogos de búsqueda MeiliSearch",
948955
"{{ttm__search_settings}}": "Configuración de búsqueda MeiliSearch",
949956
"{{ttm__tmp_change_tree_links}}": "ttm__tmp_change_tree_links",
950-
"{{ttm_form_params_tmp}}": "ttm_form_params_tmp"
957+
"{{ttm_form_params_tmp}}": "ttm_form_params_tmp",
958+
"{{ttm_list_unsubscribe}}": "List unsubscribe"
951959
}

totum/moduls/install/ru.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"{{Add_calculation_tables}}": "Добавить расчетные таблицы",
2727
"{{Add_change}}": "Добавлять\/Изменять",
2828
"{{Add_form}}": "Добавить форму",
29+
"{{Add_header}}": "Добавить заголовок 'list-unsubscribe'",
30+
"{{Add_link_in_body}}": "Добавить ссылку в письмо",
2931
"{{Add_quick_form}}": "Добавить форму",
3032
"{{Add_tables_by_name}}": "Добавить таблицы по name",
3133
"{{Add_tables_by_title}}": "Добавить таблицы по title",
@@ -375,6 +377,10 @@
375377
"{{LDAP_only_for_at_type_of_login}}": "Только для @ типа логирования",
376378
"{{LDAP_settings}}": "Настройки LDAP",
377379
"{{LDAP}}": "LDAP",
380+
"{{LU_blocked_email}}": "Блокированный адрес",
381+
"{{LU_date}}": "Дата",
382+
"{{LU_enable}}": "Включить",
383+
"{{LU_title}}": "Заголовок письма",
378384
"{{Label_for_the_All_option_ALL}}": "Название для опции Все (*ALL*)",
379385
"{{Label_for_the_Empty_option}}": "Название для опции Пустое ()",
380386
"{{Label_for_the_Nothing_in_p}}": "Название для опции Ничего (*NONE*)",
@@ -434,6 +440,7 @@
434440
"{{Link}}": "Ссылка",
435441
"{{List_of_export_id}}": "Список выгружаемых id",
436442
"{{List_of_values_in_p}}": "Список значений",
443+
"{{List_unsubscribe}}": "List unsubscribe",
437444
"{{Logging_of_external_calls_and_errors}}": "Логирование внешних обращений и ошибок",
438445
"{{Login_page}}": "Страница входа:",
439446
"{{Login}}": "Логин",
@@ -947,5 +954,6 @@
947954
"{{ttm__search_catalog}}": "Каталоги MeiliSearch",
948955
"{{ttm__search_settings}}": "Настройки MeiliSearch",
949956
"{{ttm__tmp_change_tree_links}}": "ttm__tmp_change_tree_links",
950-
"{{ttm_form_params_tmp}}": "ttm_form_params_tmp"
957+
"{{ttm_form_params_tmp}}": "ttm_form_params_tmp",
958+
"{{ttm_list_unsubscribe}}": "List unsubscribe"
951959
}
684 Bytes
Binary file not shown.

totum/templates/html.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
<link rel="stylesheet"
1212
type="text/css"
13-
href="/css/main.css?v=610d87a">
14-
<script src="/js/main.js?v=3a9a2b6"></script>
13+
href="/css/main.css?v=f037941">
14+
<script src="/js/main.js?v=dbcc612"></script>
1515

1616
</head>
1717
<body id="pk">

totum/templates/page_template.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<script src="/js/libs.js?v=c27fdf7"></script>
88
<link rel="stylesheet"
99
type="text/css"
10-
href="/css/main.css?v=610d87a">
10+
href="/css/main.css?v=f037941">
1111

1212
<?php
1313
if ($isCreatorView ?? null) { ?>
@@ -18,8 +18,8 @@
1818
<?php
1919
} ?>
2020

21-
<script src="/js/main.js?v=3a9a2b6"></script>
22-
<script src="/js/i18n/<?= $this->Config->getLang() ?>.js?1"></script>
21+
<script src="/js/main.js?v=dbcc612"></script>
22+
<script src="/js/i18n/<?= $this->Config->getLang() ?>.js?2"></script>
2323
<script>App.lang = App.langs["<?= $this->Config->getLang() ?>"]</script>
2424

2525

totum/templates/page_template_simple.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<script src="/js/libs.js?v=c27fdf7"></script>
88
<link rel="stylesheet"
99
type="text/css"
10-
href="/css/main.css?v=610d87a">
11-
<script src="/js/main.js?v=3a9a2b6"></script>
12-
<script src="/js/i18n/<?= $this->Config->getLang() ?>.js?1"></script>
10+
href="/css/main.css?v=f037941">
11+
<script src="/js/main.js?v=dbcc612"></script>
12+
<script src="/js/i18n/<?= $this->Config->getLang() ?>.js?2"></script>
1313
<script>App.lang = App.langs["<?= $this->Config->getLang() ?>"]</script>
1414

1515
<link rel="shortcut icon" type="image/png" href="/fls/6_favicon.png"/>

0 commit comments

Comments
 (0)