From 17ef869e3ae26f8af4f7cc623dc03392d5131065 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Mon, 11 Aug 2003 20:41:37 +0000 Subject: 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. --- includes/common.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 929644bcb..78eab6609 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -997,14 +997,14 @@ function field_set($string, $name, $value) { } function link_page() { - global $custom_links, $base_url; + global $custom_links; - if (is_array($custom_links)) { + if (0 && is_array($custom_links)) { return $custom_links; } else { $links = module_invoke_all("link", "page"); - array_unshift($links, "". t("home") .""); + array_unshift($links, l(t("home"), "", array("title" => t("Return to the main page.")))); return $links; } } -- cgit v1.2.3