cvs diff: Diffing modules/project Index: modules/project/project.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/project/project.inc,v retrieving revision 1.77 diff -u -F^f -r1.77 project.inc --- modules/project/project.inc 22 May 2006 19:39:21 -0000 1.77 +++ modules/project/project.inc 23 May 2006 07:18:22 -0000 @@ -24,7 +24,7 @@ function project_project_form(&$node) { $form['#prefix'] = '
'; - /* Project properties */ + /* Required project properties */ $form['project'] = array( '#type' => 'fieldset', '#title' => t('Project information'), @@ -64,7 +64,15 @@ function project_project_form(&$node) { '#description' => t('E-mail address where the project owners can be contacted.'), '#required' => TRUE, ); - $form['project']['homepage'] = array( + + /* Optional links for the project */ + $form['project_links'] = array( + '#type' => 'fieldset', + '#title' => t('Project links'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, + ); + $form['project_links']['homepage'] = array( '#type' => 'textfield', '#title' => t('Homepage'), '#default_value' => $node->homepage, @@ -72,7 +80,7 @@ function project_project_form(&$node) { '#maxlength' => 255, '#description' => t('Link to project homepage.'), ); - $form['project']['documentation'] = array( + $form['project_links']['documentation'] = array( '#type' => 'textfield', '#title' => t('Documentation'), '#default_value' => $node->documentation, @@ -80,7 +88,7 @@ function project_project_form(&$node) { '#maxlength' => 255, '#description' => t('Link to project documentation.'), ); - $form['project']['license'] = array( + $form['project_links']['license'] = array( '#type' => 'textfield', '#title' => t('License'), '#default_value' => $node->license, @@ -88,7 +96,7 @@ function project_project_form(&$node) { '#maxlength' => 255, '#description' => t('Link to project license.'), ); - $form['project']['screenshots'] = array( + $form['project_links']['screenshots'] = array( '#type' => 'textfield', '#title' => t('Screenshots'), '#default_value' => $node->screenshots, @@ -96,7 +104,7 @@ function project_project_form(&$node) { '#maxlength' => 255, '#description' => t('Link to project screenshots.'), ); - $form['project']['changelog'] = array( + $form['project_links']['changelog'] = array( '#type' => 'textfield', '#title' => t('Changelog'), '#default_value' => $node->changelog, @@ -104,7 +112,7 @@ function project_project_form(&$node) { '#maxlength' => 255, '#description' => t('Link to changelog.'), ); - $form['project']['cvs'] = array( + $form['project_links']['cvs'] = array( '#type' => 'textfield', '#title' => t('CVS tree'), '#default_value' => $node->cvs, @@ -112,7 +120,7 @@ function project_project_form(&$node) { '#maxlength' => 255, '#description' => t('Link to webcvs/viewcvs.'), ); - $form['project']['demo'] = array( + $form['project_links']['demo'] = array( '#type' => 'textfield', '#title' => t('Demo site'), '#default_value' => $node->demo, cvs diff: Diffing modules/project/po cvs diff: Diffing modules/project/po/ar