refacto : var currency and zone applied

This commit is contained in:
2026-05-19 20:48:39 +02:00
parent ab97af0ea3
commit 3e4374392a
9 changed files with 68 additions and 25 deletions
+2 -1
View File
@@ -134,7 +134,8 @@ $currentLang = $_SESSION['app_lang'] ?? 'fr';
window.CONFIG = {
ID_ALEX: <?php echo defined('ID_ALEX') ? ID_ALEX : 2; ?>,
ID_LAIA: <?php echo defined('ID_LAIA') ? ID_LAIA : 3; ?>,
CURRENCY: '<?php echo defined('CURRENCY') ? CURRENCY : "€"; ?>'
CURRENCY: '<?php echo defined('CURRENCY') ? CURRENCY : "€"; ?>',
ZONE_SCOLAIRE: '<?php echo defined('ZONE_SCOLAIRE') ? ZONE_SCOLAIRE : "C"; ?>'
};
function tr(key) {