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.
This commit is contained in:
Bharat Mediratta
2010-09-08 00:50:30 -07:00
parent 8fed0fb2e2
commit 90ba0f9237
3 changed files with 17 additions and 3 deletions

View File

@@ -0,0 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-admin-users-delete-user">
<p>
<?= t("Really delete <b>%name</b>? Any photos, movies or albums owned by this user will transfer ownership to <b>%new_owner</b>.", array("name" => $user->display_name(), "new_owner" => identity::admin_user()->display_name())) ?>
</p>
<?= $form ?>
</div>