Fix trans in notifications

This commit is contained in:
Laurent Destailleur 2024-10-04 18:13:36 +02:00
parent 59b32ea3d6
commit 04e89fd37e
3 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -2148,7 +2148,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr
}
if ($enablebrowsernotif) {
print '<!-- Includes JS of Dolibarr (browser layout = '.$conf->browser->layout.')-->'."\n";
print '<script nonce="'.getNonce().'" src="'.DOL_URL_ROOT.'/core/js/lib_notification.js.php'.($ext ? '?'.$ext : '').'"></script>'."\n";
print '<script nonce="'.getNonce().'" src="'.DOL_URL_ROOT.'/core/js/lib_notification.js.php?lang='.$langs->defaultlang.($ext ? '&amp;'.$ext : '').'"></script>'."\n";
}
}

View file

@ -5476,7 +5476,7 @@ div#card-errors {
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-top: 5px;
padding-bottom: 5px;
}
/* ============================================================================== */