f
This commit is contained in:
parent
a09a0635d7
commit
8cd2d92c79
|
|
@ -199,6 +199,8 @@ function alert_ebene(p_msg, p_msg_eng) {
|
|||
});
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
function alert_ebene(p_msg, p_msg_eng)
|
||||
{
|
||||
codeLangue = $("#codeLangue").val();
|
||||
|
|
@ -212,6 +214,19 @@ function alert_ebene(p_msg, p_msg_eng)
|
|||
alert(p_msg);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
function alert_ebene(msgFr, msgEn) {
|
||||
const codeLangue = document.querySelector("#codeLangue")?.value || "fr_FR";
|
||||
const message = (codeLangue === "en_US") ? msgEn : msgFr;
|
||||
|
||||
return Swal.fire({
|
||||
text: message,
|
||||
icon: 'info',
|
||||
confirmButtonText: (codeLangue === "en_US") ? 'OK' : 'D\'accord'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -638,7 +638,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
|
|||
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
|
||||
|
||||
<!-- Application Scripts -->
|
||||
<script src="/Js/fonctions.js?ver=2026.01.05.32"></script>
|
||||
<script src="/Js/fonctions.js?ver=2026.01.05.33"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
raffraichier_gabarit();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user