diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-23 14:59:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-23 14:59:15 +0000 |
commit | 5ff9dd653fdae48b87a5c5ee415a66edc5509cb6 (patch) | |
tree | 1939cd595d26d5d3eb311f3a956ead2e9099dccc /includes/theme.inc | |
parent | f890592b2fecd72797a6b4dea7419c9bfb7da153 (diff) | |
download | brdo-5ff9dd653fdae48b87a5c5ee415a66edc5509cb6.tar.gz brdo-5ff9dd653fdae48b87a5c5ee415a66edc5509cb6.tar.bz2 |
- Made it possible to enter longer username such as 'Gerhard K*llesreit'.
- Updated database.mysql.
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 68c2d5adf..b01638d60 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -27,7 +27,7 @@ function theme_init() { } function theme_link() { - global $theme; + global $user, $theme; $links[] = array("index.php", t("home")); $links[] = array("search.php", t("search")); $links[] = array("submit.php", t("submit")); @@ -37,10 +37,6 @@ function theme_link() { if (module_hook($name, "page")) $links[] = array("module.php?mod=$name", t($name)); } -// if (module_exist("forum")) $links[] = "<A HREF=\"module.php?mod=forum\">".t("forum") ."</A>"; -// if (module_exist("diary")) $links[] = "<A HREF=\"module.php?mod=diary\">". t("diary") ."</A>"; -// if (module_exist("book")) $links[] = "<A HREF=\"module.php?mod=book\">". t("handbook") ."</A>"; - return $theme->links($links, 2); } |