From 495a2bb5c7d83eddf690bf9398737dc2fef7c7da Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Fri, 2 Jun 2023 14:43:05 +0700 Subject: [PATCH] Minor improvements (#760) --- library/includes/page_header.php | 1 - styles/templates/default/index.tpl | 2 +- styles/templates/default/viewforum.tpl | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/library/includes/page_header.php b/library/includes/page_header.php index e153030f8..d38c31a0d 100644 --- a/library/includes/page_header.php +++ b/library/includes/page_header.php @@ -44,7 +44,6 @@ 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 090a27a26..6c4592f11 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 d391ce140..3c5083bd8 100644 --- a/styles/templates/default/viewforum.tpl +++ b/styles/templates/default/viewforum.tpl @@ -289,10 +289,6 @@ td.topic_id { cursor: pointer; } $('#moderators').append(data.html); }; - - -

{LOGGED_IN_USER_LIST}

- {PAGINATION}