From 92c031cd847125179553e2caf775dc1bf3a7f55d Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 1 Jan 2004 00:55:31 +0000 Subject: [PATCH] Author description field. git-svn-id: http://svn.automattic.com/wordpress/trunk@674 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/menu.php | 2 +- wp-admin/profile.php | 195 ++++++++++++++--------------- wp-includes/functions.php | 1 + wp-includes/template-functions.php | 5 +- 4 files changed, 99 insertions(+), 104 deletions(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index eef258b07..a9291d266 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -19,7 +19,7 @@ foreach ($menu as $item) { ?> -
  • My Profile
  • +
  • My Profile
  • ">View site
  • Logout ()
  • diff --git a/wp-admin/profile.php b/wp-admin/profile.php index c160ac95f..c3b5f1ec4 100644 --- a/wp-admin/profile.php +++ b/wp-admin/profile.php @@ -35,13 +35,10 @@ for ($i=0; $iquery($query); if (!$result) { die ("ERROR: couldn't update your profile... please contact the webmaster !

    $query

    "); } - - ?> - - - Profile updated!
    - If this window doesn't close itself, close it yourself :p - - - user_login) header ('Location: profile.php'); - $profile = 1; - include('admin-header.php'); + include_once('admin-header.php'); ?> -

    WordPress

    -

    View Profile “ user_idmode) { @@ -192,8 +177,6 @@ break; case 'IErightclick': - $profile = 1; - include ('admin-header.php'); $bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : ''; $bookmarklet_tbpb .= ($use_pingback) ? '&pingback=1' : ''; @@ -230,8 +213,7 @@ break; default: - $profile = 1; - include ('admin-header.php'); + include_once('admin-header.php'); $profiledata=get_userdata($user_ID); $bookmarklet_tbpb = ($use_trackback) ? '&trackback=1' : ''; @@ -239,7 +221,12 @@ default: $bookmarklet_height= ($use_trackback) ? 480 : 440; ?> -

    WordPress

    + +
    +

    Profile updated.

    +
    + +

    Edit Your Profile

    @@ -253,76 +240,86 @@ default: echo $posts; ?> | Login: user_login ?>

    -
    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -

    - - -

    -
    -
    -

    Identity on the blog: - + + + Last: + + + + Description: + + + + Nickname: + + + + Email: + + + + URI: + + + + ICQ: + + + + AIM: + + + + MSN IM: + + + + Yahoo IM: + + + + Identity on blog: + -

    -


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

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

    +

    +
    +
    +
    + +