diff options
Diffstat (limited to 'phpBB/admin/index.php')
-rw-r--r-- | phpBB/admin/index.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/admin/index.php b/phpBB/admin/index.php index 86cd7de512..c7d6ae0dea 100644 --- a/phpBB/admin/index.php +++ b/phpBB/admin/index.php @@ -376,7 +376,7 @@ elseif( $HTTP_GET_VARS['pane'] == 'right' ) $location = $forum_data[$onlinerow[$i]['session_page']]; } - $row_color = "#" . ( ( !($count % 2) ) ? $theme['td_color1'] : $theme['td_color2']); + $row_color = ( !($count % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($count % 2) ) ? $theme['td_class1'] : $theme['td_class2']; $count++; @@ -393,15 +393,14 @@ elseif( $HTTP_GET_VARS['pane'] == 'right' ) } $template->assign_block_vars("userrow", array( - "ROW_COLOR" => $row_color, + "ROW_COLOR" => "#" . $row_color, "ROW_CLASS" => $row_class, "USERNAME" => $username, "LOGGED_ON" => $logged_on, "LASTUPDATE" => create_date($board_config['default_dateformat'], $onlinerow[$i]['session_time'], $board_config['default_timezone']), "LOCATION" => $location, "IP_ADDRESS" => $ip_address, - "U_USER_PROFILE" => append_sid("admin_user.$phpEx?" . POST_USERS_URL . "=" . $onlinerow[$i]['user_id']), - "U_FORUM_LOCATION" => append_sid($location_url)) + "U_USER_PROFILE" => append_sid("admin_users.$phpEx?" . POST_USERS_URL . "=" . $onlinerow[$i]['user_id'])) ); } } |