Revert "Minor improvements (#760)"

This reverts commit 495a2bb5c7.
This commit is contained in:
Roman Kelesidis 2023-06-02 23:04:49 +07:00
commit 6378c43ef7
3 changed files with 6 additions and 1 deletions

View file

@ -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'],

View file

@ -201,7 +201,7 @@
<p>{TOTAL_USERS_ONLINE}<!-- IF IS_ADMIN --> &nbsp;{USERS_ONLINE_COUNTS}<!-- ENDIF --></p>
<p>{RECORD_USERS}</p>
<!-- IF $bb_cfg['show_online_userlist_index'] -->
<!-- IF SHOW_ONLINE_LIST -->
<style><!-- IF IS_ADMIN -->.colorISL, a.colorISL, a.colorISL:visited { color: #793D00; }<!-- ELSE -->.ou_stat { display: none; }<!-- ENDIF --></style>
<a name="online"></a>
<div id="online_userlist" style="margin-top: 4px;">{LOGGED_IN_USER_LIST}</div>

View file

@ -289,6 +289,10 @@ td.topic_id { cursor: pointer; }
$('#moderators').append(data.html);
};
</script>
<!-- IF SHOW_ONLINE_LIST -->
<p class="small">{LOGGED_IN_USER_LIST}</p>
<!-- ENDIF -->
</td>
<td class="tRight vBottom nowrap small"><b>{PAGINATION}</b></td>
</tr>