Subversion Repositories Applications.framework

Rev

Rev 236 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<h2>Liste des administrateurs</h2>
<?php if (isset($admin)) : ?>
<table class="liste_admin">
        <thead>
                <tr>
                        <th>Identifiant d'admin</th>
                        <th>Nom</th>
                        <th>Prénom</th>
                        <th>Langue</th>
                        <th></th>
                        <th></th>
                </tr>
        </thead>
        <tbody>
                <?php foreach ($admin as $element) : ?>
                <tr>
                        <td><?=$element['ga_id_administrateur'] ?></td>
                        <td><?=$element['ga_nom'] ?></td>
                        <td><?=$element['ga_prenom'] ?></td>
                        <td><?=$element['ga_ce_i18n'] ?></td>
                        <td><a href="<?php $url->setVariablesRequete(array('m' => 'modif_admin', 'id_admin' => $element['ga_id_administrateur'])); 
                                                        echo $url; ?>">Modifier</a></td>
                        <td><a href="<?php $url->setVariableRequete('m','supp_admin');
                                                        echo $url; ?>">Supprimer</a></td>
                </tr>
                <?php endforeach; ?>
        </tbody>
</table>
<?php if (isset($erreurs['supp'])): ?>
<p><span class="symbole_obligatoire"> <?=$erreurs['supp'];?> </span></p>
<?php endif; ?>
<?php endif; ?>
<p><a href="<?php $url->setVariableRequete('m','ajout_admin') ; echo $url ;?>"> Ajouter un administrateur </a></p>