mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Minor improvements (#760)
This commit is contained in:
parent
0728fad7d7
commit
495a2bb5c7
3 changed files with 1 additions and 6 deletions
|
@ -44,7 +44,6 @@ if ($bb_cfg['show_online_userlist_index']) {
|
||||||
${$online_list} = CACHE('bb_cache')->get($online_list);
|
${$online_list} = CACHE('bb_cache')->get($online_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->assign_var('SHOW_ONLINE_LIST');
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'TOTAL_USERS_ONLINE' => ${$online_list}['stat'],
|
'TOTAL_USERS_ONLINE' => ${$online_list}['stat'],
|
||||||
'LOGGED_IN_USER_LIST' => ${$online_list}['userlist'],
|
'LOGGED_IN_USER_LIST' => ${$online_list}['userlist'],
|
||||||
|
|
|
@ -201,7 +201,7 @@
|
||||||
<p>{TOTAL_USERS_ONLINE}<!-- IF IS_ADMIN --> {USERS_ONLINE_COUNTS}<!-- ENDIF --></p>
|
<p>{TOTAL_USERS_ONLINE}<!-- IF IS_ADMIN --> {USERS_ONLINE_COUNTS}<!-- ENDIF --></p>
|
||||||
<p>{RECORD_USERS}</p>
|
<p>{RECORD_USERS}</p>
|
||||||
|
|
||||||
<!-- IF SHOW_ONLINE_LIST -->
|
<!-- IF $bb_cfg['show_online_userlist_index'] -->
|
||||||
<style><!-- IF IS_ADMIN -->.colorISL, a.colorISL, a.colorISL:visited { color: #793D00; }<!-- ELSE -->.ou_stat { display: none; }<!-- ENDIF --></style>
|
<style><!-- IF IS_ADMIN -->.colorISL, a.colorISL, a.colorISL:visited { color: #793D00; }<!-- ELSE -->.ou_stat { display: none; }<!-- ENDIF --></style>
|
||||||
<a name="online"></a>
|
<a name="online"></a>
|
||||||
<div id="online_userlist" style="margin-top: 4px;">{LOGGED_IN_USER_LIST}</div>
|
<div id="online_userlist" style="margin-top: 4px;">{LOGGED_IN_USER_LIST}</div>
|
||||||
|
|
|
@ -289,10 +289,6 @@ td.topic_id { cursor: pointer; }
|
||||||
$('#moderators').append(data.html);
|
$('#moderators').append(data.html);
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- IF SHOW_ONLINE_LIST -->
|
|
||||||
<p class="small">{LOGGED_IN_USER_LIST}</p>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
</td>
|
</td>
|
||||||
<td class="tRight vBottom nowrap small"><b>{PAGINATION}</b></td>
|
<td class="tRight vBottom nowrap small"><b>{PAGINATION}</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue