From a45fc1a20e1e9b8bf64c286db7a672d3954e88d9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 Mar 2001 17:50:08 +0000 Subject: - themes now get there header/footer links through theme_link(); - tidied up example.theme --- includes/theme.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'includes/theme.inc') diff --git a/includes/theme.inc b/includes/theme.inc index cc9909468..f7fe640dc 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -12,6 +12,16 @@ function theme_init() { return new Theme(); } +function theme_link($separator = " | ") { + $links = array("". t("home") ."", + "". t("search") ."", + "". t("submit") ."", + "". t("diary") ."", + "". t("account") ."", + "". t("help") .""); + return implode($separator, $links); +} + function theme_menu($name, $module) { global $menu; if ($module["menu"]) $menu = ($menu) ? array_merge($menu, $module["menu"]()) : $module["menu"](); -- cgit v1.2.3