/[drupal]/contributions/modules/collection/collection.module
ViewVC logotype

Diff of /contributions/modules/collection/collection.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2, Mon Mar 30 19:24:38 2009 UTC revision 1.3, Wed Apr 1 09:25:26 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  // $Id: collection.module,v 1.1 2009/03/30 14:34:03 xen Exp $  // $Id: collection.module,v 1.2 2009/03/30 19:24:38 xen Exp $
4    
5  /**  /**
6   * @file   * @file
# Line 79  function collection_form_node_type_form_ Line 79  function collection_form_node_type_form_
79    
80    $fields = array(NULL => t('Not a collection'));    $fields = array(NULL => t('Not a collection'));
81    $content_type = content_types($type);    $content_type = content_types($type);
82    if ($content_type) {    if ($content_type['fields']) {
83      foreach ($content_type['fields'] as $name => $field) {      foreach ($content_type['fields'] as $name => $field) {
84        if ($field['type'] == 'nodereference') {        if ($field['type'] == 'nodereference') {
85          $fields[$field['field_name']] = t($field['widget']['label']);          $fields[$field['field_name']] = t($field['widget']['label']);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2