/[drupal]/contributions/modules/cck/nodereference.module
ViewVC logotype

Diff of /contributions/modules/cck/nodereference.module

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

revision 1.39.2.42, Wed Sep 17 18:02:28 2008 UTC revision 1.39.2.43, Wed Nov 5 19:38:03 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nodereference.module,v 1.39.2.41 2008/09/17 09:12:29 yched Exp $  // $Id: nodereference.module,v 1.39.2.42 2008/09/17 18:02:28 yched Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 42  function nodereference_field_settings($o Line 42  function nodereference_field_settings($o
42          '#title' => t('Content types that can be referenced'),          '#title' => t('Content types that can be referenced'),
43          '#multiple' => TRUE,          '#multiple' => TRUE,
44          '#default_value' => isset($field['referenceable_types']) ? $field['referenceable_types'] : array(),          '#default_value' => isset($field['referenceable_types']) ? $field['referenceable_types'] : array(),
45          '#options' => node_get_types('names'),          '#options' => array_map('check_plain', node_get_types('names')),
46        );        );
47        if (module_exists('views')) {        if (module_exists('views')) {
48          $views = array('--' => '--');          $views = array('--' => '--');

Legend:
Removed from v.1.39.2.42  
changed lines
  Added in v.1.39.2.43

  ViewVC Help
Powered by ViewVC 1.1.2