From c2d7419f23dd2929e7178e2f09f327e08faa348b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 20 Jun 2004 19:49:14 +0000 Subject: [PATCH] - Patch #8681 by stefan: fixed some broken URLs and help texts. --- modules/block.module | 2 +- modules/block/block.module | 2 +- modules/book.module | 2 +- modules/book/book.module | 2 +- modules/drupal.module | 4 ++-- modules/drupal/drupal.module | 4 ++-- modules/forum.module | 2 +- modules/forum/forum.module | 2 +- modules/menu.module | 2 ++ modules/menu/menu.module | 2 ++ modules/node.module | 9 ++++---- modules/node/node.module | 9 ++++---- modules/poll.module | 2 +- modules/poll/poll.module | 2 +- modules/statistics.module | 2 +- modules/statistics/statistics.module | 2 +- modules/system.module | 4 ++-- modules/system/system.module | 4 ++-- modules/throttle.module | 4 ++-- modules/throttle/throttle.module | 4 ++-- modules/tracker.module | 2 +- modules/tracker/tracker.module | 2 +- modules/user.module | 32 ++++++++++++++-------------- modules/user/user.module | 32 ++++++++++++++-------------- modules/watchdog.module | 4 ++-- modules/watchdog/watchdog.module | 4 ++-- 26 files changed, 74 insertions(+), 68 deletions(-) diff --git a/modules/block.module b/modules/block.module index 0c3d8001fbf6..7c2c0c436238 100644 --- a/modules/block.module +++ b/modules/block.module @@ -41,7 +41,7 @@ function block_help($section) { case 'admin/block': return t("Blocks are the boxes in the left- and right- side bars of the web site, depending on the chosen theme. They are created by active Drupal modules. The \"enabled\" checkbox sets the default status of the block. Only enabled blocks are shown. When the \"custom\" checkbox is checked, your users can show or hide the block using their account settings. In that case, the 'enabled' checkbox signifies the block's default status. You can assign the block's placement by giving it a region and a weight. The region specifies which side of the page the block is on, and the weight sorts blocks within a region. Lighter (smaller weight value) blocks \"float up\" towards the top of the page. The path setting lets you define which pages you want a block to be shown on. You can also create your own blocks, where you specify the content of the block rather than its being generated by a module (you can even use PHP in these). You can create one of these by clicking the add block tab in the menu to the left. Edit and delete links will become active below for these admin-defined blocks. Blocks can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%createblock' => url('admin/block/add'), '%throttle' => url('admin/settings/throttle'))); case 'admin/block/add': - return t("Here you can create a new block. Once you have created this block you must make it active and give it a place on the page using blocks. The title is used when displaying the block. The description is used in the \"block\" column on the blocks page. If you are going to place PHP code in the block, and you have the create php content permission (see the permissions page), you must change the type to PHP to make your code active.", array('%overview' => url('admin/block'), '%permission' => url('admin/user/permission'))); + return t("Here you can create a new block. Once you have created this block you must make it active and give it a place on the page using blocks. The title is used when displaying the block. The description is used in the \"block\" column on the blocks page. If you are going to place PHP code in the block, and you have the create php content permission (see the permissions page), you must change the type to PHP to make your code active.", array('%overview' => url('admin/block'), '%permission' => url('admin/user/configure/permission'))); case 'admin/block/preview': return t('This page shows you the placement of your blocks in different theme types. The numbers are the weights of each block, which are used to sort them within the sidebars.'); } diff --git a/modules/block/block.module b/modules/block/block.module index 0c3d8001fbf6..7c2c0c436238 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -41,7 +41,7 @@ function block_help($section) { case 'admin/block': return t("Blocks are the boxes in the left- and right- side bars of the web site, depending on the chosen theme. They are created by active Drupal modules. The \"enabled\" checkbox sets the default status of the block. Only enabled blocks are shown. When the \"custom\" checkbox is checked, your users can show or hide the block using their account settings. In that case, the 'enabled' checkbox signifies the block's default status. You can assign the block's placement by giving it a region and a weight. The region specifies which side of the page the block is on, and the weight sorts blocks within a region. Lighter (smaller weight value) blocks \"float up\" towards the top of the page. The path setting lets you define which pages you want a block to be shown on. You can also create your own blocks, where you specify the content of the block rather than its being generated by a module (you can even use PHP in these). You can create one of these by clicking the add block tab in the menu to the left. Edit and delete links will become active below for these admin-defined blocks. Blocks can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%createblock' => url('admin/block/add'), '%throttle' => url('admin/settings/throttle'))); case 'admin/block/add': - return t("Here you can create a new block. Once you have created this block you must make it active and give it a place on the page using blocks. The title is used when displaying the block. The description is used in the \"block\" column on the blocks page. If you are going to place PHP code in the block, and you have the create php content permission (see the permissions page), you must change the type to PHP to make your code active.", array('%overview' => url('admin/block'), '%permission' => url('admin/user/permission'))); + return t("Here you can create a new block. Once you have created this block you must make it active and give it a place on the page using blocks. The title is used when displaying the block. The description is used in the \"block\" column on the blocks page. If you are going to place PHP code in the block, and you have the create php content permission (see the permissions page), you must change the type to PHP to make your code active.", array('%overview' => url('admin/block'), '%permission' => url('admin/user/configure/permission'))); case 'admin/block/preview': return t('This page shows you the placement of your blocks in different theme types. The numbers are the weights of each block, which are used to sort them within the sidebars.'); } diff --git a/modules/book.module b/modules/book.module index c7d754fb0a26..3a31e0dedcf4 100644 --- a/modules/book.module +++ b/modules/book.module @@ -931,7 +931,7 @@ function book_help($section = "admin/help#book") {

Collaborative books let you easily set up a Frequently Asked Questions (FAQ) section on your web site. The main benefit is that you don't have to write all the questions/answers by yourself - let the community do it for you!

In order to set up the FAQ, you have to create a new book which will hold all your content. To do so, click on the submit content » book page link. Give it a thoughtful title, and body. A title like \"Estonia Travel - FAQ\" is nice. You may always edit these fields later. You will probably want to designate <top-level> as the parent of this page. Leave the log message and type fields blank for now. After you have submitted this book page, you are ready to begin filling up your book with questions that are frequently asked.

Whenever you come across a post which you want to include in your FAQ, click on the administer link. Then click on the edit book outline button at the bottom of the page. Then place the relevant post wherever is most appropriate in your book by selecting a parent. Books are quite flexible. They can have sections like Flying to Estonia, Eating in Estonia and so on. As you get more experienced with the book module, you can reorganize posts in your book so that it stays organized.

-

Notes:

