mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Moved profile.php to ucp.php. ucp is really really broken right now, don't even think about trying to use it.
git-svn-id: file:///svn/phpbb/trunk@3075 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -91,12 +91,12 @@ while ($row = $db->sql_fetchrow($result))
|
||||
|
||||
if ($row['user_allow_viewonline'])
|
||||
{
|
||||
$user_online_link = '<a href="' . "profile.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '">' . $row['username'] . '</a>';
|
||||
$user_online_link = '<a href="' . "ucp.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '">' . $row['username'] . '</a>';
|
||||
$logged_visible_online++;
|
||||
}
|
||||
else
|
||||
{
|
||||
$user_online_link = '<a href="' . "profile.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '"><i>' . $row['username'] . '</i></a>';
|
||||
$user_online_link = '<a href="' . "ucp.$phpEx$SID&mode=viewprofile&u=" . $row['user_id'] . '"><i>' . $row['username'] . '</i></a>';
|
||||
$logged_hidden_online++;
|
||||
}
|
||||
|
||||
@@ -304,8 +304,8 @@ $template->assign_vars(array(
|
||||
'U_LOGIN_LOGOUT'=> $u_login_logout,
|
||||
'U_INDEX' => 'index.'.$phpEx.$SID,
|
||||
'U_SEARCH' => 'search.'.$phpEx.$SID,
|
||||
'U_REGISTER' => 'profile.'.$phpEx.$SID.'&mode=register',
|
||||
'U_PROFILE' => 'profile.'.$phpEx.$SID.'&mode=editprofile',
|
||||
'U_REGISTER' => 'ucp.'.$phpEx.$SID.'&mode=register',
|
||||
'U_PROFILE' => 'ucp.'.$phpEx.$SID.'&mode=editprofile',
|
||||
'U_MODCP' => 'modcp.'.$phpEx.$SID,
|
||||
'U_FAQ' => 'faq.'.$phpEx.$SID,
|
||||
'U_SEARCH_SELF' => 'search.'.$phpEx.$SID.'&search_id=egosearch',
|
||||
|
Reference in New Issue
Block a user