From 1a5fcacdd9d6831a01d8eab8f49674c59c25cb80 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 9 Oct 2003 18:53:22 +0000 Subject: - Committed part 3 of Michael's help system improvements: removed the $help parameter from the menu() function. --- modules/drupal/drupal.module | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'modules/drupal/drupal.module') diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index 93ebc1205..85b9573f3 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -1,12 +1,11 @@ The \"Drupal\" module features a capability whereby other drupal sites may call home to report their existence. In turn, this enables a pod of Drupal sites to find, cooperate and advertise each other.

"; $output .= "

Currently, the main application of this feature is the %drupal-sites. By default, fresh Drupal installations can use %Drupal as their directory server and report their existence. This reporting occurs via scheduled %xml-rpc pings.

"; $output .= "

Drupal administrators should simply enable this feature to get listed on the %drupal-sites; just set your site's name, e-mail address, slogan and mission statement. Then make sure that the field called Drupal XML-RPC server on the %drupal-settings page is set to http://www.drupal.org/xmlrpc.php, and enable this feature using the dropdown directly below.

"; @@ -20,7 +19,7 @@ function drupal_help($section = "admin/drupal/help") { case 'admin/system/modules/drupal': $output = t("Using this your Drupal site can \"call home\" and add itself to the Drupal directory. If you want it to add itself to a different directory server you can change the %Drupal-setting setting -- but the directory server has to be able to handle Drupal XML. To get a full site listing go to the %general and set:", array("%Drupal-setting" => l(t("Drupal XML-RPC server"), "admin/system/modules/drupal"), "%general" => l(t("site configuration"), "admin/system"))); break; - case 'user/help': + case 'user/help#drupal': $site = variable_get("site_name", "this web site"); $output = "

%drupal is the name of the software which powers %site. There are Drupal web sites all over the world, and many of them share their registration databases so that users may freely login to any Drupal site using a single Drupal ID.

\n"; @@ -159,7 +158,7 @@ function drupal_auth($username, $password, $server) { function drupal_page() { theme("header"); - theme("box", "Drupal", drupal_help("user/help")); + theme("box", "Drupal", drupal_help("user/help#drupal")); theme("footer"); } -- cgit v1.2.3