diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-10-22 18:46:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-10-22 18:46:43 +0000 |
commit | 66c5b70736553b2c84eb8835e7b4c3ad7c34c8f8 (patch) | |
tree | 605fc52b5bd8fa8e2411dee975e34c2e83276595 /modules/blog.module | |
parent | 88d6ef3a2ad99a0872b00f40e84c083b098ad21c (diff) | |
download | brdo-66c5b70736553b2c84eb8835e7b4c3ad7c34c8f8.tar.gz brdo-66c5b70736553b2c84eb8835e7b4c3ad7c34c8f8.tar.bz2 |
- Wrapped some hardcoded colors in "theme_invoke()"s; we can still create
a drupal_error() later on but I think we better get used to theme_invoke().
- Fixed translation bug. Patch by Moshe.
- Fixed PHP warning. Patch by ax.
Diffstat (limited to 'modules/blog.module')
-rw-r--r-- | modules/blog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog.module b/modules/blog.module index 7aba6d5dc..0869fe19e 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -228,7 +228,7 @@ function blog_form(&$node, &$help, &$error) { */ if (count(explode(" ", $node->body)) < variable_get("minimum_blog_size", 0)) { - $error["body"] = "<div style=\"color: red;\">". t("The body of your blog is too short.") ."</div>"; + $error["body"] = theme_invoke("theme_error", t("The body of your blog is too short.")); } } else { |