This commit is contained in:
KONE SOREL 2026-01-13 18:50:30 +00:00
parent 6c972c4679
commit 8bf339c9c9

View File

@ -23,8 +23,7 @@
<th class="ps-4" width="12%"><?= _("Login") ?></th> <th class="ps-4" width="12%"><?= _("Login") ?></th>
<th width="18%"><?= _("Utilisateur") ?></th> <th width="18%"><?= _("Utilisateur") ?></th>
<th class="text-center" width="5%"><?= _("Langue") ?></th> <th class="text-center" width="5%"><?= _("Langue") ?></th>
<th class="text-center"><?= _("Accès Actes") ?></th> <th class="text-center"><?= _("Profil") ?></th>
<th class="text-center"><?= _("Accès Pathos") ?></th>
<th class="text-center"><?= _("Compte") ?></th> <th class="text-center"><?= _("Compte") ?></th>
<th class="text-center pe-4"><?= _("Actions") ?></th> <th class="text-center pe-4"><?= _("Actions") ?></th>
</tr> </tr>
@ -38,6 +37,11 @@
$AffectionVisible = (int)$user_client['AffectionVisible']; $AffectionVisible = (int)$user_client['AffectionVisible'];
$reInit = (int)$user_client['reInit']; $reInit = (int)$user_client['reInit'];
$codeLangue = $user_client['codeLangue']; $codeLangue = $user_client['codeLangue'];
$profil = $user_client['profil'];
if (est_anglophone()){
$profil = $user_client['profilEng'];
}
?> ?>
<tr> <tr>
<td class="ps-4"> <td class="ps-4">
@ -55,19 +59,9 @@
</td> </td>
<td class="text-center"> <td class="text-center">
<div class="form-check form-switch d-inline-block"> <span class="badge bg-secondary-subtle text-dark border font-monospace px-2 py-1">
<input class="form-switch-custom input-switch-actes" type="checkbox" role="switch" <?= $profil ?>
<?= ($actVisible === 1) ? 'checked' : '' ?> </span>
onClick="gerer_acces_actes_client('<?= $codeUtilisateur ?>', '<?= $actVisible ?>');">
</div>
</td>
<td class="text-center">
<div class="form-check form-switch d-inline-block">
<input class="form-switch-custom input-switch-affections" type="checkbox" role="switch"
<?= ($AffectionVisible === 1) ? 'checked' : '' ?>
onClick="gerer_acces_affection_client('<?= $codeUtilisateur ?>', '<?= $AffectionVisible ?>');">
</div>
</td> </td>
<td class="text-center"> <td class="text-center">