summaryrefslogtreecommitdiff
path: root/modules/blog/blog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-15 15:19:36 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-15 15:19:36 +0000
commitbd78422715c53b5383f567abcc79a5b8ba3dad82 (patch)
tree89f8f54f549bdd55cda284954ae52b9b4a29d1ce /modules/blog/blog.module
parentfdea6a290745da3ad52f57c2d1d794eaa4977a6d (diff)
downloadbrdo-bd78422715c53b5383f567abcc79a5b8ba3dad82.tar.gz
brdo-bd78422715c53b5383f567abcc79a5b8ba3dad82.tar.bz2
- Patch 5592 by Goba: let drupal_map_assoc() rule. :-)
- Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r--modules/blog/blog.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index dfb9afb04..bcdd20320 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -3,8 +3,7 @@
function blog_settings() {
$output = form_textarea(t("Explanation or submission guidelines"), "blog_help", variable_get("blog_help", ""), 70, 4, t("This text is displayed at the top of the blog submission form. It's useful for helping or instructing your users."));
- $words = t("words");
- $output .= form_select(t("Minimum number of words in a blog entry"), "minimum_blog_size", variable_get("minimum_blog_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 personal blog entry should contain. This is useful to rule out submissions that do not meet the site's standards, such as short test posts."));
+ $output .= form_select(t("Minimum number of words in a blog entry"), "minimum_blog_size", variable_get("minimum_blog_size", 0), drupal_map_assoc(array(0, 10, 25, 50, 75, 100, 125, 150, 175, 200)), t("The minimum number of words a personal blog entry should contain. This is useful to rule out submissions that do not meet the site's standards, such as short test posts."));
return $output;
}