From 04e89fd37e015fde08d090b994281306e84c0d19 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 4 Oct 2024 18:13:36 +0200 Subject: [PATCH] Fix trans in notifications --- htdocs/core/ajax/check_notifications.php | 3 ++- htdocs/main.inc.php | 2 +- htdocs/theme/eldy/global.inc.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/core/ajax/check_notifications.php b/htdocs/core/ajax/check_notifications.php index 43e71fa6dd0..ef18720b9b6 100644 --- a/htdocs/core/ajax/check_notifications.php +++ b/htdocs/core/ajax/check_notifications.php @@ -41,8 +41,9 @@ if (!defined('NOREQUIRETRAN')) { require '../../main.inc.php'; //$time = (int) GETPOST('time', 'int'); // Use the time parameter that is always increased by time_update, even if call is late -$time = dol_now(); $action = GETPOST('action', 'aZ09'); + +$time = dol_now(); $listofreminderids = GETPOST('listofreminderids', 'aZ09'); // Security check diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 0996eae15bc..7487cb09a59 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -2148,7 +2148,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr } if ($enablebrowsernotif) { print ''."\n"; - print ''."\n"; + print ''."\n"; } } diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index e4f78fde20e..401fe67e13c 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -5476,7 +5476,7 @@ div#card-errors { padding-left: 5px; padding-right: 5px; padding-top: 5px; - padding-top: 5px; + padding-bottom: 5px; } /* ============================================================================== */