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

Diff of /contributions/modules/nodeprofile/nodeprofile.module

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

revision 1.7.2.33, Mon Feb 4 11:29:32 2008 UTC revision 1.7.2.34, Mon Apr 7 18:17:39 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nodeprofile.module,v 1.7.2.32 2008/01/03 21:32:56 fago Exp $  // $Id: nodeprofile.module,v 1.7.2.33 2008/02/04 11:29:32 fago Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 528  function nodeprofile_get_register_form() Line 528  function nodeprofile_get_register_form()
528        $form[$type]['form'] = array(        $form[$type]['form'] = array(
529          '#type' => 'subform',          '#type' => 'subform',
530          '#id' => $type. '_node_form',          '#id' => $type. '_node_form',
531          '#data_separation' => FALSE,          //data separation should be set to FALSE, so that imagefield works (see #201804),
532            //but without data separation adding new users as admin won't worky any more (see #207802),
533            //so we turn it on for the admin's "Add user" page only.
534            '#data_separation' => (arg(0) == 'admin' && arg(2) == 'user'),
535          '#arguments' => array($node),          '#arguments' => array($node),
536          '#subform_after_build' => array('nodeprofile_integration_adapt_node_form'),          '#subform_after_build' => array('nodeprofile_integration_adapt_node_form'),
537        );        );

Legend:
Removed from v.1.7.2.33  
changed lines
  Added in v.1.7.2.34

  ViewVC Help
Powered by ViewVC 1.1.2