From 26735ac5dd06c064bb816bcf264fbeb44ac3b0b7 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 23 Nov 2003 10:41:04 +0000 Subject: - 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. --- includes/common.inc | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ includes/theme.inc | 6 ++++++ 2 files changed, 55 insertions(+) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 2a67db247..aaa95276c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1,6 +1,55 @@ "; + $output .= theme("breadcrumb", drupal_get_breadcrumb()); + $output .= "

" . drupal_get_title() . "

"; + if ($help = menu_get_active_help()) { + $output .= "$help
"; + } + return $output; } -- cgit v1.2.3