This commit is contained in:
KONE SOREL 2026-03-15 18:31:35 +00:00
parent c9f593a5b1
commit e47951de0a
2 changed files with 6 additions and 4 deletions

View File

@ -46,9 +46,10 @@
$isActVisible = ($user_gc['actVisible'] == 1);
$isAffectionVisible = ($user_gc['AffectionVisible'] == 1);
$isActif = ($user_gc['actif'] == 1);
// Logique des drapeaux
$flag = ($user_gc['codeLangue'] == "en_US") ? "us.png" : "fr.png";
$flag = ($user_gc['codeLangue'] == "en_US") ? "england.png" : "france.png";
$alt = ($user_gc['codeLangue'] == "en_US") ? 'English' : 'Français';
?>
<tr>
<td class="ps-3 fw-bold text-primary"><?= $this->nettoyer($code) ?></td>
@ -58,8 +59,8 @@
</td>
<td class="text-center">
<img src="<?= $_SESSION['racineWeb'] ?>assets/img/flags/<?= $flag ?>"
alt="<?= $user_gc['codeLangue'] ?>"
<img src="Bootstrap_new/images/<?= $flag ?>"
alt="<?= $alt ?>"
title="<?= $user_gc['codeLangue'] ?>"
class="shadow-xs border"
style="width: 22px; border-radius: 2px;">

View File

@ -7,6 +7,7 @@
$flag = est_anglophone() ? 'england.png' : 'france.png';
$alt = est_anglophone() ? 'English' : 'Français';
$lib = est_anglophone() ? 'En' : 'Fr';
$styleTest = '';
$labelTest = '';