40 lines
2.0 KiB
PHP
Executable File
40 lines
2.0 KiB
PHP
Executable File
<form id="formData">
|
|
<legend id="titre_formData">Modification des données</legend>
|
|
<INPUT class="sr-only" TYPE="text" id = "id" name = "id" value="<?=$joursferiers['id']?>">
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="6%" align="center" class="required">Libellé Fr</td>
|
|
<td width="30%" ><INPUT class="form-control" TYPE="text" id="libelle" NAME="libelle" required AUTOCOMPLETE="OFF" autofocus value="<?= $this->nettoyer($joursferiers['libelle']); ?>"></td>
|
|
|
|
<td width="5%" align="center">Libellé Eng</td>
|
|
<td colspan="3" ><INPUT class="form-control" TYPE="text" id="libelleEng" NAME="libelleEng" value="<?= $this->nettoyer($joursferiers['libelleEng']); ?>"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="5%" align="center" class="required">Date</td>
|
|
<td width="20%" ><INPUT class="form-control datepicker" TYPE="text" id="dateFerier" NAME="dateFerier" required AUTOCOMPLETE="OFF" value="<?= dateLang($this->nettoyer($joursferiers['dateFerier'])) ?>"></td>
|
|
|
|
<td width="5%" align="center" class="required">Pays</td>
|
|
<td width="20%">
|
|
<SELECT onChange="afficheDonneesTableChoisie('Ajaxtblisterjoursferiers');" class="form-control" id="codePays" NAME="codePays" required AUTOCOMPLETE="OFF" >
|
|
<?php liste_options($pays,$joursferiers['codePays']); ?>
|
|
</SELECT>
|
|
</td>
|
|
|
|
<td width="5%" align="center">Demi-journée ?</td>
|
|
<td width="5%">
|
|
<?php
|
|
if($this->nettoyer($joursferiers['demiJournee'] == 0)){
|
|
$check ='';
|
|
}
|
|
else{
|
|
$check = 'checked';
|
|
}
|
|
?>
|
|
<INPUT class="form-control" TYPE="checkbox" id="demiJournee" NAME="demiJournee" value="<?=(($this->nettoyer($banque['banqueSociete'])==0)? 0 : 1);?>" onclick="if (this.checked) this.value=1; else this.value=0;" <?= $check;?>>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|