74 lines
3.1 KiB
PHP
Executable File
74 lines
3.1 KiB
PHP
Executable File
<?php
|
|
$this->titre = "ISA WEB - Modifier Utilisteur Portail RH";
|
|
|
|
$idClient = $this->nettoyer($user_rh['idClient']);
|
|
$idUtilisateur = $user_rh['id'];
|
|
$codeUtilisateur = $user_rh['codeUtilisateur'];
|
|
$actif = $user_rh['actif'];
|
|
$actVisible = $user_rh['actVisible'];
|
|
$reInit = $user_rh['reInit'];
|
|
$codeLangue = $user_rh['codeLangue'];
|
|
$AffectionVisible = $user_rh['AffectionVisible'];
|
|
$codeProfil = $user_rh['codeProfil'];
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<input class="sr-only" type="text" id="idUtilisateur" name="idUtilisateur" value="<?= $idUtilisateur ?>" >
|
|
<input class="sr-only" type="text" id="idClient" name="idClient" value="<?= $idClient ?>" >
|
|
|
|
<legend> <?= _("Modifier Utilisateur") . ": " . $codeUtilisateur ?> </legend>
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" class="required"> <?= _("Nom") ?> </td>
|
|
<td width="40%" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="nom" NAME="nom" value="<?=$this->nettoyer( $user_rh['nom'])?>" required AUTOCOMPLETE="OFF" autofocus ></td>
|
|
|
|
<td width="12%" align="center" > <?= _("Prénoms") ?> </td>
|
|
<td colspan="3" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$this->nettoyer( $user_rh['prenoms'])?>" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="required"> <?= _("Téléphone") ?> </td>
|
|
<td><INPUT style='font-size:10pt;' class="form-control" TYPE="tel" id="telephone" NAME="telephone" value="<?=$this->nettoyer( $user_rh['telephone'])?>" required></td>
|
|
|
|
<td align="center" class="required"> E-mail </td>
|
|
<td colspan="3" > <INPUT style='font-size:10pt;' class="form-control" TYPE="email" id="email" NAME="email" value="<?=$this->nettoyer( $user_rh['email'])?>" required> </td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Profil/Rôle") ?> </td>
|
|
<td>
|
|
<SELECT style="font-size:10pt;" class="form-control" id="codeProfil" NAME="codeProfil" >
|
|
<?php liste_options($user_profil, $codeProfil, true); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td align="center"> <?= _("Actif?") ?> </td>
|
|
<td>
|
|
<SELECT style="font-size:10pt;" class="form-control" id="actif" NAME="actif" >
|
|
<?php liste_options($user_actif, $actif, true); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td align="center"> <?= _("Langue") ?> </td>
|
|
<td>
|
|
<SELECT style="font-size:10pt;" class="form-select" id="codeLangueUser" NAME="codeLangueUser" >
|
|
<?php liste_options($langue, $codeLangue, true); ?>
|
|
</SELECT>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> </td>
|
|
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_user_rh();" style='font-size:10pt;' > </td>
|
|
|
|
<td> </td>
|
|
<td colspan="3" > <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:retour_a_users_rh_client();" style='font-size:9pt;' > </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|