diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-01-11 20:31:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-01-11 20:31:26 +0000 |
commit | a8b8c247db070d96a663ab8bb57a40ead173300a (patch) | |
tree | 959b434490bbc22d4f73ded0adbaff21600a7262 /modules/forum/forum.module | |
parent | 5ac59aacd2c5d60155b7236c588bed2e750b3e04 (diff) | |
download | brdo-a8b8c247db070d96a663ab8bb57a40ead173300a.tar.gz brdo-a8b8c247db070d96a663ab8bb57a40ead173300a.tar.bz2 |
- Patch #5021: clean up URLs in _help texts. Patch by UnConeD.
Diffstat (limited to 'modules/forum/forum.module')
-rw-r--r-- | modules/forum/forum.module | 10 |
1 files changed, 5 insertions, 5 deletions
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 <a href=\"%created\">created</a> 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 .= "<h3>Creating a forum</h3>"; - $output .= "<p>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.\"</p>"; - $output .= "<p>When you are happy with your vocabulary, go to %forums and set <strong>Forum vocabulary</strong> 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.</p>"; + $output .= "<p>The forum module uses taxonomy to organize itself. To create a forum you first have to create a <a href=\"%taxonomy\">taxonomy vocabulary</a>. 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, <a href=\"%taxo-terms\">add some terms</a> 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.\"</p>"; + $output .= "<p>When you are happy with your vocabulary, go to <a href=\"%forums\">administer » configutation » modules » forum</a> and set <strong>Forum vocabulary</strong> 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\" <a href=\"%permission\">permission</a> and to create a topic they must have the \"create forum topics\" <a href=\"%permission\">permission</a>. These permissions can be set in the <a href=\"%permission\">permission</a> pages.</p>"; $output .= "<h4>Icons</h4>"; - $output .= "<p>To disable icons, set the icon path as blank in %forums.</p>"; + $output .= "<p>To disable icons, set the icon path as blank in <a href=\"%forums\">administer » configutation » modules » forum</a>.</p>"; $output .= "<p>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.</p>"; - $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."); |