60 lines
2.0 KiB
PHP
Executable File
60 lines
2.0 KiB
PHP
Executable File
<?php $this->titre = "INTER-SANTE - Ajouter Utilisateur"; ?>
|
|
|
|
<form method="post" action="Ajouterutilisateur/ajouter">
|
|
<fieldset>
|
|
<legend> <?= _("Utilisateur à ajouter") ?> </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" required AUTOCOMPLETE="OFF" autofocus></td>
|
|
|
|
<td width="5%" > <?= _("Nom") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="nom" NAME="nom" required AUTOCOMPLETE="OFF" ></td>
|
|
|
|
<td width="5%" > <?= _("Prénoms") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="prenoms" NAME="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,""); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td> <?= _("Téléphone") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="tel" id="telephone" NAME="telephone"></td>
|
|
|
|
<td>E-mail</td>
|
|
<td><INPUT class="form-control" TYPE="email" id="email" NAME="email"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Profil") ?> </td>
|
|
<td>
|
|
<SELECT class="form-control" id="codeProfil" NAME="codeProfil" required AUTOCOMPLETE="OFF" >
|
|
<?php liste_options($profil,""); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
|
|
<td> <?= _("Fonction") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="fonction" NAME="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; ?>
|