", array("%permissions" => url("admin/user/permission"), "%create" => url("node/add/book"), "%collaborative-book" => url("admin/node/book"), "%orphans-book" => url("admin/node/book/orphan"), "%export-book" => url("book/print"))); +

Notes:

", array("%permissions" => url("admin/user/configure/permission"), "%create" => url("node/add/book"), "%collaborative-book" => url("admin/node/book"), "%orphans-book" => url("admin/node/book/orphan"), "%export-book" => url("book/print"))); break; case 'admin/modules#description': $output = t("Allows users to collaboratively author a book."); diff --git a/modules/book/book.module b/modules/book/book.module index c7d754fb0a26..3a31e0dedcf4 100644 --- a/modules/book/book.module +++ b/modules/book/book.module @@ -931,7 +931,7 @@ function book_help($section = "admin/help#book") {

Collaborative books let you easily set up a Frequently Asked Questions (FAQ) section on your web site. The main benefit is that you don't have to write all the questions/answers by yourself - let the community do it for you!

In order to set up the FAQ, you have to create a new book which will hold all your content. To do so, click on the submit content » book page link. Give it a thoughtful title, and body. A title like \"Estonia Travel - FAQ\" is nice. You may always edit these fields later. You will probably want to designate <top-level> as the parent of this page. Leave the log message and type fields blank for now. After you have submitted this book page, you are ready to begin filling up your book with questions that are frequently asked.

Whenever you come across a post which you want to include in your FAQ, click on the administer link. Then click on the edit book outline button at the bottom of the page. Then place the relevant post wherever is most appropriate in your book by selecting a parent. Books are quite flexible. They can have sections like Flying to Estonia, Eating in Estonia and so on. As you get more experienced with the book module, you can reorganize posts in your book so that it stays organized.

-

Notes:

", array("%permissions" => url("admin/user/permission"), "%create" => url("node/add/book"), "%collaborative-book" => url("admin/node/book"), "%orphans-book" => url("admin/node/book/orphan"), "%export-book" => url("book/print"))); +

Notes:

", array("%permissions" => url("admin/user/configure/permission"), "%create" => url("node/add/book"), "%collaborative-book" => url("admin/node/book"), "%orphans-book" => url("admin/node/book/orphan"), "%export-book" => url("book/print"))); break; case 'admin/modules#description': $output = t("Allows users to collaboratively author a book."); diff --git a/modules/drupal.module b/modules/drupal.module index cbc0f40d1662..61efcb8c1ff3 100644 --- a/modules/drupal.module +++ b/modules/drupal.module @@ -11,8 +11,8 @@ function drupal_help($section) {

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.

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

Drupal administrators should simply enable this feature to get listed on the Drupal sites page. Just set your site's name, e-mail address, slogan and mission statement on the site administration page. Then make sure that the field called Drupal XML-RPC server on the administer » configuration » modules » drupal page is set to %drupal-xml-rpc, and enable this feature using the dropdown directly below.

-

The listing of your site will occur shortly after your site's next cron run. Note that cron.php should be called using the domain name which you want to have listed at drupal.org. For example, don't kick off cron by requesting http://127.0.0.1/cron.php. Instead, use a publicly accessible domain name such as http://www.example.com/cron.php.

-

Also note that your installation need not use drupal.org as its directory server. For example, this feature is perfectly capable of aggregating pings from all of your departmental drupal installations sites within an enterprise.

", array('%drupal-sites' => 'http://www.drupal.org/sites', '%Drupal' => 'http://www.drupal.org', '%drupal-xml-rpc' => 'http://www.drupal.org/xmlrpc.php', '%xml-rpc' => 'http://www.xmlrpc.com/', '%site-admin' => url('admin'), '%drupal-settings' => url('admin/settings/drupal'), '%cron' => url('admin/help#cron'))); +

The listing of your site will occur shortly after your site's next cron run. Note that cron.php should be called using the domain name which you want to have listed at drupal.org. For example, don't kick off cron by requesting http://127.0.0.1/cron.php. Instead, use a publicly accessible domain name such as http://www.example.com/cron.php.

+

Also note that your installation need not use drupal.org as its directory server. For example, this feature is perfectly capable of aggregating pings from all of your departmental drupal installations sites within an enterprise.

", array('%drupal-sites' => 'http://www.drupal.org/sites', '%Drupal' => 'http://www.drupal.org', '%drupal-xml-rpc' => 'http://www.drupal.org/xmlrpc.php', '%xml-rpc' => 'http://www.xmlrpc.com/', '%site-admin' => url('admin'), '%drupal-settings' => url('admin/settings/drupal'))); case 'admin/modules#description': return t('Lets users log in using a Drupal ID and can notify a central server about your site.'); case 'admin/settings/drupal': diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index cbc0f40d1662..61efcb8c1ff3 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -11,8 +11,8 @@ function drupal_help($section) {

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.

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

Drupal administrators should simply enable this feature to get listed on the Drupal sites page. Just set your site's name, e-mail address, slogan and mission statement on the site administration page. Then make sure that the field called Drupal XML-RPC server on the administer » configuration » modules » drupal page is set to %drupal-xml-rpc, and enable this feature using the dropdown directly below.

-

The listing of your site will occur shortly after your site's next cron run. Note that cron.php should be called using the domain name which you want to have listed at drupal.org. For example, don't kick off cron by requesting http://127.0.0.1/cron.php. Instead, use a publicly accessible domain name such as http://www.example.com/cron.php.

-

Also note that your installation need not use drupal.org as its directory server. For example, this feature is perfectly capable of aggregating pings from all of your departmental drupal installations sites within an enterprise.

", array('%drupal-sites' => 'http://www.drupal.org/sites', '%Drupal' => 'http://www.drupal.org', '%drupal-xml-rpc' => 'http://www.drupal.org/xmlrpc.php', '%xml-rpc' => 'http://www.xmlrpc.com/', '%site-admin' => url('admin'), '%drupal-settings' => url('admin/settings/drupal'), '%cron' => url('admin/help#cron'))); +

The listing of your site will occur shortly after your site's next cron run. Note that cron.php should be called using the domain name which you want to have listed at drupal.org. For example, don't kick off cron by requesting http://127.0.0.1/cron.php. Instead, use a publicly accessible domain name such as http://www.example.com/cron.php.

+

Also note that your installation need not use drupal.org as its directory server. For example, this feature is perfectly capable of aggregating pings from all of your departmental drupal installations sites within an enterprise.

", array('%drupal-sites' => 'http://www.drupal.org/sites', '%Drupal' => 'http://www.drupal.org', '%drupal-xml-rpc' => 'http://www.drupal.org/xmlrpc.php', '%xml-rpc' => 'http://www.xmlrpc.com/', '%site-admin' => url('admin'), '%drupal-settings' => url('admin/settings/drupal'))); case 'admin/modules#description': return t('Lets users log in using a Drupal ID and can notify a central server about your site.'); case 'admin/settings/drupal': diff --git a/modules/forum.module b/modules/forum.module index 4c520aa95959..d850caa5847e 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -13,7 +13,7 @@ function forum_help($section) {

