From 47797714abd9fc1ce0b2d623d80afc5445bb9cfa Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Wed, 20 Aug 2003 21:06:51 +0000 Subject: [PATCH] - Updated the tracker module to the new help system scheme. --- modules/tracker.module | 9 ++++++--- modules/tracker/tracker.module | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/modules/tracker.module b/modules/tracker.module index c58637ba6a75..26fc8674a75d 100644 --- a/modules/tracker.module +++ b/modules/tracker.module @@ -1,9 +1,12 @@ <?php // $Id$ -function tracker_help() { - $output .= "<p>The tracker module is a handy module for displaying the most recent posts. By following the <i>view recent posts</i> link in the user block, a user may quickly review all recent postings.</p>"; - return $output; +function tracker_help($section = "admin/tracker/help") { + + switch ($section) { + case "admin/tracker/help": + return t("<p>The tracker module is a handy module for displaying the most recent posts. By following the <i>view recent posts</i> link in the user block, a user may quickly review all recent postings.</p>"); + } } function tracker_system($field) { diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index c58637ba6a75..26fc8674a75d 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -1,9 +1,12 @@ <?php // $Id$ -function tracker_help() { - $output .= "<p>The tracker module is a handy module for displaying the most recent posts. By following the <i>view recent posts</i> link in the user block, a user may quickly review all recent postings.</p>"; - return $output; +function tracker_help($section = "admin/tracker/help") { + + switch ($section) { + case "admin/tracker/help": + return t("<p>The tracker module is a handy module for displaying the most recent posts. By following the <i>view recent posts</i> link in the user block, a user may quickly review all recent postings.</p>"); + } } function tracker_system($field) { -- GitLab