Changeset 702 for trunk/forum/viewonline.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/viewonline.php
r400 r702 3 3 * 4 4 * @package phpBB3 5 * @version $Id : viewonline.php 8705 2008-07-28 16:55:00Z Kellanved$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 140 140 $view_online = $s_user_hidden = false; 141 141 $user_colour = ($row['user_colour']) ? ' style="color:#' . $row['user_colour'] . '" class="username-coloured"' : ''; 142 142 143 143 $username_full = ($row['user_type'] != USER_IGNORE) ? get_username_string('full', $row['user_id'], $row['username'], $row['user_colour']) : '<span' . $user_colour . '>' . $row['username'] . '</span>'; 144 144 … … 188 188 } 189 189 190 preg_match('#^([a-z /]+)#i', $row['session_page'], $on_page);190 preg_match('#^([a-z0-9/_-]+)#i', $row['session_page'], $on_page); 191 191 if (!sizeof($on_page)) 192 192 { … … 335 335 'U_WHOIS' => append_sid("{$phpbb_root_path}viewonline.$phpEx", 'mode=whois&s=' . $row['session_id']), 336 336 'U_FORUM_LOCATION' => $location_url, 337 337 338 338 'S_USER_HIDDEN' => $s_user_hidden, 339 339 'S_GUEST' => ($row['user_id'] == ANONYMOUS) ? true : false,
Note:
See TracChangeset
for help on using the changeset viewer.