summaryrefslogtreecommitdiff
path: root/modules/story
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-23 18:42:43 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-23 18:42:43 +0000
commitb85eb11e113396490720572d11d30cd83c772ba1 (patch)
treec40775ddc2808a40651323d2e35800e5f31305df /modules/story
parentce803acecb4b695567d77d5219218d5ae2b100f4 (diff)
downloadbrdo-b85eb11e113396490720572d11d30cd83c772ba1.tar.gz
brdo-b85eb11e113396490720572d11d30cd83c772ba1.tar.bz2
Patch 5287 by Stefan: multiline help texts should become inside a single $output.
Diffstat (limited to 'modules/story')
-rw-r--r--modules/story/story.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/story/story.module b/modules/story/story.module
index 2c05c7838..a66bc6788 100644
--- a/modules/story/story.module
+++ b/modules/story/story.module
@@ -12,9 +12,9 @@ function story_help($section = "admin/help#story") {
$output = t("Stories are like newspaper articles. They tend to follow a publishing flow of <strong>submit -&gt; moderate -&gt; post to the main page -&gt; comments</strong>. Below you may fix a minimum word count for stories and also write some submission or content guidelines for users wanting to post a story.");
break;
case 'admin/help#story':
- $output = "<p>The story module lets your users submit articles for consideration by the rest of the community, who can vote on them if moderation is enabled. Stories usually follow a publishing flow of <strong>submit -&gt; moderate -&gt; post to the main page -&gt; comments</strong>. Administrators are able to shortcut this flow as desired.</p>";
- $output .= "In <a href=\"%story-config\">administer &raquo; configuration &raquo; modules &raquo; story</a> you can set up an introductory text for story authors, and a floor on the number of words which may be included in a story. This is designed to help discourage the submission of trivially short stories.";
- $output = t($output, array("%story-config" => url("admin/system/modules/story")));
+ $output = t("
+ <p>The story module lets your users submit articles for consideration by the rest of the community, who can vote on them if moderation is enabled. Stories usually follow a publishing flow of <strong>submit -&gt; moderate -&gt; post to the main page -&gt; comments</strong>. Administrators are able to shortcut this flow as desired.</p>
+ In <a href=\"%story-config\">administer &raquo; configuration &raquo; modules &raquo; story</a> you can set up an introductory text for story authors, and a floor on the number of words which may be included in a story. This is designed to help discourage the submission of trivially short stories.", array("%story-config" => url("admin/system/modules/story")));
break;
case 'node/add/story':
$output = variable_get('story_help', '');