Index: project.inc =================================================================== RCS file: /cvs/drupal/contributions/modules/project/project.inc,v retrieving revision 1.92 diff -u -p -r1.92 project.inc --- project.inc 12 Nov 2006 13:40:22 -0000 1.92 +++ project.inc 26 Nov 2006 10:06:35 -0000 @@ -4,7 +4,7 @@ /** * Implementation of hook_form(). */ -function project_project_form(&$node) { +function project_project_form($node) { global $user; /* @@ -35,7 +35,7 @@ function project_project_form(&$node) { // See if there are any project specific taxonomy terms already // saved in this node (i.e. we're editing an existing project) and // if so, extract the right default values for our custom form - // elements... + // elements... if ($node->taxonomy) { foreach ($node->taxonomy as $tid => $obj) { if ($top_level[$tid]) { @@ -45,7 +45,7 @@ function project_project_form(&$node) { $current_options[$tid] = $tid; } } - } + } $form['project_taxonomy'] = array( '#type' => 'fieldset', '#weight' => '-30', @@ -97,7 +97,7 @@ function project_project_form(&$node) { '#rows' => 10, '#required' => TRUE, ); - $form['project']['format'] = filter_form($node->format); + $form['project']['format'] = filter_form($node->format); $form['project']['uri'] = array( '#type' => 'textfield', '#title' => t('Short project name'), @@ -252,7 +252,7 @@ function project_project_validate(&$node if ($term->parents[0] == 0) { $top_level[$term->tid] = $term->name; } - } + } foreach ($top_level as $tid => $name) { if ($node->project_type != $tid) { $tid_field = 'tid_' . $tid; @@ -352,7 +352,10 @@ function project_project_view(&$node, $t $output .= theme('item_list', $links, t('Development')); } - $node->body .= $output; + $node->content['project'] = array( + '#value' => $output, + '#weight' => 50, + ); } } Index: project.module =================================================================== RCS file: /cvs/drupal/contributions/modules/project/project.module,v retrieving revision 1.256 diff -u -p -r1.256 project.module --- project.module 12 Nov 2006 13:40:22 -0000 1.256 +++ project.module 26 Nov 2006 10:06:35 -0000 @@ -8,10 +8,6 @@ if (file_exists("$path/project.inc")) { function project_help($section) { switch ($section) { - case 'admin/modules#description': - return t('Provides a project node type and browsing of projects.'); - case 'node/add#project_project': - return t('A project is something a group is working on. It can optionally have issue tracking, integration with revision control systems, releases, and so on.' ); case 'node/add/project_project': if (project_use_taxonomy()) { $tree = taxonomy_get_tree(_project_get_vid()); @@ -58,8 +54,7 @@ function project_block($op = 'list', $de $uris = NULL; $projects = array_merge(array(0 => t('