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. --- modules/tracker/tracker.module | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/tracker') diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 3d82de563..1d06272c3 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -104,8 +104,9 @@ function tracker_page() { global $user; if (user_access("access content")) { - print theme("header", t("Recent posts")); - print theme("box", t("Recent posts"), tracker_posts(arg(1))); + drupal_set_title(t("Recent posts")); + print theme("header"); + print tracker_posts(arg(1)); print theme("footer"); } else { -- cgit v1.2.3