mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-25 22:09:11 -04:00
Implement admin user editing. It's still very rough. Trying to
figure out how to share forms between user and admin editing. Incremental improvement
This commit is contained in:
@@ -5,9 +5,15 @@
|
||||
<div class="gBlockContent">
|
||||
<p>These are the users in your system</p>
|
||||
<table>
|
||||
<? foreach ($users as $i => $user): ?>
|
||||
<tr><td><?= $user->name ?></td></tr>
|
||||
<? endforeach ?>
|
||||
<? foreach ($users as $i => $user): ?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="<?= url::site("admin/users/edit/$user->id") ?>">
|
||||
<?= $user->name ?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<? endforeach ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user