prestation/Vue/Ajaxlisterlettrecle/index.php
2025-12-05 10:42:46 +00:00

28 lines
1013 B
PHP
Executable File

<table id="tableLister" class="table table-striped table-bordered table-hover table-condensed table-responsive tabliste compact">
<thead>
<tr>
<th class="text-center">Lettre clé</th>
<th class="text-center">Description</th>
<th class="text-center">Modifier</th>
</tr>
</thead>
<tbody>
<?php foreach ($lettres as $v):
$idData = $this->nettoyer($v['id']);
if (est_anglophone()){
$libelle = $this->nettoyer($v['descriptionEng']);
}else{
$libelle = $this->nettoyer($v['description']);
}
?>
<tr valign="top">
<td class="text-center" width="10%"><?= $this->nettoyer($v['lettreCle']) ?></td>
<td class="text-left" width="55%"><?= $libelle; ?></td>
<td class="text-center" width="10%">
<button style="width:100%" class ="form-control btn btn-primary" type="button" id="btn-editer" name="Modifier"
onclick="JAVASCRIPT:formModifTableRef(<?= $idData; ?>);" >Modifier</button>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>