1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-28 10:09:15 +02:00

Removed url output for location

git-svn-id: file:///svn/phpbb/trunk@972 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-09-02 22:02:54 +00:00
parent 29ea1679eb
commit 19469ed26e
2 changed files with 4 additions and 5 deletions

View File

@ -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']))
);
}
}

View File

@ -67,7 +67,7 @@
<tr bgcolor="{userrow.ROW_COLOR}">
<td width="25%">&nbsp;<span class="gen"><a href="{userrow.U_USER_PROFILE}">{userrow.USERNAME}</a></span>&nbsp;</td>
<td width="25%" align="center">&nbsp;<span class="gen">{userrow.LASTUPDATE}</span>&nbsp;</td>
<td width="25%">&nbsp;<span class="gen"><a href="{userrow.U_FORUM_LOCATION}">{userrow.LOCATION}</a></span>&nbsp;</td>
<td width="25%">&nbsp;<span class="gen">{userrow.LOCATION}</span>&nbsp;</td>
<td width="25%">&nbsp;<span class="gen">{userrow.IP_ADDRESS}</span>&nbsp;</td>
</tr>
<!-- END userrow -->