summaryrefslogtreecommitdiff
path: root/modules/blog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-02-11 20:01:17 +0000
committerDries Buytaert <dries@buytaert.net>2003-02-11 20:01:17 +0000
commite90f3b883b0655ccba009f2fbef982696341a1a2 (patch)
tree0afa31bda8e395e9addfadae4eb62067392abe20 /modules/blog.module
parent3d3a60740a63e8c803d0905b2727bb202e6de370 (diff)
downloadbrdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.gz
brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.bz2
- See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html.
Diffstat (limited to 'modules/blog.module')
-rw-r--r--modules/blog.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog.module b/modules/blog.module
index 16ac41932..f5c2c4112 100644
--- a/modules/blog.module
+++ b/modules/blog.module
@@ -6,7 +6,7 @@ function blog_system($field){
return $system[$field];
}
-function blog_conf_options() {
+function blog_settings() {
$output = form_textarea(t("Explanation or submission guidelines"), "blog_help", variable_get("blog_help", ""), 55, 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."));
@@ -185,7 +185,7 @@ function blog_form(&$node, &$help, &$error) {
*/
if (count(explode(" ", $node->body)) < variable_get("minimum_blog_size", 0)) {
- $error["body"] = theme_invoke("theme_error", t("The body of your blog is too short."));
+ $error["body"] = theme("theme_error", t("The body of your blog is too short."));
}
}
else {