diff options
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/admin/index.php | 7 | ||||
-rw-r--r-- | phpBB/templates/PSO/admin/index_body.tpl | 2 |
2 files changed, 4 insertions, 5 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'])) ); } } diff --git a/phpBB/templates/PSO/admin/index_body.tpl b/phpBB/templates/PSO/admin/index_body.tpl index 1fc5f405b3..1b03e07571 100644 --- a/phpBB/templates/PSO/admin/index_body.tpl +++ b/phpBB/templates/PSO/admin/index_body.tpl @@ -67,7 +67,7 @@ <tr bgcolor="{userrow.ROW_COLOR}"> <td width="25%"> <span class="gen"><a href="{userrow.U_USER_PROFILE}">{userrow.USERNAME}</a></span> </td> <td width="25%" align="center"> <span class="gen">{userrow.LASTUPDATE}</span> </td> - <td width="25%"> <span class="gen"><a href="{userrow.U_FORUM_LOCATION}">{userrow.LOCATION}</a></span> </td> + <td width="25%"> <span class="gen">{userrow.LOCATION}</span> </td> <td width="25%"> <span class="gen">{userrow.IP_ADDRESS}</span> </td> </tr> <!-- END userrow --> |