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:
Bharat Mediratta
2008-12-19 22:16:10 +00:00
parent 9d2d824336
commit 6564007a9d
6 changed files with 56 additions and 41 deletions

View File

@@ -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>