mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-06-08 05:25:30 +02:00
23 lines
751 B
PHTML
23 lines
751 B
PHTML
<p><a href="?mod=admin&a=add-user">Nouvel utilisateur</a></p>
|
|
<table style="width: 500px; text-align: left;">
|
|
<thead>
|
|
<tr>
|
|
<th>Nom d'utilisateur</th>
|
|
<th> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($users AS $user) : ?>
|
|
<tr>
|
|
<td><?php echo htmlspecialchars($user->getUsername()); ?></td>
|
|
<td>
|
|
<?php if ($user->getUsername() != "admin") : ?>
|
|
<a href="?mod=admin&a=delete-user&username=<?php echo urlencode($user->getUsername()); ?>">supprimer</a>
|
|
<?php else: ?>
|
|
-
|
|
<?php endif; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|