From 4bdac4333ba34adc61e19180b5f1bcde692615e2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 20 Nov 2003 21:51:23 +0000 Subject: - Patch by JonBob: Phase 2 of the menu system integration project. This unifies the interface used by admin and non-admin pages, and deprecates the _page hook in favor of explicit callbacks from menu(). Breadcrumbs, titles, and help text go away as a result of this patch; they will return in the phase 3 patch, printed by the theme. --- modules/watchdog.module | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'modules/watchdog.module') diff --git a/modules/watchdog.module b/modules/watchdog.module index f97464a16..5981f58d7 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -139,10 +139,14 @@ function watchdog_admin() { default: $output = watchdog_overview(arg(2)); } - return $output; + print theme("header"); + print $output; + print theme("footer"); } else { - return message_access(); + print theme("header"); + print message_access(); + print theme("footer"); } } -- cgit v1.2.3