When you are happy with your vocabulary, go to administer » configutation » modules » forum and set Forum vocabulary to the one you have just created. There will now be fora active on the site. For users to access them they must have the \"access content\" permission and to create a topic they must have the \"create forum topics\" permission. These permissions can be set in the permission pages.

Icons

To disable icons, set the icon path as blank in administer » configutation » modules » forum.

-

All files in the icon directory are assumed to be images. You may use images of whatever size you wish, but it is recommended to use 15x15 or 16x16.

", array("%taxonomy" => url('admin/taxonomy/add/vocabulary'), '%taxo-terms' => url('admin/taxonomy'), '%forums' => url('admin/settings/forum'), '%permission' => url('admin/user/permission'))); +

All files in the icon directory are assumed to be images. You may use images of whatever size you wish, but it is recommended to use 15x15 or 16x16.

", array("%taxonomy" => url('admin/taxonomy/add/vocabulary'), '%taxo-terms' => url('admin/taxonomy'), '%forums' => url('admin/settings/forum'), '%permission' => url('admin/user/configure/permission'))); case 'admin/modules#description': return t('Enable threaded discussions about general topics.'); case 'admin/settings/forum': diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 4c520aa95959..d850caa5847e 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -13,7 +13,7 @@ function forum_help($section) {

When you are happy with your vocabulary, go to administer » configutation » modules » forum and set Forum vocabulary to the one you have just created. There will now be fora active on the site. For users to access them they must have the \"access content\" permission and to create a topic they must have the \"create forum topics\" permission. These permissions can be set in the permission pages.

Icons

To disable icons, set the icon path as blank in administer » configutation » modules » forum.

-

All files in the icon directory are assumed to be images. You may use images of whatever size you wish, but it is recommended to use 15x15 or 16x16.

", array("%taxonomy" => url('admin/taxonomy/add/vocabulary'), '%taxo-terms' => url('admin/taxonomy'), '%forums' => url('admin/settings/forum'), '%permission' => url('admin/user/permission'))); +

All files in the icon directory are assumed to be images. You may use images of whatever size you wish, but it is recommended to use 15x15 or 16x16.

", array("%taxonomy" => url('admin/taxonomy/add/vocabulary'), '%taxo-terms' => url('admin/taxonomy'), '%forums' => url('admin/settings/forum'), '%permission' => url('admin/user/configure/permission'))); case 'admin/modules#description': return t('Enable threaded discussions about general topics.'); case 'admin/settings/forum': diff --git a/modules/menu.module b/modules/menu.module index 8be50f4c04fc..8a11aa375f5a 100644 --- a/modules/menu.module +++ b/modules/menu.module @@ -54,6 +54,8 @@ function menu_help($section) { return t('Select an operation from the list to move, change, or delete a menu item. To add a new menu, add a new menu item, or reset all menu items to default values, choose an option from the main menu.'); case 'admin/menu/menu/add': return t('Enter the name for your new menu. Remember to enable the newly created block in the %blocks administration page.', array('%blocks' => l(t('blocks'), 'admin/block'))); + case 'admin/menu/item/add': + return t('Enter the title, path, position and the weight for your new menu item.'); } } diff --git a/modules/menu/menu.module b/modules/menu/menu.module index 8be50f4c04fc..8a11aa375f5a 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -54,6 +54,8 @@ function menu_help($section) { return t('Select an operation from the list to move, change, or delete a menu item. To add a new menu, add a new menu item, or reset all menu items to default values, choose an option from the main menu.'); case 'admin/menu/menu/add': return t('Enter the name for your new menu. Remember to enable the newly created block in the %blocks administration page.', array('%blocks' => l(t('blocks'), 'admin/block'))); + case 'admin/menu/item/add': + return t('Enter the title, path, position and the weight for your new menu item.'); } } diff --git a/modules/node.module b/modules/node.module index ffda472e45f8..5db76c824a60 100644 --- a/modules/node.module +++ b/modules/node.module @@ -30,7 +30,7 @@ function node_help($section = 'admin/help#node') {
Score
The score of the node is gotten by the votes it is given.
Users
The list of users who have voted on a moderated node.
Published
When using Drupal's moderation system a node remains unpublished -- unavailable to non-moderators -- until it is marked Published.
-

Now that you know what is in a node, here are some of the types of nodes available.

", array("%teaser" => url("admin/settings/node"))); +

Now that you know what is in a node, here are some of the types of nodes available.

