95 |
jpm |
1 |
<?php if (isset($messages)) : ?>
|
|
|
2 |
<?php foreach ($messages as $message) : ?>
|
|
|
3 |
<p class="information"><?=$message;?></p>
|
|
|
4 |
<?php endforeach; ?>
|
|
|
5 |
<?php endif; ?>
|
|
|
6 |
<?php if ($preferences) : ?>
|
10 |
jpm |
7 |
<form id="gestion_admin_pref" action="index.php?action=<?=GTT_ACTION_PREFERENCE_VALIDER;?>" name="gestion_admin_pref" method="post">
|
|
|
8 |
<input name="champ_nb_total_proj" value="<?=$nbre_projets;?>" type="hidden"/>
|
|
|
9 |
<ul>
|
|
|
10 |
<?foreach ($preferences as $categorie => $projets):?>
|
|
|
11 |
<li><h2><?=$categorie;?></h2>
|
|
|
12 |
<dl>
|
|
|
13 |
<?foreach ($projets as $projet):?>
|
|
|
14 |
<dt><?=$projet['nom'];?></dt>
|
|
|
15 |
<dd><input id="pr:<?=$projet['id'];?>" name="pr:<?=$projet['id'];?>" value="<?=$projet['valeur'];?>" type="checkbox" <?=$projet['coche']?'checked="checked"':'';?>/></dd>
|
|
|
16 |
<?php endforeach; ?>
|
|
|
17 |
</dl></li>
|
|
|
18 |
<?php endforeach; ?>
|
|
|
19 |
<li><input id="btn_valider_editer" name="btn_valider_editer" value="<?=$i18n_general_valider;?>" type="submit" /></li>
|
|
|
20 |
</ul>
|
95 |
jpm |
21 |
</form>
|
|
|
22 |
<?php endif; ?>
|