summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-03-15 19:39:33 +0000
committerDries Buytaert <dries@buytaert.net>2004-03-15 19:39:33 +0000
commitff4055c3b18fe2fd2103cf0a769682ceec2f8134 (patch)
tree8bf3b2e7194c6c9e1c8dfebc568c28d97087d746 /modules
parent10917b1213a21de40f39e61ea66fdd9dbb8d4b02 (diff)
downloadbrdo-ff4055c3b18fe2fd2103cf0a769682ceec2f8134.tar.gz
brdo-ff4055c3b18fe2fd2103cf0a769682ceec2f8134.tar.bz2
includes/theme.inc
Diffstat (limited to 'modules')
-rw-r--r--modules/story.module4
-rw-r--r--modules/story/story.module4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/story.module b/modules/story.module
index 1783bc842..2fdedee59 100644
--- a/modules/story.module
+++ b/modules/story.module
@@ -38,8 +38,8 @@ function story_help($section = "admin/help#story") {
* Declare administrative settings for a module.
*/
function story_settings() {
- $output .= form_textarea("Explanation or submission guidelines", "story_help", variable_get("story_help", ""), 70, 5, "This text will be displayed at the top of the story submission form. It is useful for helping or instructing your users.");
- $output .= form_select(t("Minimum number of words"), "minimum_story_size", variable_get("minimum_story_size", 0), array(0 => "0 words", 10 => "10 words", 25 => "25 words", 50 => "50 words", 75 => "75 words", 100 => "100 words", 125 => "125 words", 150 => "150 words", 175 => "175 words", 200 => "200 words"), t("The minimum number of words a story must be to be considered valid. This can be useful to rule out submissions that do not meet the site's standards, such as short test posts."));
+ $output .= form_textarea(t("Explanation or submission guidelines"), "story_help", variable_get("story_help", ""), 70, 5, t("This text will be displayed at the top of the story submission form. It is useful for helping or instructing your users."));
+ $output .= form_select(t("Minimum number of words"), "minimum_story_size", variable_get("minimum_story_size", 0), drupal_map_assoc(array(0, 10, 25, 50, 75, 100, 125, 150, 175, 200)), t("The minimum number of words a story must be to be considered valid. This can be useful to rule out submissions that do not meet the site's standards, such as short test posts."));
return $output;
}
diff --git a/modules/story/story.module b/modules/story/story.module
index 1783bc842..2fdedee59 100644
--- a/modules/story/story.module
+++ b/modules/story/story.module
@@ -38,8 +38,8 @@ function story_help($section = "admin/help#story") {
* Declare administrative settings for a module.
*/
function story_settings() {
- $output .= form_textarea("Explanation or submission guidelines", "story_help", variable_get("story_help", ""), 70, 5, "This text will be displayed at the top of the story submission form. It is useful for helping or instructing your users.");
- $output .= form_select(t("Minimum number of words"), "minimum_story_size", variable_get("minimum_story_size", 0), array(0 => "0 words", 10 => "10 words", 25 => "25 words", 50 => "50 words", 75 => "75 words", 100 => "100 words", 125 => "125 words", 150 => "150 words", 175 => "175 words", 200 => "200 words"), t("The minimum number of words a story must be to be considered valid. This can be useful to rule out submissions that do not meet the site's standards, such as short test posts."));
+ $output .= form_textarea(t("Explanation or submission guidelines"), "story_help", variable_get("story_help", ""), 70, 5, t("This text will be displayed at the top of the story submission form. It is useful for helping or instructing your users."));
+ $output .= form_select(t("Minimum number of words"), "minimum_story_size", variable_get("minimum_story_size", 0), drupal_map_assoc(array(0, 10, 25, 50, 75, 100, 125, 150, 175, 200)), t("The minimum number of words a story must be to be considered valid. This can be useful to rule out submissions that do not meet the site's standards, such as short test posts."));
return $output;
}