From 90ba0f9237d67ddf73ca1e3235ffb466f2eb0a69 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 8 Sep 2010 00:50:30 -0700 Subject: Show the number of photos/albums the user owns in the Admin > Users page, and improve the message to explain what's going to happen to the deleted user's items. Partial fix for #1344, which I can't reproduce now. --- modules/user/views/admin_users.html.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/user/views/admin_users.html.php') 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 @@ + @@ -86,6 +87,9 @@ last_login == 0) ? "" : gallery::date($user->last_login) ?> + + from("items")->where("owner_id", "=", $user->id)->count_records() ?> + id") ?>" open_text="" -- cgit v1.2.3