From 6378c43ef76d484c1d1face86918b402f10f0c99 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 2 Jun 2023 23:04:49 +0700 Subject: [PATCH] Revert "Minor improvements (#760)" This reverts commit 495a2bb5c7d83eddf690bf9398737dc2fef7c7da. --- library/includes/page_header.php | 1 + styles/templates/default/index.tpl | 2 +- styles/templates/default/viewforum.tpl | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/library/includes/page_header.php b/library/includes/page_header.php index d38c31a0d..e153030f8 100644 --- a/library/includes/page_header.php +++ b/library/includes/page_header.php @@ -44,6 +44,7 @@ if ($bb_cfg['show_online_userlist_index']) { ${$online_list} = CACHE('bb_cache')->get($online_list); } + $template->assign_var('SHOW_ONLINE_LIST'); $template->assign_vars(array( 'TOTAL_USERS_ONLINE' => ${$online_list}['stat'], 'LOGGED_IN_USER_LIST' => ${$online_list}['userlist'], diff --git a/styles/templates/default/index.tpl b/styles/templates/default/index.tpl index 6c4592f11..090a27a26 100644 --- a/styles/templates/default/index.tpl +++ b/styles/templates/default/index.tpl @@ -201,7 +201,7 @@

{TOTAL_USERS_ONLINE}  {USERS_ONLINE_COUNTS}

{RECORD_USERS}

- +
{LOGGED_IN_USER_LIST}
diff --git a/styles/templates/default/viewforum.tpl b/styles/templates/default/viewforum.tpl index 3c5083bd8..d391ce140 100644 --- a/styles/templates/default/viewforum.tpl +++ b/styles/templates/default/viewforum.tpl @@ -289,6 +289,10 @@ td.topic_id { cursor: pointer; } $('#moderators').append(data.html); }; + + +

{LOGGED_IN_USER_LIST}

+ {PAGINATION}