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:
parent
29ea1679eb
commit
19469ed26e
@ -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']))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -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 -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user