summaryrefslogtreecommitdiff
path: root/modules/user/views/admin_users.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/views/admin_users.html.php')
-rw-r--r--modules/user/views/admin_users.html.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php
index b2526bd8..f067cae8 100644
--- a/modules/user/views/admin_users.html.php
+++ b/modules/user/views/admin_users.html.php
@@ -64,6 +64,7 @@
<th><?= t("Full name") ?></th>
<th><?= t("Email") ?></th>
<th><?= t("Last login") ?></th>
+ <th><?= t("Albums/Photos") ?></th>
<th><?= t("Actions") ?></th>
</tr>
@@ -87,6 +88,9 @@
<?= ($user->last_login == 0) ? "" : gallery::date($user->last_login) ?>
</td>
<td>
+ <?= db::build()->from("items")->where("owner_id", "=", $user->id)->count_records() ?>
+ </td>
+ <td>
<a href="<?= url::site("admin/users/edit_user_form/$user->id") ?>"
open_text="<?= t("Close") ?>"
class="g-panel-link g-button ui-state-default ui-corner-all ui-icon-left">