41 lines
1.7 KiB
PHP
Executable File
41 lines
1.7 KiB
PHP
Executable File
<?php
|
|
$adminSin = $_SESSION['adminSin'];
|
|
?>
|
|
|
|
|
|
<legend> <?= _("Nouveau modèle verre") ?> </legend>
|
|
|
|
<table class="table table-responsive table-condensed" style="font-size:10pt;">
|
|
<tbody>
|
|
<tr >
|
|
<td width="12%" align="center" class="required"> <?= _("Nom en 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" class="required"> <?= _("Nom en anglais")?> </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-select" 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>
|