diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2003-08-11 20:41:37 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2003-08-11 20:41:37 +0000 |
commit | 17ef869e3ae26f8af4f7cc623dc03392d5131065 (patch) | |
tree | e6e9080e8bbbca93eb500e2dcb5fdd1cbb9ba872 /modules/user | |
parent | b22cd5d1c72ce4a283e6664f5b3059ee37a55e10 (diff) | |
download | brdo-17ef869e3ae26f8af4f7cc623dc03392d5131065.tar.gz brdo-17ef869e3ae26f8af4f7cc623dc03392d5131065.tar.bz2 |
Applied 0007.almaw.home-link-using-l.patch
- Fix link_page to use l() to generate home link.
Applied 0058.kika.themeable-usermenu.patch
- Modifies user menu be themeable.
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index c19015d06..f60d56a3c 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1071,11 +1071,13 @@ function user_edit($edit = array()) { } function user_menu() { + global $theme; + $links[] = l(t("view user information"), "user/view"); $links[] = l(t("edit user information"), "user/edit"); $links[] = l(t("delete account"), "user/delete"); - return "<div style=\"text-align: center;\">". implode(" · ", $links) ."</div>"; + return "<div class=\"user-page-menu\">". $theme->links($links) ."</div>"; } function user_view($uid = 0) { |