", array("%teaser" => url("admin/node/configure/settings"))); if ($mod == 'admin') { foreach (node_list() as $type) { @@ -43,7 +43,8 @@ function node_help($section = 'admin/help#node') { case 'admin/modules#description': $output = t('The core that allows content to be submitted to the site.'); break; - case 'admin/settings/node': + case 'admin/node/configure': + case 'admin/node/configure/settings': $output = t('Settings for the core of Drupal. Almost everything is a node so these settings will affect most of the site.'); break; case 'admin/node': @@ -52,8 +53,8 @@ function node_help($section = 'admin/help#node') { case 'admin/node/search': $output = t("Enter a simple pattern to search for a post. This can include the wildcard character *.
For example, a search for \"br*\" might return \"bread bakers\", \"our daily bread\" and \"brenda\"."); break; - case 'admin/settings/node/defaults': - $output = t('This page lets you set the defaults used during creation of nodes for all the different node types.
comment: Read/write setting for comments.
publish: Is this node publicly viewable, has it been published?
promote: Is this node to be promoted to the front page?
moderate: Does this node need approval before it can be viewed?
sticky: Is this node always visible at the top of lists?
revision: Will this node go into the revision system allowing multiple versions to be saved?'); + case 'admin/node/configure/defaults': + $output = t('This page lets you set the defaults used during creation of nodes for all the different node types.
comment: Read/write setting for comments.
publish: Is this node publicly viewable, has it been published?
promote: Is this node to be promoted to the front page?
moderate: Does this node need approval before it can be viewed?
sticky: Is this node always visible at the top of lists?
revision: Will this node go into the revision system allowing multiple versions to be saved?'); break; } diff --git a/modules/node/node.module b/modules/node/node.module index ffda472e45f8..5db76c824a60 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -30,7 +30,7 @@ function node_help($section = 'admin/help#node') {
Score
The score of the node is gotten by the votes it is given.
Users
The list of users who have voted on a moderated node.
Published
When using Drupal's moderation system a node remains unpublished -- unavailable to non-moderators -- until it is marked Published.
-

Now that you know what is in a node, here are some of the types of nodes available.

", array("%teaser" => url("admin/settings/node"))); +

Now that you know what is in a node, here are some of the types of nodes available.

", array("%teaser" => url("admin/node/configure/settings"))); if ($mod == 'admin') { foreach (node_list() as $type) { @@ -43,7 +43,8 @@ function node_help($section = 'admin/help#node') { case 'admin/modules#description': $output = t('The core that allows content to be submitted to the site.'); break; - case 'admin/settings/node': + case 'admin/node/configure': + case 'admin/node/configure/settings': $output = t('Settings for the core of Drupal. Almost everything is a node so these settings will affect most of the site.'); break; case 'admin/node': @@ -52,8 +53,8 @@ function node_help($section = 'admin/help#node') { case 'admin/node/search': $output = t("Enter a simple pattern to search for a post. This can include the wildcard character *.
For example, a search for \"br*\" might return \"bread bakers\", \"our daily bread\" and \"brenda\"."); break; - case 'admin/settings/node/defaults': - $output = t('This page lets you set the defaults used during creation of nodes for all the different node types.
comment: Read/write setting for comments.
publish: Is this node publicly viewable, has it been published?
promote: Is this node to be promoted to the front page?
moderate: Does this node need approval before it can be viewed?
sticky: Is this node always visible at the top of lists?
revision: Will this node go into the revision system allowing multiple versions to be saved?'); + case 'admin/node/configure/defaults': + $output = t('This page lets you set the defaults used during creation of nodes for all the different node types.
comment: Read/write setting for comments.
publish: Is this node publicly viewable, has it been published?
promote: Is this node to be promoted to the front page?
moderate: Does this node need approval before it can be viewed?
sticky: Is this node always visible at the top of lists?
revision: Will this node go into the revision system allowing multiple versions to be saved?'); break; } diff --git a/modules/poll.module b/modules/poll.module index 757f183a1338..b405e245f292 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -15,7 +15,7 @@ function poll_help($section) {
  • To view the results one needs the \"access content\" permission.
  • To administer polls you need the \"administer nodes\" permission.
  • -

    Creating a poll is much like creating any other node. Click \"create poll\" in your user box. The title of the poll should be the question, then enter the answers and the \"base\" vote counts. You can also choose the time period over which the vote will run.

    The Poll item in the navigation links will take you to a page where you can see all the current polls, vote on them (if you haven't already) and view the results.

    ", array("%permissions" => url("admin/user/permission"), "%poll" => url("poll"))); +

    Creating a poll is much like creating any other node. Click \"create poll\" in your user box. The title of the poll should be the question, then enter the answers and the \"base\" vote counts. You can also choose the time period over which the vote will run.

    The Poll item in the navigation links will take you to a page where you can see all the current polls, vote on them (if you haven't already) and view the results.

    ", array("%permissions" => url("admin/user/configure/permission"), "%poll" => url("poll"))); case 'admin/modules#description': return t("Enables your site to capture votes on different topics in the form of multiple choice questions."); case 'node/add#poll': diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 757f183a1338..b405e245f292 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -15,7 +15,7 @@ function poll_help($section) {
  • To view the results one needs the \"access content\" permission.
  • To administer polls you need the \"administer nodes\" permission.
  • -

    Creating a poll is much like creating any other node. Click \"create poll\" in your user box. The title of the poll should be the question, then enter the answers and the \"base\" vote counts. You can also choose the time period over which the vote will run.

    The Poll item in the navigation links will take you to a page where you can see all the current polls, vote on them (if you haven't already) and view the results.

    ", array("%permissions" => url("admin/user/permission"), "%poll" => url("poll"))); +

    Creating a poll is much like creating any other node. Click \"create poll\" in your user box. The title of the poll should be the question, then enter the answers and the \"base\" vote counts. You can also choose the time period over which the vote will run.

    The Poll item in the navigation links will take you to a page where you can see all the current polls, vote on them (if you haven't already) and view the results.

    ", array("%permissions" => url("admin/user/configure/permission"), "%poll" => url("poll"))); case 'admin/modules#description': return t("Enables your site to capture votes on different topics in the form of multiple choice questions."); case 'node/add#poll': diff --git a/modules/statistics.module b/modules/statistics.module index 11b9ace584af..7d286175af8a 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -46,7 +46,7 @@ function statistics_help($section) {
  • administer statistics module - enable for user roles that get to configure the statistics module.
  • administer statistics - enable for user roles that get to view the referrer statistics.
  • If 'administer statistics' and 'access statistics' are both enabled, the user will see a link from each node to that node's referrer statistics (if enabled).

    ", - array('%modules' => url('admin/modules'), '%permissions' => url('admin/user/permission'), '%referer' => url('admin/logs/referrer'), '%access' => url('admin/logs/access'), '%configuration' => url('admin/settings/statistics'), '%block' => url('admin/block'))); + array('%modules' => url('admin/modules'), '%permissions' => url('admin/user/configure/permission'), '%referer' => url('admin/logs/referrer'), '%access' => url('admin/logs/access'), '%configuration' => url('admin/settings/statistics'), '%block' => url('admin/block'))); case 'admin/modules#description': return t('Logs access statistics for your site.'); case 'admin/settings/statistics': diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 11b9ace584af..7d286175af8a 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -46,7 +46,7 @@ function statistics_help($section) {
  • administer statistics module - enable for user roles that get to configure the statistics module.
  • administer statistics - enable for user roles that get to view the referrer statistics.
  • If 'administer statistics' and 'access statistics' are both enabled, the user will see a link from each node to that node's referrer statistics (if enabled).

    ", - array('%modules' => url('admin/modules'), '%permissions' => url('admin/user/permission'), '%referer' => url('admin/logs/referrer'), '%access' => url('admin/logs/access'), '%configuration' => url('admin/settings/statistics'), '%block' => url('admin/block'))); + array('%modules' => url('admin/modules'), '%permissions' => url('admin/user/configure/permission'), '%referer' => url('admin/logs/referrer'), '%access' => url('admin/logs/access'), '%configuration' => url('admin/settings/statistics'), '%block' => url('admin/block'))); case 'admin/modules#description': return t('Logs access statistics for your site.'); case 'admin/settings/statistics': diff --git a/modules/system.module b/modules/system.module index 21a07ea0bbc4..e010c27bdc83 100644 --- a/modules/system.module +++ b/modules/system.module @@ -8,12 +8,12 @@ function system_help($section) { global $base_url; switch ($section) { - case 'admin': + case 'admin/settings': return t('General configuration options for your site. Set up the name of the site, e-mail address used in mail-outs, clean URL options, caching, etc.'); case 'admin/themes': return t('Select which themes are available to your users and specify the default theme.'); case 'admin/modules': - return t("Modules are plugins for Drupal that extend its core functionality. Here you can select which modules are enabled. Click on the name of the module in the navigation menu for their individual configuration pages. Once a module is enabled, new permissions might be made available. Modules can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%permissions' => url('admin/user/permission'), '%throttle' => url('admin/settings/throttle'))); + return t("Modules are plugins for Drupal that extend its core functionality. Here you can select which modules are enabled. Click on the name of the module in the navigation menu for their individual configuration pages. Once a module is enabled, new permissions might be made available. Modules can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%permissions' => url('admin/user/configure/permission'), '%throttle' => url('admin/settings/throttle'))); case 'admin/help#system': return t("

    Drupal comes with system-wide defaults but the setting-module provides control over many Drupal preferences, behaviours including visual and operational settings.

    diff --git a/modules/system/system.module b/modules/system/system.module index 21a07ea0bbc4..e010c27bdc83 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -8,12 +8,12 @@ function system_help($section) { global $base_url; switch ($section) { - case 'admin': + case 'admin/settings': return t('General configuration options for your site. Set up the name of the site, e-mail address used in mail-outs, clean URL options, caching, etc.'); case 'admin/themes': return t('Select which themes are available to your users and specify the default theme.'); case 'admin/modules': - return t("Modules are plugins for Drupal that extend its core functionality. Here you can select which modules are enabled. Click on the name of the module in the navigation menu for their individual configuration pages. Once a module is enabled, new permissions might be made available. Modules can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%permissions' => url('admin/user/permission'), '%throttle' => url('admin/settings/throttle'))); + return t("Modules are plugins for Drupal that extend its core functionality. Here you can select which modules are enabled. Click on the name of the module in the navigation menu for their individual configuration pages. Once a module is enabled, new permissions might be made available. Modules can automatically be temporarily disabled to reduce server load when your site becomes extremely busy by checking throttle. The auto-throttle functionality must be enabled on the throttle configuration page after having enabled the throttle module.", array('%permissions' => url('admin/user/configure/permission'), '%throttle' => url('admin/settings/throttle'))); case 'admin/help#system': return t("

    Drupal comes with system-wide defaults but the setting-module provides control over many Drupal preferences, behaviours including visual and operational settings.

    diff --git a/modules/throttle.module b/modules/throttle.module index fe5fe6b10328..90424a0adc69 100644 --- a/modules/throttle.module +++ b/modules/throttle.module @@ -61,7 +61,7 @@ function throttle_help($section) { switch ($section) { case 'admin/modules#description': return t('Allows configuration of congestion control auto-throttle mechanism.'); - case 'admin/modules/throttle': + case 'admin/settings/throttle': return t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal models to automatically optimize their performance by temporarily disabling CPU-intensive functionality. To use the auto-throttle, the access log must be enabled. It is advised that you carefully read the explanations below and then properly tune this module based on your site\'s requirements and your webserver\'s capabilities.', array('%access' => url('admin/modules/statistics'))); case 'admin/help#throttle': return t(" @@ -96,7 +96,7 @@ function throttle_help($section) { else { // throttle limit not reached, execute normally } -

    ", array('%statistics-module' => url('admin/statistics'), '%throttle-block' => url('admin/user/permission'), '%modules-enable' => url('admin/modules'), '%throttle-config' => url('admin/modules/throttle'), '%statistics-config' => url('admin/modules/statistics'), '%throttle-access' => url('admin/user/permission'), '%throttle-block-enable' => url('admin/block'), '%permissions' => url('admin/user/permission'))); +

    ", array('%statistics-module' => url('admin/statistics'), '%throttle-block' => url('admin/user/configure/permission'), '%modules-enable' => url('admin/modules'), '%throttle-config' => url('admin/settings/throttle'), '%statistics-config' => url('admin/modules/statistics'), '%throttle-access' => url('admin/user/configure/permission'), '%throttle-block-enable' => url('admin/block'), '%permissions' => url('admin/user/configure/permission'))); } } diff --git a/modules/throttle/throttle.module b/modules/throttle/throttle.module index fe5fe6b10328..90424a0adc69 100644 --- a/modules/throttle/throttle.module +++ b/modules/throttle/throttle.module @@ -61,7 +61,7 @@ function throttle_help($section) { switch ($section) { case 'admin/modules#description': return t('Allows configuration of congestion control auto-throttle mechanism.'); - case 'admin/modules/throttle': + case 'admin/settings/throttle': return t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal models to automatically optimize their performance by temporarily disabling CPU-intensive functionality. To use the auto-throttle, the access log must be enabled. It is advised that you carefully read the explanations below and then properly tune this module based on your site\'s requirements and your webserver\'s capabilities.', array('%access' => url('admin/modules/statistics'))); case 'admin/help#throttle': return t(" @@ -96,7 +96,7 @@ function throttle_help($section) { else { // throttle limit not reached, execute normally } -

    ", array('%statistics-module' => url('admin/statistics'), '%throttle-block' => url('admin/user/permission'), '%modules-enable' => url('admin/modules'), '%throttle-config' => url('admin/modules/throttle'), '%statistics-config' => url('admin/modules/statistics'), '%throttle-access' => url('admin/user/permission'), '%throttle-block-enable' => url('admin/block'), '%permissions' => url('admin/user/permission'))); +

    ", array('%statistics-module' => url('admin/statistics'), '%throttle-block' => url('admin/user/configure/permission'), '%modules-enable' => url('admin/modules'), '%throttle-config' => url('admin/settings/throttle'), '%statistics-config' => url('admin/modules/statistics'), '%throttle-access' => url('admin/user/configure/permission'), '%throttle-block-enable' => url('admin/block'), '%permissions' => url('admin/user/configure/permission'))); } } diff --git a/modules/tracker.module b/modules/tracker.module index 33665f552ebf..36791ecd65cd 100644 --- a/modules/tracker.module +++ b/modules/tracker.module @@ -77,7 +77,7 @@ function tracker_page($uid = 0) { $rows[] = array(array('data' => $pager, 'colspan' => 4)); } - $header = array(t('Type'), t('Post'), t('Author'), t('Replies'), t('Last post')); + $header = array(t('type'), t('post'), t('author'), t('replies'), t('last post')); $output .= '
    '; $output .= theme('table', $header, $rows); diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 33665f552ebf..36791ecd65cd 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -77,7 +77,7 @@ function tracker_page($uid = 0) { $rows[] = array(array('data' => $pager, 'colspan' => 4)); } - $header = array(t('Type'), t('Post'), t('Author'), t('Replies'), t('Last post')); + $header = array(t('type'), t('post'), t('author'), t('replies'), t('last post')); $output .= '
    '; $output .= theme('table', $header, $rows); diff --git a/modules/user.module b/modules/user.module index 799ec28d8e9c..4165597b2613 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1699,30 +1699,31 @@ function user_help($section) { switch ($section) { case 'admin/user': - return t('

    Drupal allows users to register, login, logout, maintain user profiles, etc. No participant can use his own name to post content until he signs up for a user account.

    '); + return t('Drupal allows users to register, login, logout, maintain user profiles, etc. No participant can use his own name to post content until he signs up for a user account.'); case 'admin/user/create': case 'admin/user/account/create': return t('This web page allows the administrators to register a new users by hand. Note that you cannot have a user where either the e-mail address or the username match another user in the system.'); - case 'admin/user/access': - return t('Access rules allow Drupal administrators to choose usernames and e-mail address that are prevented from using drupal. To enter the mask for e-mail addresses click on e-mail rules, for the username mask click on name rules.', array('%e-mail' => url('admin/user/access/mail'), '%username' => url('admin/user/access/user'))); - case 'admin/user/access/mail': - return t('Setup and test the e-mail access rules. The access function checks if you match a deny and not an allow. If you match only a deny then it is denied. Any other case, such as both a deny and an allow pattern matching, allows the pattern.
    Notes:
    • To delete a rule click on "delete rule".
    • The order of the rules does not matter.
    '); - case 'admin/user/access/user': - return t('Setup and test the Username access rules. The access function checks if you match a deny and not an allow. If you do then it is denied. Any other case, such as a deny pattern and an allow pattern, allows the pattern.
    Notes:
    • To delete a rule click on "delete rule".
    • The order of the rules does not matter.
    '); - case 'admin/user/permission': - return t('In this area you will define the permissions for each user role (role names are defined on the user roles page). Each permission describes a fine-grained logical operation, such as being able to access the administration pages, or adding/modifying a user account. You could say a permission represents access granted to a user to perform a set of operations.', array('%role' => url('admin/user/role'))); - case 'admin/user/role': + case 'admin/user/configure/access': + return t('Access rules allow Drupal administrators to choose usernames and e-mail address that are prevented from using drupal. To enter the mask for e-mail addresses click on e-mail rules, for the username mask click on name rules.', array('%e-mail' => url('admin/user/configure/access/mail'), '%username' => url('admin/user/configure/access/name'))); + case 'admin/user/configure/access/mail': + return t('Setup and test the e-mail access rules. The access function checks if you match a deny and not an allow. If you match only a deny then it is denied. Any other case, such as both a deny and an allow pattern matching, allows the pattern.
    Notes:
    • To delete a rule click on "delete rule".
    • The order of the rules does not matter.
    '); + case 'admin/user/configure/access/name': + return t('Setup and test the username access rules. The access function checks if you match a deny and not an allow. If you do then it is denied. Any other case, such as a deny pattern and an allow pattern, allows the pattern.
    Notes:
    • To delete a rule click on "delete rule".
    • The order of the rules does not matter.
    '); + case 'admin/user/configure/permission': + return t('In this area you will define the permissions for each user role (role names are defined on the user roles page). Each permission describes a fine-grained logical operation, such as being able to access the administration pages, or adding/modifying a user account. You could say a permission represents access granted to a user to perform a set of operations.', array('%role' => url('admin/user/configure/role'))); + case 'admin/user/configure/role': return t(' - Roles allow you to fine tune the security and administration of drupal. A role defines a group of users that have certain privileges as defined in user permissions. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the names of the various roles. To delete a role choose "edit role".
    By default, Drupal comes with two user roles: + Roles allow you to fine tune the security and administration of drupal. A role defines a group of users that have certain privileges as defined in user permissions. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the role names of the various roles. To delete a role choose "edit role".
    By default, Drupal comes with two user roles:
    • Anonymous user: this role is used for users that don\'t have a user account or that are not authenticated.
    • Authenticated user: this role is assigned automatically to authenticated users. Most registered users will belong to this user role unless specified otherwise.
    • -
    ', array('%permission' => url('admin/user/permission'))); + ', array('%permission' => url('admin/user/configure/permission'))); case 'admin/user/search': return t('Enter a simple pattern ("*" may be user as a wildcard match) to search for a username. For example, one may search for "br" and Drupal might return "brian", "brad", and "brenda".'); case 'admin/modules#description': return t('Enables the user registration and login system.'); - case 'admin/settings/user': + case 'admin/user/configure': + case 'admin/user/configure/settings': return t('In order to use the full power of Drupal a visitor must sign up for an account. This page lets you setup how a user signs up, logs out, the guidelines from the system about user subscriptions, and the e-mails the system will send to the user.'); case 'user/help#user': $site = variable_get('site_name', 'this website'); @@ -1745,7 +1746,7 @@ function user_help($section) {

    Introduction

    Drupal offers a powerful access system that allows users to register, login, logout, maintain user profiles, etc. By using roles you can setup fine grained permissions allowing each role to do only what you want them to. Each user is assigned to one or more roles. By default there are two roles \"anonymous\" - a user who has not logged in, and \"authorized\" a user who has signed up and who has been authorized. As anonymous users, participants suffer numerous disadvantages, for example they cannot sign their names to nodes, and their moderated posts beginning at a lower score.

    In contrast, those with a user account can use their own name or handle and are granted various privileges: the most important is probably the ability to moderate new submissions, to rate comments, and to fine-tune the site to their personal liking, with saved personal settings. Drupal themes make fine tuning quite a pleasure.

    -

    Registered users need to authenticate by supplying either a local username and password, or a remote username and password such as a Jabber ID, DelphiForums ID, or one from a Drupal powered website. See the distributed authentication help for more information on this innovative feature. +

    Registered users need to authenticate by supplying either a local username and password, or a remote username and password such as a Jabber ID, DelphiForums ID, or one from a Drupal powered website. See the distributed authentication help for more information on this innovative feature. The local username and password, hashed with Message Digest 5 (MD5), are stored in your database. When you enter a password it is also hashed with MD5 and compaired with what is in the database. If the hashes match, the username and password are correct. Once a user authenticated session is started, and until that session is over, the user won't have to re-authenticate. To keep track of the individual sessions, Drupal relies on PHP sessions. A visitor accessing your website is assigned an unique ID, the so-called session ID, which is stored in a cookie. For security's sake, the cookie does not contain personal information but acts as a key to retrieve the information stored on your server. When a visitor accesses your site, Drupal will check whether a specific session ID has been sent with the request. If this is the case, the prior saved environment is recreated.

    User preferences and profiles

    Each Drupal user has a profile, and a set of preferences which may be edited by clicking on the \"my account\" link. Of course, a user must be logged into reach those pages. There, users will find a page for changing their preferred time zone, language, username, e-mail address, password, theme, signature, and distributed authentication names. Changes made here take effect immediately. Also, administrators may make profile and preferences changes in account administration on behalf of their users.

    @@ -1754,8 +1755,7 @@ function user_help($section) {

    DA enables a new user to input a username and password into the login box and immediately be recognized, even if that user never registered on your site. This works because Drupal knows how to communicate with external registration databases. For example, lets say that your new user 'Joe' is already a registered member of Delphi Forums. If your Drupal has the delphi module installed, then Drupal will inform Joe on the registration and login screens that he may login with his Delphi ID instead of registering with your Drupal instance. Joe likes that idea, and logs in with a username of joe@remote.delphiforums.com and his usual Delphi password. Drupal then communicates with remote.delphiforums.com (usually using XML, HTTP-POST, or SOAP) behind the scenes and asks "is this password for username=joe?" If Delphi replies yes, then Drupal will create a new local account for joe and log joe into it. Joe may keep on logging into your Drupal instance in the same manner, and he will be logged into the same joe@remote.delphiforums.com account.

    One key element of DA is the 'authmap' table, which maps a user's authname (e.g. joe@remote.delphiforums.com) to his local UID (i.e. user identification number). This map is checked whenever a user successfully logs into an external authentication source. Once Drupal knows that the current user is definitely joe@remote.delphiforums.com (because Delphi says so), he looks up Joe's UID and logs Joe into that account.

    To disable distributed authentication, simply disable or remove all DA modules. For a virgin install, that means removing/disabling the jabber module and the drupal module.

    -

    Drupal is setup so that it is very easy to add support for any external authentication source. You currently have the following authentication modules installed ...

    - %module-list"); +

    Drupal is setup so that it is very easy to add support for any external authentication source. You currently have the following authentication modules installed ...

    ", array('%user-role' => url('admin/user/configure/roles'), '%user-permission' => url('admin/user/configure/permission'), '%jabber' => 'http://www.jabber.org/', '%delphi-forums' => 'http://www.delphiforums.com/', '%drupal' => 'http://www.drupal.org/', '%da-auth' => url('help#da'), '%php-sess' => 'http://www.php.net/manual/en/ref.session.php', '%admin-user' => url('admin/user'), '%xml' => 'http://www.xmlrpc.org/', '%http-post' => 'http://www.w3.org/Protocols/', '%soap' => 'http://www.soapware.org/', '%dis-module' => url('admin/modules'))); foreach (module_list() as $module) { if (module_hook($module, 'auth')) { diff --git a/modules/user/user.module b/modules/user/user.module index 799ec28d8e9c..4165597b2613 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1699,30 +1699,31 @@ function user_help($section) { switch ($section) { case 'admin/user': - return t('

    Drupal allows users to register, login, logout, maintain user profiles, etc. No participant can use his own name to post content until he signs up for a user account.

    '); + return t('Drupal allows users to register, login, logout, maintain user profiles, etc. No participant can use his own name to post content until he signs up for a user account.'); case 'admin/user/create': case 'admin/user/account/create': return t('This web page allows the administrators to register a new users by hand. Note that you cannot have a user where either the e-mail address or the username match another user in the system.'); - case 'admin/user/access': - return t('Access rules allow Drupal administrators to choose usernames and e-mail address that are prevented from using drupal. To enter the mask for e-mail addresses click on e-mail rules, for the username mask click on name rules.', array('%e-mail' => url('admin/user/access/mail'), '%username' => url('admin/user/access/user'))); - case 'admin/user/access/mail': - return t('Setup and test the e-mail access rules. The access function checks if you match a deny and not an allow. If you match only a deny then it is denied. Any other case, such as both a deny and an allow pattern matching, allows the pattern.
    Notes:
    • To delete a rule click on "delete rule".
    • The order of the rules does not matter.
    '); - case 'admin/user/access/user': - return t('Setup and test the Username access rules. The access function checks if you match a deny and not an allow. If you do then it is denied. Any other case, such as a deny pattern and an allow pattern, allows the pattern.
    Notes:
    • To delete a rule click on "delete rule".
    • The order of the rules does not matter.
    '); - case 'admin/user/permission': - return t('In this area you will define the permissions for each user role (role names are defined on the user roles page). Each permission describes a fine-grained logical operation, such as being able to access the administration pages, or adding/modifying a user account. You could say a permission represents access granted to a user to perform a set of operations.', array('%role' => url('admin/user/role'))); - case 'admin/user/role': + case 'admin/user/configure/access': + return t('Access rules allow Drupal administrators to choose usernames and e-mail address that are prevented from using drupal. To enter the mask for e-mail addresses click on e-mail rules, for the username mask click on name rules.', array('%e-mail' => url('admin/user/configure/access/mail'), '%username' => url('admin/user/configure/access/name'))); + case 'admin/user/configure/access/mail': + return t('Setup and test the e-mail access rules. The access function checks if you match a deny and not an allow. If you match only a deny then it is denied. Any other case, such as both a deny and an allow pattern matching, allows the pattern.
    Notes:
    • To delete a rule click on "delete rule".
    • The order of the rules does not matter.
    '); + case 'admin/user/configure/access/name': + return t('Setup and test the username access rules. The access function checks if you match a deny and not an allow. If you do then it is denied. Any other case, such as a deny pattern and an allow pattern, allows the pattern.
    Notes:
    • To delete a rule click on "delete rule".
    • The order of the rules does not matter.
    '); + case 'admin/user/configure/permission': + return t('In this area you will define the permissions for each user role (role names are defined on the user roles page). Each permission describes a fine-grained logical operation, such as being able to access the administration pages, or adding/modifying a user account. You could say a permission represents access granted to a user to perform a set of operations.', array('%role' => url('admin/user/configure/role'))); + case 'admin/user/configure/role': return t(' - Roles allow you to fine tune the security and administration of drupal. A role defines a group of users that have certain privileges as defined in user permissions. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the names of the various roles. To delete a role choose "edit role".
    By default, Drupal comes with two user roles: + Roles allow you to fine tune the security and administration of drupal. A role defines a group of users that have certain privileges as defined in user permissions. Examples of roles include: anonymous user, authenticated user, moderator, administrator and so on. In this area you will define the role names of the various roles. To delete a role choose "edit role".
    By default, Drupal comes with two user roles:
    • Anonymous user: this role is used for users that don\'t have a user account or that are not authenticated.
    • Authenticated user: this role is assigned automatically to authenticated users. Most registered users will belong to this user role unless specified otherwise.
    • -
    ', array('%permission' => url('admin/user/permission'))); + ', array('%permission' => url('admin/user/configure/permission'))); case 'admin/user/search': return t('Enter a simple pattern ("*" may be user as a wildcard match) to search for a username. For example, one may search for "br" and Drupal might return "brian", "brad", and "brenda".'); case 'admin/modules#description': return t('Enables the user registration and login system.'); - case 'admin/settings/user': + case 'admin/user/configure': + case 'admin/user/configure/settings': return t('In order to use the full power of Drupal a visitor must sign up for an account. This page lets you setup how a user signs up, logs out, the guidelines from the system about user subscriptions, and the e-mails the system will send to the user.'); case 'user/help#user': $site = variable_get('site_name', 'this website'); @@ -1745,7 +1746,7 @@ function user_help($section) {

    Introduction

    Drupal offers a powerful access system that allows users to register, login, logout, maintain user profiles, etc. By using roles you can setup fine grained permissions allowing each role to do only what you want them to. Each user is assigned to one or more roles. By default there are two roles \"anonymous\" - a user who has not logged in, and \"authorized\" a user who has signed up and who has been authorized. As anonymous users, participants suffer numerous disadvantages, for example they cannot sign their names to nodes, and their moderated posts beginning at a lower score.

    In contrast, those with a user account can use their own name or handle and are granted various privileges: the most important is probably the ability to moderate new submissions, to rate comments, and to fine-tune the site to their personal liking, with saved personal settings. Drupal themes make fine tuning quite a pleasure.

    -

    Registered users need to authenticate by supplying either a local username and password, or a remote username and password such as a Jabber ID, DelphiForums ID, or one from a Drupal powered website. See the distributed authentication help for more information on this innovative feature. +

    Registered users need to authenticate by supplying either a local username and password, or a remote username and password such as a Jabber ID, DelphiForums ID, or one from a Drupal powered website. See the distributed authentication help for more information on this innovative feature. The local username and password, hashed with Message Digest 5 (MD5), are stored in your database. When you enter a password it is also hashed with MD5 and compaired with what is in the database. If the hashes match, the username and password are correct. Once a user authenticated session is started, and until that session is over, the user won't have to re-authenticate. To keep track of the individual sessions, Drupal relies on PHP sessions. A visitor accessing your website is assigned an unique ID, the so-called session ID, which is stored in a cookie. For security's sake, the cookie does not contain personal information but acts as a key to retrieve the information stored on your server. When a visitor accesses your site, Drupal will check whether a specific session ID has been sent with the request. If this is the case, the prior saved environment is recreated.

    User preferences and profiles

    Each Drupal user has a profile, and a set of preferences which may be edited by clicking on the \"my account\" link. Of course, a user must be logged into reach those pages. There, users will find a page for changing their preferred time zone, language, username, e-mail address, password, theme, signature, and distributed authentication names. Changes made here take effect immediately. Also, administrators may make profile and preferences changes in account administration on behalf of their users.

    @@ -1754,8 +1755,7 @@ function user_help($section) {

    DA enables a new user to input a username and password into the login box and immediately be recognized, even if that user never registered on your site. This works because Drupal knows how to communicate with external registration databases. For example, lets say that your new user 'Joe' is already a registered member of Delphi Forums. If your Drupal has the delphi module installed, then Drupal will inform Joe on the registration and login screens that he may login with his Delphi ID instead of registering with your Drupal instance. Joe likes that idea, and logs in with a username of joe@remote.delphiforums.com and his usual Delphi password. Drupal then communicates with remote.delphiforums.com (usually using XML, HTTP-POST, or SOAP) behind the scenes and asks "is this password for username=joe?" If Delphi replies yes, then Drupal will create a new local account for joe and log joe into it. Joe may keep on logging into your Drupal instance in the same manner, and he will be logged into the same joe@remote.delphiforums.com account.

    One key element of DA is the 'authmap' table, which maps a user's authname (e.g. joe@remote.delphiforums.com) to his local UID (i.e. user identification number). This map is checked whenever a user successfully logs into an external authentication source. Once Drupal knows that the current user is definitely joe@remote.delphiforums.com (because Delphi says so), he looks up Joe's UID and logs Joe into that account.

    To disable distributed authentication, simply disable or remove all DA modules. For a virgin install, that means removing/disabling the jabber module and the drupal module.

    -

    Drupal is setup so that it is very easy to add support for any external authentication source. You currently have the following authentication modules installed ...

    - %module-list"); +

    Drupal is setup so that it is very easy to add support for any external authentication source. You currently have the following authentication modules installed ...

    ", array('%user-role' => url('admin/user/configure/roles'), '%user-permission' => url('admin/user/configure/permission'), '%jabber' => 'http://www.jabber.org/', '%delphi-forums' => 'http://www.delphiforums.com/', '%drupal' => 'http://www.drupal.org/', '%da-auth' => url('help#da'), '%php-sess' => 'http://www.php.net/manual/en/ref.session.php', '%admin-user' => url('admin/user'), '%xml' => 'http://www.xmlrpc.org/', '%http-post' => 'http://www.w3.org/Protocols/', '%soap' => 'http://www.soapware.org/', '%dis-module' => url('admin/modules'))); foreach (module_list() as $module) { if (module_hook($module, 'auth')) { diff --git a/modules/watchdog.module b/modules/watchdog.module index 14c2c17d7b1b..3af7cc6177ac 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -28,8 +28,8 @@ function watchdog_help($section = 'admin/help#watchdog') { return t('Watchdog warning events. These events don\'t stop Drupal from running, but are things you should know.'); case 'admin/modules#description': return t('Logs and records system events.'); - case 'admin/settings/watchdog': - return t('Watchdog logs your system events. To see these events go to the logs. Since these logs can grow out of control if kept around forever, below set how long an item should be kept in the log. Note that to discard entries as set below you must run "cron.php" regularly.', array('%watchdog' => url('admin/logs'))); +// case 'admin/settings/watchdog': +// return t('Watchdog logs your system events. To see these events go to the logs. Since these logs can grow out of control if kept around forever, below set how long an item should be kept in the log. Note that to discard entries as set below you must run "cron.php" regularly.', array('%watchdog' => url('admin/logs'))); } } diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 14c2c17d7b1b..3af7cc6177ac 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -28,8 +28,8 @@ function watchdog_help($section = 'admin/help#watchdog') { return t('Watchdog warning events. These events don\'t stop Drupal from running, but are things you should know.'); case 'admin/modules#description': return t('Logs and records system events.'); - case 'admin/settings/watchdog': - return t('Watchdog logs your system events. To see these events go to the logs. Since these logs can grow out of control if kept around forever, below set how long an item should be kept in the log. Note that to discard entries as set below you must run "cron.php" regularly.', array('%watchdog' => url('admin/logs'))); +// case 'admin/settings/watchdog': +// return t('Watchdog logs your system events. To see these events go to the logs. Since these logs can grow out of control if kept around forever, below set how long an item should be kept in the log. Note that to discard entries as set below you must run "cron.php" regularly.', array('%watchdog' => url('admin/logs'))); } }