82 lines
4.5 KiB
PHP
Executable File
82 lines
4.5 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER SANTE - Liste Utilisateurs prestataire";
|
|
$codePrestataire = $this->nettoyer($prestataire['codePrestataire']);
|
|
$idPrestataire = $this->nettoyer($prestataire['id']);
|
|
$nomPrestataire = $this->nettoyer($prestataire['libelle']);
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<input class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="<?= $codePrestataire ?>" >
|
|
<input class="sr-only" type="text" id="idPrestataire" name="idPrestataire" value="<?= $idPrestataire ?>" >
|
|
|
|
<div id="div_liste">
|
|
<legend><?= _("Liste des utilisateurs du prestataire") . " : " . $nomPrestataire ?> </legend>
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact" 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 $users_prestataire):
|
|
$idUtilisateur = $users_prestataire['idUtilisateur'];
|
|
$codeUtilisateur = $users_prestataire['codeUtilisateur'];
|
|
$actif = $users_prestataire['actif'];
|
|
$actVisible = $users_prestataire['actVisible'];
|
|
$AffectionVisible = $users_prestataire['AffectionVisible'];
|
|
$reInit = $users_prestataire['reInit'];
|
|
$codeLangue = $users_prestataire['codeLangue'];
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'> <?= $this->nettoyer($users_prestataire['codeUtilisateur']) ?> </td>
|
|
<td align='center'> <?= $this->nettoyer($users_prestataire['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_prestataire('<?= $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_prestataire('<?= $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_prestataire('<?= $codeUtilisateur ?>');"></td>
|
|
<?php else: ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer") ?>" onClick="javascript:activer_user_prestataire('<?= $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_prestataire('<?= $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_prestataire('<?= $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_prestataire('<?= $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_prestataire('<?= $codeUtilisateur ?>', '<?= $AffectionVisible ?>');"></td>
|
|
<?php endif; ?>
|
|
|
|
<td>
|
|
<input class = "form-control btn btn-info" type="button" value="<?= _("Modif") ?>" onClick="javascript:afficher_users_prestataire_id(<?= $idUtilisateur ?>);" style='font-size:9pt;' >
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id ="div_export_a">
|
|
</div>
|
|
|