39 lines
1.7 KiB
Plaintext
39 lines
1.7 KiB
Plaintext
<?php
|
|
|
|
?>
|
|
|
|
<legend> <?= _("Collèges types") ?> </legend>
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style="text-align:center" >Code</th>
|
|
<th style="text-align:center" > <?= _("Libellé") ?> </th>
|
|
<th style="text-align:center" > <?= _("Etat") ?> </th>
|
|
<th style="text-align:center" > <?= _("Modifier") ?> </th>
|
|
<th style="text-align:center" > <?= _("Supprimer") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($donnees as $v):
|
|
$idTable = $this->nettoyer($v['id']);
|
|
|
|
$libelle = $this->nettoyer($v['libelle']);
|
|
if (est_anglophone()){
|
|
$libelle = $this->nettoyer($v['libelleEng']);
|
|
}
|
|
?>
|
|
<tr valign="top">
|
|
<td align="center"> <?= $this->nettoyer($v['codeCollegeType']) ?> </td>
|
|
<td> <?= $libelle ?> </td>
|
|
<td width="10%" align="center"> <input class = "form-control btn btn-warning" style="font-size:10pt;" type="button" value="<?= $v['actif']=='1' ? _("Actif") : _("Inactif") ?>" onClick="javascript:modifier_college_type(<?= $idTable ?>);"> </td>
|
|
<td width="10%" align="center"> <input class = "form-control btn btn-primary" style="font-size:10pt;" type="button" value="<?= _("Modifier") ?>" onClick="javascript:modifier_college_type(<?= $idTable ?>);"> </td>
|
|
<td width="10%" align="center"> <input class = "form-control btn btn-danger" style="font-size:10pt;" type="button" value="<?= _("Supprimer") ?>" onClick="javascript:supprimer_college_type(<?= $idTable ?>);"> </td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div id="div_nouveaucollegetype" class="modal fade">
|
|
|
|
</div> |