diff --git a/wp-admin/b2.css b/wp-admin/b2.css index ddcf20446..0259af98c 100644 --- a/wp-admin/b2.css +++ b/wp-admin/b2.css @@ -1,4 +1,3 @@ - a { color: #00019b; font-weight: bold; @@ -60,7 +59,6 @@ textarea, input, select { padding: 0px; } - .quicktags, .search { background-color: #ccc; color: #000; @@ -111,23 +109,46 @@ textarea, input, select { background: url(http://wordpress.org/images/wp-small.png) #fff no-repeat top center; border: 2px solid #333; color: #333; - padding: 40px 5px 5px 5px; - text-align: right; - width: 210px; height: 170px; - position: absolute; left: 50%; - top: 45%; margin-left: -105px; /* half of width and height */ margin-top: -85px; + padding: 40px 5px 5px 5px; + position: absolute; + text-align: right; + top: 45%; + width: 210px; } + #login textarea, #login input, #login select { background-color: #f0f0f0; - border-width: 1px; - border-color: #cccccc; + border-color: #ccc; border-style: solid; - padding: 2px; + border-width: 1px; margin: 1px; + padding: 2px; +} + +#profile { + margin: 10px; +} + +#profile .left { + border-right: 1px dashed #ccc; + float: left; + margin-right: 5px; + padding-right: 5px; +} + +#profile label { + float: left; + padding-right: 3px; + text-align: right; + width: 85px; +} + +#profile p { + margin: 0 0 4px 0; } #wphead { diff --git a/wp-admin/b2footer.php b/wp-admin/b2footer.php index 5ce9d031c..35f8202d7 100644 --- a/wp-admin/b2footer.php +++ b/wp-admin/b2footer.php @@ -1,11 +1,9 @@ - $querycount queries - ".number_format(timer_stop(),3)." seconds"; } ?> -

 

WordPress Support Forums
diff --git a/wp-admin/b2profile.php b/wp-admin/b2profile.php index 2cbc26ead..25e39d6c5 100644 --- a/wp-admin/b2profile.php +++ b/wp-admin/b2profile.php @@ -37,13 +37,11 @@ for ($i=0; $iquery($query); + if (!$result) { die ("ERROR: couldn't update your profile... please contact the webmaster !

$query

".mysql_error()); } ?> - Profile updated !
- If that window doesn't close itself, close it yourself :p + Profile updated!
+ If this window doesn't close itself, close it yourself :p user_login) + header ('Location: b2profile.php'); - $profile=1; /**/ - include("b2header.php"); + $profile = 1; + include('b2header.php'); ?>
@@ -139,43 +137,43 @@ case "viewprofile": - + - + - + - + - + - + - + - + - + - +
loginuser_login ?>
first nameuser_firstname ?>
last nameuser_lastname ?>
nicknameuser_nickname ?>
emailuser_email) ?>
URLuser_url ?>
ICQ 0) { echo make_clickable("icq:".$profiledata["user_icq"]); } ?>user_icq > 0) { echo make_clickable("icq:".$profiledata->user_icq); } ?>
AIMuser_aim) ?>
MSN IMuser_msn ?>
YahooIMuser_yim ?>
@@ -185,18 +183,18 @@ case "viewprofile": + IDID ?> @@ -205,24 +203,24 @@ case "viewprofile":
- ID
- level + level user_level ?>
posts identity
user_idmode) { + case 'nickname': + $r = $profiledata->user_nickname; break; - case "login": - $r=$profiledata["user_login"]; + case 'login': + $r = $profiledata->user_login; break; - case "firstname": - $r=$profiledata["user_firstname"]; + case 'firstname': + $r = $profiledata->user_firstname; break; - case "lastname": - $r=$profiledata["user_lastname"]; + case 'lastname': + $r = $profiledata->user_lastname; break; - case "namefl": - $r=$profiledata["user_firstname"]." ".$profiledata["user_lastname"]; + case 'namefl': + $r = $profiledata->user_firstname.' '.$profiledata->user_lastname; break; - case "namelf": - $r=$profiledata["user_lastname"]." ".$profiledata["user_firstname"]; + case 'namelf': + $r = $profiledata->user_lastname.' '.$profiledata->user_firstname; break; } echo $r; @@ -280,8 +278,8 @@ break; default: - $profile=1; - include ("b2header.php"); + $profile = 1; + include ('b2header.php'); $profiledata=get_userdata($user_ID); $bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : ''; @@ -289,180 +287,154 @@ default: $bookmarklet_height= ($use_trackback) ? 340 : 300; ?> - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
login
first name" class="postform" />
last name" class="postform" />
nickname" class="postform" />
email" class="postform" />
URL" class="postform" />
ICQ 0) { echo $profiledata["user_icq"]; } ?>" class="postform" />
AIM" class="postform" />
MSN IM" class="postform" />
YahooIM" class="postform" />
- -
- - - - - - - - - - - - - - - - - - 0) { -?> - - -
- ID
- level -
- posts - WordPress + +

Edit Your Profile

+

+ + +

+

User ID: ID ?> | Level: + user_level ?> | Posts: + -

- identity on the blog:
- -
-
- new password (twice)
-
- -

bookmarklet
add the link to your Favorites/Bookmarks
-Login: user_login ?>

+
+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+

+ + +

+
+
+

Identity on the blog: + +

+


+ New Password (Leave blank to stay the same.)
+ + +

+

Bookmarklet
+ add the link to your Favorites/Bookmarks
+ -b2 - -/wp-admin/b2bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'b2 bookmarklet','scrollbars=no,width=480,height=,left=100,top=150,status=yes'));">WordPress + - + -b2 - - - - -

-One-click bookmarklet:
-click here - - +
+ One-click bookmarklet:
+ click here + -b2 - -/wp-admin/b2bookmarklet.php?popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'','b2bookmarklet','scrollbars=no,width=480,height=,left=100,top=150,status=yes'));">WordPress + - + -WordPress - /wp-admin/b2bookmarklet.php?text='+escape(document.getSelection())+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title)+'','b2bookmarklet','scrollbars=no,width=480,height=,left=100,top=150,status=yes'));btw.focus();">WordPress + - + - -

- -SideBar
-Add the WordPress Sidebar! - -

-SideBar
-Add this link to your favorites:
WordPress Sidebar. - -

-


Note: closes the popup window.
+ SideBar
+ Add the WordPress Sidebar! + +
+
+ SideBar
+ Add this link to your favorites:
+ WordPress + Sidebar. + +

+

+

+ + - */ -include("b2footer.php") ?> \ No newline at end of file +include('b2footer.php') ?> \ No newline at end of file