diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-01-23 18:42:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-01-23 18:42:43 +0000 |
commit | b85eb11e113396490720572d11d30cd83c772ba1 (patch) | |
tree | c40775ddc2808a40651323d2e35800e5f31305df /modules/story.module | |
parent | ce803acecb4b695567d77d5219218d5ae2b100f4 (diff) | |
download | brdo-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.module')
-rw-r--r-- | modules/story.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/story.module b/modules/story.module index 2c05c7838..a66bc6788 100644 --- a/modules/story.module +++ b/modules/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 -> moderate -> post to the main page -> 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 -> moderate -> post to the main page -> comments</strong>. Administrators are able to shortcut this flow as desired.</p>"; - $output .= "In <a href=\"%story-config\">administer » configuration » modules » 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 -> moderate -> post to the main page -> comments</strong>. Administrators are able to shortcut this flow as desired.</p> + In <a href=\"%story-config\">administer » configuration » modules » 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', ''); |