summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-07-15 17:32:33 +0000
committerDries Buytaert <dries@buytaert.net>2001-07-15 17:32:33 +0000
commit85341253b44975fe390172b705d9f93b0df18792 (patch)
treec78b5fb45565f1b141f42846746e80a4777237a4 /modules/blog
parentf959b1ba2f603034591462e1bf4f5f75408ebeb2 (diff)
downloadbrdo-85341253b44975fe390172b705d9f93b0df18792.tar.gz
brdo-85341253b44975fe390172b705d9f93b0df18792.tar.bz2
- Various updates, mostly related to our RDF/RSS backend.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index d5517adbd..9bdf72cc9 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -162,7 +162,10 @@ function blog_form($edit = array()) {
$form .= form_hidden("nid", $edit["nid"]);
}
- if ($edit && !$edit["title"]) {
+ if (!$edit) {
+ $form .= form_submit(t("Preview"));
+ }
+ else if ($edit && !$edit["title"]) {
$form .= "<font color=\"red\">". t("Warning: you did not supply a subject.") ."</font><p>\n";
$form .= form_submit(t("Preview"));
}