summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-09 18:53:22 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-09 18:53:22 +0000
commit1a5fcacdd9d6831a01d8eab8f49674c59c25cb80 (patch)
tree058d3837d5609f0e26442f38b3e35fe7305d1d36 /modules/aggregator.module
parent928527538757cffbaaee811d06ae7b6a99f2afe4 (diff)
downloadbrdo-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/aggregator.module')
-rw-r--r--modules/aggregator.module17
1 files changed, 8 insertions, 9 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 956e266bf..c81248028 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -2,12 +2,11 @@
// $Id$
-function import_help($section = "admin/import/help") {
+function import_help($section = "admin/help#import") {
$output = "";
switch ($section) {
- case 'admin/help':
- case 'admin/import/help':
+ case 'admin/help#import':
$output .= "<p>Thousands of web sites, especially news sites and weblogs, syndicate their most recent site content for others to display. The syndicated content always includes titles, also known as headlines, for the newest published stories. Each headline acts as a direct link to the stories on the remote site. Along with the headline, most sites typically provide either the first few paragraphs of the story or a short summary. Many individuals use client-based news aggregators on their personal computer to aggregate content, such as %amphetadesk</p>";
$output .= "<p>Drupal also has a news aggregator built in as a standard feature. With it, you can subscribe to feeds from other sites and display their content for your site users. Simply enable the import module in site administration and enter the feeds that you choose.</p>";
$output .= "<h3>What do I need to subscribe to a feed?</h3>";
@@ -99,12 +98,12 @@ function import_link($type) {
if ($type == "system") {
if (user_access("administer news feeds")) {
- menu("admin/node/syndication", t("syndication"), NULL, NULL, 5);
- menu("admin/node/syndication/news", t("RSS/RDF"), "import_admin", import_help("admin/node/syndication/news"));
- menu("admin/node/syndication/news/add/feed", t("new feed"), "import_admin", import_help("admin/node/syndication/news/add/feed"), 2);
- menu("admin/node/syndication/news/add/bundle", t("new bundle"), "import_admin", import_help("admin/node/syndication/news/add/bundle"), 3);
- menu("admin/node/syndication/news/tag", t("tag items"), "import_admin", import_help("admin/node/syndication/news/tag"), 4);
- menu("admin/node/syndication/news/help", t("help"), "import_help", NULL, 9);
+ menu("admin/node/syndication", t("syndication"), NULL, 5);
+ menu("admin/node/syndication/news", t("RSS/RDF"), "import_admin");
+ menu("admin/node/syndication/news/add/feed", t("new feed"), "import_admin", 2);
+ menu("admin/node/syndication/news/add/bundle", t("new bundle"), "import_admin", 3);
+ menu("admin/node/syndication/news/tag", t("tag items"), "import_admin", 4);
+ menu("admin/node/syndication/news/help", t("help"), "import_help", 9);
}
}