Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (15 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/viewonline.php

    r400 r702  
    33*
    44* @package phpBB3
    5 * @version $Id: viewonline.php 8705 2008-07-28 16:55:00Z Kellanved $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    140140                $view_online = $s_user_hidden = false;
    141141                $user_colour = ($row['user_colour']) ? ' style="color:#' . $row['user_colour'] . '" class="username-coloured"' : '';
    142                
     142
    143143                $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>';
    144144
     
    188188        }
    189189
    190         preg_match('#^([a-z/]+)#i', $row['session_page'], $on_page);
     190        preg_match('#^([a-z0-9/_-]+)#i', $row['session_page'], $on_page);
    191191        if (!sizeof($on_page))
    192192        {
     
    335335                'U_WHOIS'                       => append_sid("{$phpbb_root_path}viewonline.$phpEx", 'mode=whois&amp;s=' . $row['session_id']),
    336336                'U_FORUM_LOCATION'      => $location_url,
    337                
     337
    338338                'S_USER_HIDDEN'         => $s_user_hidden,
    339339                'S_GUEST'                       => ($row['user_id'] == ANONYMOUS) ? true : false,
Note: See TracChangeset for help on using the changeset viewer.