39 lines
1.3 KiB
PHP
Executable File
39 lines
1.3 KiB
PHP
Executable File
<div id="div_acte">
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive">
|
|
<thead>
|
|
<tr>
|
|
<th> <?= _("Acte") ?> </th>
|
|
<th style="text-align: center;"> <?= _("Exclu") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<?php foreach ($exclusions as $exclusion):
|
|
$choix = $exclusion['choix'];
|
|
$id_exclusioncollege = $exclusion['id_exclusioncollege'];
|
|
$codeActe = $exclusion['codeActe'];
|
|
?>
|
|
|
|
<tr valign="top">
|
|
<td><?= $this->nettoyer($exclusion['libelleCollege']) ?></td>
|
|
<td><?= $this->nettoyer($exclusion['libelleActe']) ?></td>
|
|
|
|
<?php if($choix=='1'): ?>
|
|
<td style="text-align: center;">
|
|
<input type="checkbox" checked value="<?= $choix ?>"
|
|
onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};
|
|
exclure_acte(this.value,'<?= $codeActe ?>', <?= $id_exclusioncollege ?>);">
|
|
</td>
|
|
<?php else: ?>
|
|
<td style="text-align: center;">
|
|
<input type="checkbox" value="<?= $choix ?>"
|
|
onClick="javascript:if(this.value=='1'){this.value='0'}else{this.value='1'};
|
|
exclure_acte(this.value,'<?= $codeActe ?>', <?= $id_exclusioncollege ?>);">
|
|
</td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|