mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
related to #1679 first go on title uniformization still work to do
This commit is contained in:
@@ -87,7 +87,7 @@ SELECT
|
||||
// | template initialization |
|
||||
// +-----------------------------------------------------------------------+
|
||||
$template->set_filename('user_activity', 'user_activity.tpl');
|
||||
$template->assign('ADMIN_PAGE_TITLE', l10n('User Activity logs'));
|
||||
$template->assign('ADMIN_PAGE_TITLE', l10n('Users'));
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | sending html code |
|
||||
@@ -131,10 +131,16 @@ foreach ($nb_lines_for_user as $id => $nb_line) {
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
$template->assign('ulist', $filterable_users);
|
||||
|
||||
$query = '
|
||||
SELECT COUNT(*)
|
||||
FROM '.USER_INFOS_TABLE.'
|
||||
;';
|
||||
|
||||
list($nb_users) = pwg_db_fetch_row(pwg_query($query));
|
||||
$template->assign('nb_users', $nb_users);
|
||||
|
||||
$template->assign_var_from_handle('ADMIN_CONTENT', 'user_activity');
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user