diff --git a/Js/fonctions.js b/Js/fonctions.js index c54a6af..feab2c6 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -216,6 +216,15 @@ function alert_ebene(p_msg, p_msg_eng) } */ +function alert_ebene(msgFr, msgEn) { + const codeLangue = document.querySelector("#codeLangue")?.value || "fr_FR"; + const message = (codeLangue === "en_US") ? msgEn : msgFr; + + // Bloquant : l'utilisateur doit cliquer sur OK + window.alert(message); +} + +/* function alert_ebene(msgFr, msgEn) { const codeLangue = document.querySelector("#codeLangue")?.value || "fr_FR"; const message = (codeLangue === "en_US") ? msgEn : msgFr; @@ -226,7 +235,7 @@ function alert_ebene(msgFr, msgEn) { confirmButtonText: (codeLangue === "en_US") ? 'OK' : 'D\'accord' }); } - +*/ /** diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 6f44cdd..8203d66 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -638,7 +638,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte']; - +