40 lines
1.6 KiB
PHP
Executable File
40 lines
1.6 KiB
PHP
Executable File
<?php
|
|
$adminSin = $_SESSION['adminSin'];
|
|
?>
|
|
|
|
<legend> <?= _("Nouveaux verres") ?> </legend>
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="10%" align="center" > Français </td>
|
|
<td colspan="5" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF" autofocus ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" > English </td>
|
|
<td colspan="5" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="libelleEng" NAME="libelleEng" required AUTOCOMPLETE="OFF" ></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td align="center" > <?= _("Actif?") ?> </td>
|
|
<td width="10%" >
|
|
<SELECT class="form-control" id="actif" NAME="actif" style='font-size:10pt; text-align:center;' >
|
|
<?php liste_options($verre_actif, '1', true); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td> </td>
|
|
<?php if($adminSin=="1") : ?>
|
|
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_nouveau_verre();" style='font-size:10pt;' > </td>
|
|
<?php else: ?>
|
|
<td> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" disabled style='font-size:10pt;' > </td>
|
|
<?php endif; ?>
|
|
|
|
<td> </td>
|
|
<td> <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:retour_liste_verres();" style='font-size:10pt;' > </td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|