From beeb7bcd65e30340dd1074c19c238688a14568fb Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 1 Jun 2003 08:05:56 +0000 Subject: [PATCH] New b2profile, no tables, all CSS, all the time. git-svn-id: http://svn.automattic.com/wordpress/trunk@126 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2profile.php | 126 +++++++++++++---------------------------- 1 file changed, 39 insertions(+), 87 deletions(-) diff --git a/wp-admin/b2profile.php b/wp-admin/b2profile.php index 25e39d6c58..6a5bf98fb8 100644 --- a/wp-admin/b2profile.php +++ b/wp-admin/b2profile.php @@ -113,11 +113,8 @@ break; case 'viewprofile': require_once('b2verifauth.php'); -/* $profile=1; - get_currentuserinfo(); - -*/ $profiledata = get_userdata($user); + $profiledata = get_userdata($user); if ($HTTP_COOKIE_VARS['wordpressuser'] == $profiledata->user_login) header ('Location: b2profile.php'); @@ -125,84 +122,10 @@ case 'viewprofile': include('b2header.php'); ?> - +

WordPress

-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
loginuser_login ?>
first nameuser_firstname ?>
last nameuser_lastname ?>
nicknameuser_nickname ?>
emailuser_email) ?>
URLuser_url ?>
ICQuser_icq > 0) { echo make_clickable("icq:".$profiledata->user_icq); } ?>
AIMuser_aim) ?>
MSN IMuser_msn ?>
YahooIMuser_yim ?>
- -
- - - - - - - - - - - - - - -
- ID ID ?>
- level user_level ?> -
- posts - -
- identity
- View Profile “ + user_idmode) { case 'nickname': $r = $profiledata->user_nickname; @@ -225,14 +148,43 @@ case 'viewprofile': } echo $r; ?> -
+ ” + +
+

+ Login user_login ?> + | User # ID ?> | Level + user_level ?> | Posts + +

-
+

First: user_firstname ?>

+ +

Last: user_lastname ?>

+ +

Nickname: user_nickname ?>

+ +

Email: user_email) ?> +

+ +

URL: user_url ?>

+ +

ICQ: + user_icq > 0) { echo make_clickable("icq:".$profiledata->user_icq); } ?> +

+ +

AIM: user_aim) ?> +

+ +

MSN IM: user_msn ?>

+ +

Yahoo IM: user_yim ?>

+ + -