Beginning of edit user panel fix. Form is displayed again. Added display of user email address to list.

This commit is contained in:
Chad Kieffer
2009-02-03 06:45:43 +00:00
parent 150a90dabd
commit d656b6a3e6
2 changed files with 43 additions and 40 deletions
+8 -4
View File
@@ -57,12 +57,13 @@
<th></th>
<th><?= t("Username") ?></th>
<th><?= t("Full name") ?></th>
<th class="understate"><?= t("last login") ?></th>
<th><?= t("Email") ?></th>
<th><?= t("Last login") ?></th>
<th>Actions</th>
</tr>
<? foreach ($users as $i => $user): ?>
<tr class="<?= text::alternate("gOddRow", "gEvenRow") ?> user">
<tr id="gUser-<?= $user->id ?>" class="<?= text::alternate("gOddRow", "gEvenRow") ?> user">
<td id="user-<?= $user->id ?>" class="core-info">
<img src="<?= $user->avatar_url(20, $theme->url("images/avatar.jpg", true)) ?>"
title="<?= t("Drag user onto group below to add as a new member") ?>"
@@ -76,8 +77,11 @@
<td>
<?= $user->full_name ?>
</td>
<td class="understate">
<?= ($user->last_login == 0) ? "" : date("m j, y", $user->last_login) ?>
<td>
<?= $user->email ?>
</td>
<td>
<?= ($user->last_login == 0) ? "" : date("j-M-y", $user->last_login) ?>
</td>
<td class="gActions">
<a href="<?= url::site("admin/users/edit_user_form/$user->id") ?>" class="gPanelLink"><?= t("edit") ?></a>