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 /includes | |
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 'includes')
-rw-r--r-- | includes/common.inc | 6 |
1 files changed, 3 insertions, 3 deletions
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, "<a href=\"$base_url/\" title=\"". t("Return to the main page.") ."\">". t("home") ."</a>"); + array_unshift($links, l(t("home"), "", array("title" => t("Return to the main page.")))); return $links; } } |