From a8b8c247db070d96a663ab8bb57a40ead173300a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 11 Jan 2004 20:31:26 +0000 Subject: - Patch #5021: clean up URLs in _help texts. Patch by UnConeD. --- modules/node.module | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/node.module') diff --git a/modules/node.module b/modules/node.module index 2b25cc950..770661cc1 100644 --- a/modules/node.module +++ b/modules/node.module @@ -12,13 +12,13 @@ function node_help($section = "admin/help#node") { $output .= "

The core of the Drupal system is the node. All of the contents of the system are placed in nodes, or extensions of nodes."; $output .= "A base node contains:

"; $output .= "
A Title
Up to 128 characters of text that titles the node.
"; - $output .= "
A Teaser
A small block of text that is meant to get you interested in the rest of node. Drupal will automatically pull a small amount of the body of the node to make the teaser (To configure how long the teaser will be %teaser). The teaser can be changed if you don't like what Drupal grabs.
"; + $output .= "
A Teaser
A small block of text that is meant to get you interested in the rest of node. Drupal will automatically pull a small amount of the body of the node to make the teaser (To configure how long the teaser will be click here). The teaser can be changed if you don't like what Drupal grabs.
"; $output .= "
The Body
The main text that comprises your content.
"; $output .= "
A Type
What kind of node is this? Blog, book, forum, comment, unextended, etc.
"; $output .= "
An Author
The author's name. It will either be \"anonymous\" or a valid user. You cannot set it to an arbitrary value.
"; $output .= "
Authored on
The date the node was written.
"; $output .= "
Changed
The last time this node was changed.
"; - $output .= "
Static on front page
The front page is configured to show the teasers from only a few of the total nodes you have on your site (To configure how many teasers %teaser), but if you think a node is important enough that you want it to stay on the front page enable this.
"; + $output .= "
Static on front page
The front page is configured to show the teasers from only a few of the total nodes you have on your site (To configure how many teasers click here), but if you think a node is important enough that you want it to stay on the front page enable this.
"; $output .= "
Allow user comments
A node can have comments. These comments can be written by other users (Read-write), or only by admins (Read-only).
"; $output .= "
Attributes
A way to sort nodes.
"; $output .= "
Revisions
Drupal has a revision system so that you can \"roll back\" to an older version of a post if the new version is not what you want.
"; @@ -30,7 +30,7 @@ function node_help($section = "admin/help#node") { $output .= "
Published
When using Drupal's moderation system a node remains unpublished -- unavaliable to non-moderators -- until it is marked Published.
"; $output .= "

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

"; - $output = t($output, array("%teaser" => l(t("click here"), "admin/system/modules/node"))); + $output = t($output, array("%teaser" => url("admin/system/modules/node"))); if ($mod == "admin") { foreach (module_list() as $name) { @@ -49,7 +49,7 @@ function node_help($section = "admin/help#node") { $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': - $output = t("Below is a list of all of the nodes in your site. Other forms of content are listed elsewhere (e.g. %comments).
Clicking a title views that node, while clicking an author's name edits their user information.
Other node-related tasks are available from the menu on the left.", array("%comments" => l(t("comments"), "admin/comment"))); + $output = t("Below is a list of all of the nodes in your site. Other forms of content are listed elsewhere (e.g. comments).
Clicking a title views that node, while clicking an author's name edits their user information.
Other node-related tasks are available from the menu on the left.", array("%comments" => url("admin/comment"))); break; 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\"."); -- cgit v1.2.3