From 339f9673536a3282109a3e1cf8d86cfe1ee1562c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 10 Aug 2012 18:50:28 -0300 Subject: Fixing hook implementation --- reminder.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reminder.module b/reminder.module index fa7f80b..cea6cd4 100644 --- a/reminder.module +++ b/reminder.module @@ -92,8 +92,6 @@ function reminder_node_info() { 'description' => t("Create a reminder for a business lunch, a meeting or a movie night."), 'has_title' => TRUE, 'title_label' => t('Your reminder'), - 'has_body' => TRUE, - 'body_label' => t('Add some description'), ) ); } @@ -152,7 +150,7 @@ function reminder_form(&$node) { if ($type->has_body) { $form['body'] = array( '#type' => 'textarea', - '#title' => check_plain($type->body_label), + '#title' => t('Add some description'), '#default_value' => isset($node->body) ? $node->body : '', '#rows' => 5 ); -- cgit v1.2.3