Subversion Repositories Applications.gtt

Rev

Rev 10 | Rev 167 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php if (isset($messages)) : ?>
<?php foreach ($messages as $message) : ?>
<p class="information"><?=$message;?></p>
<?php endforeach; ?>
<?php endif; ?>
<?php if ($preferences) : ?>
<form id="gestion_admin_pref" action="index.php?action=<?=GTT_ACTION_PREFERENCE_VALIDER;?>" name="gestion_admin_pref" method="post">
<input name="champ_nb_total_proj" value="<?=$nbre_projets;?>" type="hidden"/>
<ul>
<?foreach ($preferences as $categorie => $projets):?>
        <li><h2><?=$categorie;?></h2>
        <dl>
        <?foreach ($projets as $projet):?>
                <dt><?=$projet['nom'];?></dt>
                <dd><input id="pr:<?=$projet['id'];?>" name="pr:<?=$projet['id'];?>" value="<?=$projet['valeur'];?>" type="checkbox" <?=$projet['coche']?'checked="checked"':'';?>/></dd>
        <?php endforeach; ?>
        </dl></li>
<?php endforeach; ?>
<li><input id="btn_valider_editer" name="btn_valider_editer" value="<?=$i18n_general_valider;?>" type="submit" /></li>
</ul>
</form>
<?php endif; ?>