This commit is contained in:
KANE LAZENI 2026-01-04 21:36:43 +00:00
parent 9ecbd16ea1
commit ae449c0d49
2 changed files with 17 additions and 1 deletions

View File

@ -187,6 +187,7 @@ function baseSwal(options) {
* ALERTE SIMPLE
* Affiche une information bilingue.
*/
/* mis en commentaire le temps que cela fonctionne 04/01/2026
function alert_ebene(p_msg, p_msg_eng) {
const codeLangue = $("#codeLangue").val();
const message = (codeLangue === "en_US") ? p_msg_eng : p_msg;
@ -197,6 +198,21 @@ function alert_ebene(p_msg, p_msg_eng) {
confirmButtonText: codeLangue === "en_US" ? 'OK' : 'D\'accord'
});
}
*/
function alert_ebene(p_msg, p_msg_eng)
{
codeLangue = $("#codeLangue").val();
if(codeLangue=="en_US")
{
alert(p_msg_eng);
}
else
{
alert(p_msg);
}
}
/**
* CONFIRMATION

View File

@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<!-- Application Scripts -->
<script src="/Js/fonctions.js?ver=2026.01.04.57"></script>
<script src="/Js/fonctions.js?ver=2026.01.04.58"></script>
<script type="text/javascript">
raffraichier_gabarit();