mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
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:
7
modules/user/views/admin_users_delete_user.html.php
Normal file
7
modules/user/views/admin_users_delete_user.html.php
Normal 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>
|
||||
Reference in New Issue
Block a user