newdesigngestionnaire/Vue/Modifiercollegetype/index.php

59 lines
2.6 KiB
PHP
Executable File

<?php
$this->titre = "INTER SANTE - MModifier un collège type";
?>
<input class="sr-only" type="text" id="idTable" name="idTable" value="<?= $this->nettoyer($table['idTable']) ?>" >
<legend> <?= _("Modifier un collège type") ?> </legend>
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td align="center" colspan="4" style="font-size:12pt; background-color: green; color: white; font-weight: bold;">
<?= _("ANCIENNES VALEURS") ?>
</td>
</tr>
<tr>
<td width="10%" > Code </td>
<td width="10%" ><INPUT style="font-size:10pt;" class="form-control" TYPE="text" value="<?=$this->nettoyer($table['codeCollegeType'])?>" readonly ></td>
<td width="10%" align="center" > <?= _("Libellé") ?> </td>
<?php if (est_anglophone()) : ?>
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" value="<?=$this->nettoyer($table['libelleEng'])?>" readonly ></td>
<?php else: ?>
<td><INPUT style="font-size:10pt;" class="form-control" TYPE="text" value="<?=$this->nettoyer($table['libelle'])?>" readonly ></td>
<?php endif; ?>
</tr>
</tbody>
</table>
<table class="table table-responsive table-condensed" style="font-size:10pt;">
<tbody>
<tr>
<td align="center" colspan="4" style="font-size:12pt; background-color: green; color: white; font-weight: bold;">
<?= _("NOUVELLES VALEURS") ?>
</td>
</tr>
<tr>
<td width="10%" > Code </td>
<td width="10%"><INPUT style="font-size:10pt;" class="form-control" TYPE="text" id="codeCollegeType" NAME="codeCollegeType" value="<?=$this->nettoyer($table['codeCollegeType'])?>" readonly ></td>
<td width="10%" align="center" class="required" > <?= _("Libellé") ?> </td>
<?php if (est_anglophone()) : ?>
<td><INPUT style="font-size:10pt;" class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer($table['libelleEng'])?>" required autofocus></td>
<?php else: ?>
<td><INPUT style="font-size:10pt;" class="form-control majuscule" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer($table['libelle'])?>" required autofocus></td>
<?php endif; ?>
</tr>
<tr>
<td colspan="2"> <input id="btn_enreg" name="btn_enreg" class = "form-control btn btn-primary" type="button" value="<?= _("Enregistrer") ?>" onClick="javascript:enregistrer_modif_college_type();" style='font-size:10pt;' > </td>
<td> </td>
<td > <input class = "form-control btn btn-warning" type="button" value="<?= _("Annuler") ?>" onClick="javascript:retour_colleges_types();" style='font-size:10pt;' > </td>
</tr>
</tbody>
</table>