diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-23 10:41:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-23 10:41:04 +0000 |
commit | 26735ac5dd06c064bb816bcf264fbeb44ac3b0b7 (patch) | |
tree | 7d3e61703899588cf9a3dd61788965bdcf629266 /includes/theme.inc | |
parent | e4d791fe0d5a70867448c9fd5b2d03b9d69b98a0 (diff) | |
download | brdo-26735ac5dd06c064bb816bcf264fbeb44ac3b0b7.tar.gz brdo-26735ac5dd06c064bb816bcf264fbeb44ac3b0b7.tar.bz2 |
- Committed phase 3 of JonBob's menu changes. Adds an API for modules to
define titles and breadcrumbs for their pages, and updates the theme
system to display them.
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 79d39b857..3e8af9546 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -40,6 +40,12 @@ function theme_header($title = "") { $output .= theme("blocks", "all"); $output .= "</td><td style=\"vertical-align: top;\">"; + $output .= theme("breadcrumb", drupal_get_breadcrumb()); + $output .= "<h1>" . drupal_get_title() . "</h1>"; + if ($help = menu_get_active_help()) { + $output .= "<small>$help</small><hr />"; + } + return $output; } |