related to #1679 first go on title uniformization still work to do

This commit is contained in:
Matthieu Leproux
2022-06-27 11:22:49 +02:00
parent f7301e5011
commit a983d40ddb
26 changed files with 48 additions and 26 deletions
+9 -3
View File
@@ -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');
?>