diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-07-27 16:56:54 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-07-27 16:56:54 +0000 |
| commit | 1b67df0761a18e9a34b02fcb2faecf51c15c1b66 (patch) | |
| tree | 5e39d7a529c02e6b00607f07d390b1e10fa6987e /phpBB/search.php | |
| parent | c2e9857c5dcfd6565c0ebeb4d145b6638ff1c6d7 (diff) | |
| download | forums-1b67df0761a18e9a34b02fcb2faecf51c15c1b66.tar forums-1b67df0761a18e9a34b02fcb2faecf51c15c1b66.tar.gz forums-1b67df0761a18e9a34b02fcb2faecf51c15c1b66.tar.bz2 forums-1b67df0761a18e9a34b02fcb2faecf51c15c1b66.tar.xz forums-1b67df0761a18e9a34b02fcb2faecf51c15c1b66.zip | |
damn damn damn
git-svn-id: file:///svn/phpbb/trunk@2765 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
| -rw-r--r-- | phpBB/search.php | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index d0e9373a6d..bc1b1a1757 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -1402,7 +1402,7 @@ function username_search() $total_users = ( $row = $db->sql_fetchrow($result) ) ? $row['total_users'] : 0; - $pagination = generate_pagination("search.$phpEx$SID&mode=searchuser&order=$sort_order", $total_users, $board_config['topics_per_page'], $start); + $pagination = generate_pagination("search.$phpEx$SID&mode=searchuser&field=$field&order=$sort_order", $total_users, $board_config['topics_per_page'], $start); // // @@ -1479,19 +1479,6 @@ function username_search() $posts = ( $row['user_posts'] ) ? $row['user_posts'] : 0; $active = ( !$row['user_lastvisit'] ) ? $lang['Never'] : create_date($lang['DATE_FORMAT'], $row['user_lastvisit'], $board_config['board_timezone']); - if ( $row['user_viewemail'] || $acl->get_acl_admin() ) - { - $email_uri = ( $board_config['board_email_form'] ) ? "profile.$phpEx$SID&mode=email&u=" . $user_id : 'mailto:' . $row['user_email']; - - $email_img = '<a href="' . $email_uri . '">' . create_img($theme['icon_email'], $lang['Send_email']) . '</a>'; - $email = '<a href="' . $email_uri . '">' . $lang['Send_email'] . '</a>'; - } - else - { - $email_img = ' '; - $email = ' '; - } - $temp_url = "profile.$phpEx$SID&mode=viewprofile&u=$user_id"; $profile_img = '<a href="' . $temp_url . '">' . create_img($theme['icon_profile'], $lang['Read_profile']) . '</a>'; $profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>'; @@ -1503,30 +1490,9 @@ function username_search() 'JOINED' => $joined, 'POSTS' => $posts, 'ACTIVE' => $active, - 'AVATAR_IMG' => $poster_avatar, 'PROFILE_IMG' => $profile_img, 'PROFILE' => $profile, - 'SEARCH_IMG' => $search_img, - 'SEARCH' => $search, - 'PM_IMG' => $pm_img, - 'PM' => $pm, - 'EMAIL_IMG' => $email_img, - 'EMAIL' => $email, - 'WWW_IMG' => $www_img, - 'WWW' => $www, - 'ICQ_STATUS_IMG' => $icq_status_img, - 'ICQ_IMG' => $icq_img, - 'ICQ' => $icq, - 'AIM_IMG' => $aim_img, - 'AIM' => $aim, - 'MSN_IMG' => $msn_img, - 'MSN' => $msn, - 'YIM_IMG' => $yim_img, - 'YIM' => $yim, - - 'S_ROW_COUNT' => $i, - - 'U_VIEWPROFILE' => "profile.$phpEx$SID&mode=viewprofile&u=$user_id") + 'S_ROW_COUNT' => $i) ); $i++; |
