diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-29 10:18:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-29 10:18:38 +0000 |
commit | 1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34 (patch) | |
tree | 746f550c09c4a827c859d32384b055e35db1fcd0 /modules/user | |
parent | f7e11d3bb763d0f8c3b0551b7f5848f72c557ac0 (diff) | |
download | brdo-1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34.tar.gz brdo-1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34.tar.bz2 |
- Al's CSS patches. This commit improves the themability of some core
components such as lists, form items, removes an ugly hack from the
archive module and should fix the poll problem (although it doesn't
Opera/Konqueror).
Diffstat (limited to 'modules/user')
-rw-r--r-- | modules/user/user.module | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index acb08673b..0e1fa4647 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -352,15 +352,13 @@ function user_block($op = "list", $delta = 0) { break; case 1: if ($user->uid) { - $content[] = theme("theme_menu_list", module_invoke_all("link", "menu.create")); - $content[] = theme("theme_menu_list", module_invoke_all("link", "menu.view")); - $content[] = theme("theme_menu_list", module_invoke_all("link", "menu.settings")); - $content[] = theme("theme_menu_list", module_invoke_all("link", "menu.misc")); - - $output = implode($content, "<br />"); + $output .= theme("theme_menu_list", module_invoke_all("link", "menu.create")); + $output .= theme("theme_menu_list", module_invoke_all("link", "menu.view")); + $output .= theme("theme_menu_list", module_invoke_all("link", "menu.settings")); + $output .= theme("theme_menu_list", module_invoke_all("link", "menu.misc")); $block["subject"] = $user->name; - $block["content"] = "<div style=\"{ white-space: nowrap; }\">$output</div>"; + $block["content"] = "<div style=\"white-space: nowrap;\">$output</div>"; return $block; } break; |