/[drupal]/contributions/modules/nd_contrib/nd_cck/nd_cck.module
ViewVC logotype

Diff of /contributions/modules/nd_contrib/nd_cck/nd_cck.module

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

revision 1.1.2.8, Sat Sep 26 17:45:53 2009 UTC revision 1.1.2.9, Tue Oct 20 18:41:48 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nd_cck.module,v 1.1.2.7 2009/09/26 11:46:11 swentel Exp $  // $Id: nd_cck.module,v 1.1.2.8 2009/09/26 17:45:53 swentel Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 58  function nd_cck_theme_registry_alter(&$t Line 58  function nd_cck_theme_registry_alter(&$t
58  }  }
59    
60  /**  /**
61   * Implementation of hook_nd_fields().   * Implementation of hook_ds_fields().
62   */   */
63  function nd_cck_nd_fields($node_type, $has_body, $build_mode) {  function nd_cck_ds_fields($type_name, $build_mode, $extra) {
64    if (!empty($node_type)) {    if (!empty($type_name)) {
65      $type = content_types($node_type);      $type = content_types($type_name);
66      $field_types = _content_field_types();      $field_types = _content_field_types();
67      $fields = $type['fields'];      $fields = $type['fields'];
68      foreach ($fields as $field => $value) {      foreach ($fields as $field => $value) {

Legend:
Removed from v.1.1.2.8  
changed lines
  Added in v.1.1.2.9

  ViewVC Help
Powered by ViewVC 1.1.2