From 4dbc900d3b8eaa35fc3c9748d5483eee884425d2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 8 Jul 2004 15:09:53 +0000 Subject: - Renamed the blog module's block for sake of clarity. - Made the blog module's submission form mark required form fields. --- modules/blog.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/blog.module') diff --git a/modules/blog.module b/modules/blog.module index 23a73071c..d49a55de6 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -212,7 +212,7 @@ function blog_form(&$node) { $output .= implode('', taxonomy_node_form('blog', $node)); } - $output .= form_textarea(t('Body'), 'body', $node->body, 60, 15, filter_tips_short()); + $output .= form_textarea(t('Body'), 'body', $node->body, 60, 15, filter_tips_short(), NULL, TRUE); return $output; } @@ -291,14 +291,14 @@ function blog_menu() { function blog_block($op = 'list', $delta = 0) { global $user; if ($op == 'list') { - $block[0]['info'] = t('Blogs'); + $block[0]['info'] = t('Recent blog posts'); return $block; } else { if (user_access('access content')) { $block['content'] = node_title_list(db_query_range("SELECT n.title, n.nid FROM {node} n WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.created DESC", 0, 10)); $block['content'] .= ''; - $block['subject'] = t('Blogs'); + $block['subject'] = t('Recent blog posts'); } return $block; } -- cgit v1.2.3