aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index a031c425c6..0519ed8b31 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.php
@@ -332,12 +332,14 @@ while ($row = $db->sql_fetchrow($result))
}
$db->sql_freeresult($result);
+// Refreshing the page every 60 seconds...
+meta_refresh(60, "{$phpbb_root_path}viewonline.$phpEx$SID&sg=$show_guests&sk=$sort_key&sd=$sort_dir&start=$start");
+
// Send data to template
$template->assign_vars(array(
'TOTAL_REGISTERED_USERS_ONLINE' => sprintf($l_r_user_s, $logged_visible_online) . sprintf($l_h_user_s, $logged_hidden_online),
'TOTAL_GUEST_USERS_ONLINE' => sprintf($l_g_user_s, $guest_counter),
'LEGEND' => $legend,
- 'META' => '<meta http-equiv="refresh" content="60; url=viewonline.' . $phpEx . $SID . '" />',
'PAGINATION' => $pagination,
'PAGE_NUMBER' => on_page($counter, $config['topics_per_page'], $start),