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 * ALERTE SIMPLE
* Affiche une information bilingue. * Affiche une information bilingue.
*/ */
/* mis en commentaire le temps que cela fonctionne 04/01/2026
function alert_ebene(p_msg, p_msg_eng) { function alert_ebene(p_msg, p_msg_eng) {
const codeLangue = $("#codeLangue").val(); const codeLangue = $("#codeLangue").val();
const message = (codeLangue === "en_US") ? p_msg_eng : p_msg; 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' 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 * CONFIRMATION

View File

@ -635,7 +635,7 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script> <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<!-- Application Scripts --> <!-- 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"> <script type="text/javascript">
raffraichier_gabarit(); raffraichier_gabarit();