aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-08-10 18:50:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-08-10 18:50:28 -0300
commit339f9673536a3282109a3e1cf8d86cfe1ee1562c (patch)
treea4f911b00ad7a20a30e1522474e2c6a9ce675f59
parente54660859d23c2e54c7094d1cb0d05b109f00d06 (diff)
downloadreminder-339f9673536a3282109a3e1cf8d86cfe1ee1562c.tar.gz
reminder-339f9673536a3282109a3e1cf8d86cfe1ee1562c.tar.bz2
Fixing hook implementation
-rw-r--r--reminder.module4
1 files changed, 1 insertions, 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
);