Subversion Repositories Applications.framework

Rev

Rev 128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 128 Rev 233
Line 1... Line 1...
1
<h2>Liste des administrateurs</h2>
1
<h2>Liste des administrateurs</h2>
-
 
2
<?php if (isset($admin)) : ?>
2
<table class="liste_admin">
3
<table class="liste_admin">
-
 
4
	<thead>
-
 
5
		<tr>
3
	<th>Identifiant d'admin</th>
6
			<th>Identifiant d'admin</th>
4
	<th>Nom</th>
7
			<th>Nom</th>
5
	<th>Prénom</th>
8
			<th>Prénom</th>
6
	<th>Langue</th>
9
			<th>Langue</th>
7
	<th></th>
10
			<th></th>
8
	<th></th>
11
			<th></th>
-
 
12
		</tr>
-
 
13
	</thead>
-
 
14
	<tbody>
9
	<?php foreach ($admin as $element) : ?>
15
		<?php foreach ($admin as $element) : ?>
10
	<tr>
16
		<tr>
11
		<td><?=$element['ga_id_administrateur'] ?></td>
17
			<td><?=$element['ga_id_administrateur'] ?></td>
12
		<td><?=$element['ga_nom'] ?></td>
18
			<td><?=$element['ga_nom'] ?></td>
13
		<td><?=$element['ga_prenom'] ?></td>
19
			<td><?=$element['ga_prenom'] ?></td>
14
		<td><?=$element['ga_ce_i18n'] ?></td>
20
			<td><?=$element['ga_ce_i18n'] ?></td>
15
		<td><a href="<?php $url_mod = clone($base_url); 
-
 
16
						$url_mod->setVariablesRequete(array('m' => 'modif_admin', 'id_admin' => $element['ga_id_administrateur'])); 
21
			<td><a href="<?php $url->setVariablesRequete(array('m' => 'modif_admin', 'id_admin' => $element['ga_id_administrateur'])); 
17
						echo $url_mod;
-
 
18
					?>">Modifier</a></td>
22
							echo $url; ?>">Modifier</a></td>
19
		<td><a href="<?php
-
 
20
						$url_mod->setVariableRequete('m','supp_admin');
23
			<td><a href="<?php $url->setVariableRequete('m','supp_admin');
21
						echo $url_mod; 
-
 
22
					?>">Supprimer</a></td>
24
							echo $url; ?>">Supprimer</a></td>
23
	</tr>
25
		</tr>
24
	<?php endforeach; ?>
26
		<?php endforeach; ?>
-
 
27
	</tbody>
25
</table>
28
</table>
26
<?php if (isset($erreurs['supp'])): ?>
29
<?php if (isset($erreurs['supp'])): ?>
27
<span class="symbole_obligatoire"> <?=$erreurs['supp'];?> </span>
30
<p><span class="symbole_obligatoire"> <?=$erreurs['supp'];?> </span></p>
28
<?php endif; ?>
31
<?php endif; ?>
29
<p><a href="<?php $base_url->setVariableRequete('m','ajout_admin') ; echo $base_url ;?>"> Ajouter un administrateur </a></p>
-
 
30
32
<?php endif; ?>
-
 
33
<p><a href="<?php $url->setVariableRequete('m','ajout_admin') ; echo $url ;?>"> Ajouter un administrateur </a></p>
-
 
34