69 lines
2.5 KiB
PHP
Executable File
69 lines
2.5 KiB
PHP
Executable File
<?php $this->titre = "INTER-SANTE - Modifier Utilisateur"; ?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
|
|
<form method="post" action="Modifierutilisateur/modifier">
|
|
<INPUT class="sr-only" TYPE="text" name = "idUtilisateur" value="<?=$utilisateur['id']?>">
|
|
<INPUT class="sr-only" TYPE="text" name = "oldcodeUtilisateur" id = "oldcodeUtilisateur" value="<?=$utilisateur['codeUtilisateur']?>">
|
|
|
|
<fieldset>
|
|
<legend> <?= _("Utilisateur à Modifier") ?> </legend>
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="5%" >Code</td>
|
|
<td width="25%" ><INPUT class="form-control" TYPE="text" id="codeUtilisateur" NAME="codeUtilisateur" value="<?=$utilisateur['codeUtilisateur']?>" required AUTOCOMPLETE="OFF" autofocus></td>
|
|
|
|
<td width="5%" > <?= _("Nom") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="nom" NAME="nom" value="<?=$utilisateur['nom']?>" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td width="5%" > <?= _("Prénoms") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="prenoms" NAME="prenoms" value="<?=$utilisateur['prenoms']?>" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Service") ?> </td>
|
|
<td>
|
|
<SELECT class="form-control" id="codeService" NAME="codeService" required AUTOCOMPLETE="OFF" >
|
|
<?php liste_options($service,$utilisateur['codeService']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td> <?= _("Téléphone") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="tel" id="telephone" NAME="telephone" value="<?=$utilisateur['telephone']?>" ></td>
|
|
|
|
<td>E-mail</td>
|
|
<td><INPUT class="form-control" TYPE="email" id="email" NAME="email" value="<?=$utilisateur['email']?>" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Profil") ?> </td>
|
|
<td>
|
|
<SELECT class="form-control" id="codeProfil" NAME="codeProfil" required AUTOCOMPLETE="OFF" >
|
|
<?php liste_options($profil,$utilisateur['codeProfil']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
|
|
<td> <?= _("Fonction") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="fonction" NAME="fonction" value="<?=$utilisateur['fonction']?>"></td>
|
|
|
|
<td></td>
|
|
<td><input class = "form-control btn btn-primary" type="submit" value="<?= _("Enregistrer") ?>" /></td>
|
|
</tr>
|
|
</tbody>
|
|
|
|
</table>
|
|
</fieldset>
|
|
</form>
|
|
|
|
<?php if (isset($msgErreur)): ?>
|
|
<div class="alert alert-danger" style="height:38px; padding:5px;" >
|
|
<H4><?= $msgErreur ?></H4>
|
|
</div>
|
|
<?php endif; ?>
|