diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-08-13 07:08:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-08-13 07:08:27 +0000 |
commit | e0b97a75871ec96fb238a2a3c3ffe5f6c30ff542 (patch) | |
tree | ec38e2824d7ae61dcdfa401ca80f08e3ec368d2a | |
parent | 626eeb406efd3d4cbaf4da0b5ea0a85c8e29d8f7 (diff) | |
download | brdo-e0b97a75871ec96fb238a2a3c3ffe5f6c30ff542.tar.gz brdo-e0b97a75871ec96fb238a2a3c3ffe5f6c30ff542.tar.bz2 |
- Usability improvement: changed the title of the main block on the user
information page. Suggested by Keith Instone.
-rw-r--r-- | modules/user.module | 4 | ||||
-rw-r--r-- | modules/user/user.module | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/user.module b/modules/user.module index bd29d03cd..6529b4c72 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1101,7 +1101,7 @@ function user_view($uid = 0) { theme("header"); theme("box", t("User account"), user_menu()); - theme("box", t("View user information"), $output); + theme("box", $user->name, $output); theme("footer"); } else if ($uid && $account = user_load(array("uid" => $uid, "status" => 1))) { @@ -1114,7 +1114,7 @@ function user_view($uid = 0) { } theme("header"); - theme("box", t("View user information"), $output); + theme("box", $account->name, $output); theme("footer"); } else { diff --git a/modules/user/user.module b/modules/user/user.module index bd29d03cd..6529b4c72 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1101,7 +1101,7 @@ function user_view($uid = 0) { theme("header"); theme("box", t("User account"), user_menu()); - theme("box", t("View user information"), $output); + theme("box", $user->name, $output); theme("footer"); } else if ($uid && $account = user_load(array("uid" => $uid, "status" => 1))) { @@ -1114,7 +1114,7 @@ function user_view($uid = 0) { } theme("header"); - theme("box", t("View user information"), $output); + theme("box", $account->name, $output); theme("footer"); } else { |