diff --git a/modules/storm/stormproject/stormproject.module b/modules/storm/stormproject/stormproject.module index 4d3d464..a0129e8 100644 --- a/modules/storm/stormproject/stormproject.module +++ b/modules/storm/stormproject/stormproject.module @@ -298,7 +298,7 @@ function stormproject_node_info() { 'module' => 'stormproject', 'description' => t("A project for SuiteDesk."), 'title_label' => t("Title"), - 'body_label' => t("Description"), + 'has_body' => FALSE, ) ); } @@ -505,11 +505,9 @@ function stormproject_form(&$node) { $people[$person->nid] = $person->title; } -# $options = array(0 => '- none -', 'People:' => $people); $options = array(0 => t('- none -'), t('People:') => $people); } else { -# $options = array(0 => '- none -'); $options = array(0 => t('- none -')); } @@ -530,11 +528,9 @@ function stormproject_form(&$node) { $teams[$team->nid] = $team->title; } -# $options = array(0 => '- unassigned -', 'Teams:' => $teams, 'People:' => $people); $options = array(0 => t('- unassigned -'), t('Teams:') => $teams, t('People:') => $people); } else { -# $options = array(0 => '- unassigned -'); $options = array(0 => t('- unassigned -')); } @@ -589,10 +585,6 @@ function stormproject_form(&$node) { '#default_value' => NULL, ); - if ($type->has_body) { - $form['body_field'] = node_body_field($node, $type->body_label, $type->min_word_count); - } - $form['title_old'] = array( '#type' => 'hidden', '#default_value' => isset($node->title_old) ? $node->title_old : NULL, diff --git a/modules/storm/stormproject/stormproject.theme.inc b/modules/storm/stormproject/stormproject.theme.inc index 7ac145e..d95c2ed 100644 --- a/modules/storm/stormproject/stormproject.theme.inc +++ b/modules/storm/stormproject/stormproject.theme.inc @@ -166,14 +166,5 @@ function theme_stormproject_view($node, $teaser = FALSE, $page = FALSE) { '#weight' => 2, ); -# $node->content['body_field'] = array( -# '#prefix' => '