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/forum/forum.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index c2c20ee13..2e18afe04 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -397,7 +397,7 @@ function _forum_new($tid) { } function _forum_message_taxonomy() { - return t("Forums are threaded discussions based on the taxonomy system. For the forums to work, the taxonomy module has to be installed and enabled. When activated, a taxonomy vocabulary (eg. \"forums\") needs to be %created and bound to the node type \"forum topic\".", array('%created' => l(t('created'), 'admin/taxonomy/add/vocabulary'))); + return t("Forums are threaded discussions based on the taxonomy system. For the forums to work, the taxonomy module has to be installed and enabled. When activated, a taxonomy vocabulary (eg. \"forums\") needs to be created and bound to the node type \"forum topic\".", array('%created' => url('admin/taxonomy/add/vocabulary'))); } function forum_page() { @@ -680,12 +680,12 @@ function forum_help($section = "admin/help#forum") { switch ($section) { case 'admin/help#forum': $output .= "

Creating a forum

"; - $output .= "

The forum module uses taxonomy to organize itself. To create a forum you first have to create a %taxonomy. When doing this, choose a sensible name for it (such as \"fora\") and make sure under \"Types\" that \"forum\" is selected. Once you have done this, %taxo-terms to it. Each term will become a forum. If you fill in the description field, users will be given additonal information about the forum on the main forum page. For example: \"troubleshooting\" - \"Please ask your questions here.\"

"; - $output .= "

When you are happy with your vocabulary, go to %forums 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.

"; + $output .= "

The forum module uses taxonomy to organize itself. To create a forum you first have to create a taxonomy vocabulary. When doing this, choose a sensible name for it (such as \"fora\") and make sure under \"Types\" that \"forum\" is selected. Once you have done this, add some terms to it. Each term will become a forum. If you fill in the description field, users will be given additonal information about the forum on the main forum page. For example: \"troubleshooting\" - \"Please ask your questions here.\"

"; + $output .= "

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.

"; $output .= "

Icons

"; - $output .= "

To disable icons, set the icon path as blank in %forums.

"; + $output .= "

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

"; $output .= "

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.

"; - $output = t($output, array("%taxonomy" => l(t("taxonomy vocabulary"), "admin/taxonomy/add/vocabulary"), "%taxo-terms" => l(t("add some terms"), "admin/taxonomy"), "%forums" => l(t("administer") ." » ". t("configutation") ." » ". t("modules") ." » ". t("forum"), "admin/system/modules/forum"), "%permission" => l(t("permission"), "admin/user/permission"))); + $output = t($output, array("%taxonomy" => url("admin/taxonomy/add/vocabulary"), "%taxo-terms" => url("admin/taxonomy"), "%forums" => url("admin/system/modules/forum"), "%permission" => url("admin/user/permission"))); break; case 'admin/system/modules#description': $output = t("Enable threaded discussions about general topics."); -- cgit v1.2.3