summaryrefslogtreecommitdiff
path: root/modules/tracker.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tracker.module')
-rw-r--r--modules/tracker.module7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/tracker.module b/modules/tracker.module
index 094967458..3d82de563 100644
--- a/modules/tracker.module
+++ b/modules/tracker.module
@@ -22,7 +22,7 @@ function tracker_link($type) {
if ($type == "system") {
if (user_access("access content")) {
- menu("tracker", t("recent posts"), "page", 1);
+ menu("tracker", t("recent posts"), "tracker_page", 1);
}
}
@@ -108,6 +108,11 @@ function tracker_page() {
print theme("box", t("Recent posts"), tracker_posts(arg(1)));
print theme("footer");
}
+ else {
+ print theme("header");
+ print message_access();
+ print theme("footer");
+ }
}
?>