diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-09 18:53:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-09 18:53:22 +0000 |
commit | 1a5fcacdd9d6831a01d8eab8f49674c59c25cb80 (patch) | |
tree | 058d3837d5609f0e26442f38b3e35fe7305d1d36 /modules/cloud.module | |
parent | 928527538757cffbaaee811d06ae7b6a99f2afe4 (diff) | |
download | brdo-1a5fcacdd9d6831a01d8eab8f49674c59c25cb80.tar.gz brdo-1a5fcacdd9d6831a01d8eab8f49674c59c25cb80.tar.bz2 |
- Committed part 3 of Michael's help system improvements: removed the $help
parameter from the menu() function.
Diffstat (limited to 'modules/cloud.module')
-rw-r--r-- | modules/cloud.module | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/cloud.module b/modules/cloud.module index 17f8fa8c3..fe293237b 100644 --- a/modules/cloud.module +++ b/modules/cloud.module @@ -1,13 +1,11 @@ <?php // $Id$ -function cloud_help($section = "admin/node/syndication/cloud/help") { +function cloud_help($section = "admin/help#cloud") { $output = ""; switch ($section) { - case 'admin/help': - case 'admin/cloud/help': - case 'admin/node/syndication/cloud/help': + case 'admin/help#cloud': $output .= "The cloud monitor tracks or crawls other interesting web sites and displays their last modification dates. Visitors to the host site learn about relevant sites and can easily see if there is new content. Here is how it works:"; $output .= "<ul>"; $output .= "<li>The site administrator enters names and URLs of the relevant pages on the %cloud-add page.</li>"; @@ -54,9 +52,9 @@ function cloud_link($type) { if ($type == "system") { if (user_access("administer site cloud")) { - menu("admin/node/syndication/cloud", t("site cloud"), "cloud_admin", cloud_help("admin/node/syndication/cloud")); - menu("admin/node/syndication/cloud/add", t("add new site"), "cloud_admin", cloud_help("admin/node/syndication/cloud/add")); - menu("admin/node/syndication/cloud/help", t("help"), "cloud_help", NULL, 9); + menu("admin/node/syndication/cloud", t("site cloud"), "cloud_admin"); + menu("admin/node/syndication/cloud/add", t("add new site"), "cloud_admin"); + menu("admin/node/syndication/cloud/help", t("help"), "cloud_help", 9); } } |