From 1fc8a18c2d74ec4ce5247b6abedddaadbcde3e34 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 29 May 2003 10:18:38 +0000 Subject: - 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). --- modules/user.module | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'modules/user.module') diff --git a/modules/user.module b/modules/user.module index acb08673b..0e1fa4647 100644 --- a/modules/user.module +++ b/modules/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, "
"); + $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"] = "
$output
"; + $block["content"] = "
$output
"; return $block; } break; -- cgit v1.2.3