83 lines
4.3 KiB
PHP
Executable File
83 lines
4.3 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER-SANTE - Liste Utilisateurs Gestion Confiée";
|
|
$codeGcAssureur = $this->nettoyer($gc['codeGcAssureur']);
|
|
$nomGcAssureur = $this->nettoyer($gc['libelle']);
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<input class="sr-only" type="text" id="codeGcAssureur" name="codeGcAssureur" value="<?= $codeGcAssureur ?>" >
|
|
<input class="sr-only" type="text" id="idGc" name="idGc" value="<?= $this->nettoyer($gc['id']) ?>" >
|
|
|
|
<div id="div_liste">
|
|
<fieldset>
|
|
<legend> <?= _("Utilisateurs") . " : " . $nomGcAssureur ?> </legend>
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center' width="15%">Login</th>
|
|
<th style='text-align:center'> <?= _("Nom") ?> </th>
|
|
<th style='text-align:center' width="8%"> <?= _("Langue") ?> </th>
|
|
<th style='text-align:center'> <?= _("Ré-Init Mot de Passe") ?> </th>
|
|
<th style='text-align:center'> <?= _("Activer / Désactiver") ?> </th>
|
|
<th style='text-align:center'> <?= _("Actes visibles?") ?> </th>
|
|
<th style='text-align:center'> <?= _("Affections Visibles?") ?> </th>
|
|
<th style='text-align:center' width="10%"> <?= _("Modif") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($users as $user_gc):
|
|
$idUtilisateur = $user_gc['idUtilisateur'];
|
|
$codeUtilisateur = $user_gc['codeUtilisateur'];
|
|
$actif = $user_gc['actif'];
|
|
$actVisible = $user_gc['actVisible'];
|
|
$AffectionVisible = $user_gc['AffectionVisible'];
|
|
$reInit = $user_gc['reInit'];
|
|
$codeLangue = $user_gc['codeLangue'];
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'> <?= $this->nettoyer($user_gc['codeUtilisateur']) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($user_gc['utilisateur']) ?></td>
|
|
<td align='center'> <?= $codeLangue ?> </td>
|
|
|
|
<?php if($reInit==1): ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Ré-Init Mot de Passe") ?>" onClick="javascript:reinitpaswd_gc('<?= $codeUtilisateur ?>');"></td>
|
|
<?php else: ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Ré-Init Mot de Passe") ?>" onClick="javascript:reinitpaswd_gc('<?= $codeUtilisateur ?>');"></td>
|
|
<?php endif; ?>
|
|
|
|
<?php if($actif==1): ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Désactiver") ?>" onClick="javascript:desactiver_user_gc('<?= $codeUtilisateur ?>');"></td>
|
|
<?php else: ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer") ?>" onClick="javascript:activer_user_gc('<?= $codeUtilisateur ?>');"></td>
|
|
<?php endif; ?>
|
|
|
|
<?php if($actVisible==1): ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Oui => Désactiver?") ?>" onClick="javascript:gerer_acces_actes_gc('<?= $codeUtilisateur ?>', '<?= $actVisible ?>');"></td>
|
|
<?php else: ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Non => Activer?") ?>" onClick="javascript:gerer_acces_actes_gc('<?= $codeUtilisateur ?>', '<?= $actVisible ?>');"></td>
|
|
<?php endif; ?>
|
|
|
|
<?php if($AffectionVisible==1): ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Oui => Désactiver?") ?>" onClick="javascript:gerer_acces_affection_gc('<?= $codeUtilisateur ?>', '<?= $AffectionVisible ?>');"></td>
|
|
<?php else: ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Non => Activer?") ?>" onClick="javascript:gerer_acces_affection_gc('<?= $codeUtilisateur ?>', '<?= $AffectionVisible ?>');"></td>
|
|
<?php endif; ?>
|
|
|
|
<td>
|
|
<input class = "form-control btn btn-info" type="button" value="<?= _("Modif") ?>" onClick="javascript:afficher_users_gc_id(<?= $idUtilisateur ?>);" style='font-size:9pt;' >
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div id ="div_export_a">
|
|
</div>
|
|
|