/[drupal]/contributions/modules/nodereferrer_create/admin.php
ViewVC logotype

Diff of /contributions/modules/nodereferrer_create/admin.php

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

revision 1.1.2.1, Fri Jun 27 12:38:14 2008 UTC revision 1.1.2.2, Tue Sep 9 11:11:13 2008 UTC
# Line 27  function nodereferrer_create_callback_ad Line 27  function nodereferrer_create_callback_ad
27    
28    $form = array();    $form = array();
29    
30      /* Main settings */
31    
32    $form['nodereferrer_create_show_on_nodereferrer'] = array(    $form['nodereferrer_create_show_on_nodereferrer'] = array(
33      '#type' => 'checkbox',      '#type' => 'checkbox',
34      '#title' => t('Show menu items for nodereferrer fields'),      '#title' => t('Show menu items for nodereferrer fields'),
# Line 55  function nodereferrer_create_callback_ad Line 57  function nodereferrer_create_callback_ad
57      '#default_value' => variable_get('nodereferrer_create_javascript', 1),      '#default_value' => variable_get('nodereferrer_create_javascript', 1),
58    );    );
59    
60      /* Syncronisation settings */
61    
62      $form['nodereferrer_create_sync_group'] = array(
63        '#type' => 'fieldset',
64        '#collapsible' => true,
65        '#collapsed' => true,
66        '#title' => t('Synchronisation settings'),
67      );
68    
69      $form['nodereferrer_create_sync_group']['nodereferrer_create_sync_title'] = array(
70        '#type' => 'checkbox',
71        '#title' => t('Synchronise title'),
72        '#description' => t('If this is checked, when creating related content the title will default to that of the current node'),
73        '#default_value' => variable_get('nodereferrer_create_sync_title', 0),
74      );
75    
76      $form['nodereferrer_create_sync_group']['nodereferrer_create_sync_taxonomy'] = array(
77        '#type' => 'checkbox',
78        '#title' => t('Synchronise taxonomy (not implemented)'),
79        '#description' => t('If this is checked, when creating related content the taxonomy will default to that of the current node. This is not currently implemented.'),
80        '#default_value' => variable_get('nodereferrer_create_sync_taxonomy', 0),
81      );
82    
83      $form['nodereferrer_create_sync_group']['nodereferrer_create_sync_fields'] = array(
84        '#type' => 'textarea',
85        '#title' => t('Rules to synchronise other fields. Advanced users only.'),
86        '#description' => t('This will copy the value of the source field to the default value of the destination field. Note that these are not always formatted in the same way, and as such this may not work. Use with caution. Format is one rule per line as : "source_field : destination_field". For instance to synchronise the title field to a CCK field named "parent_title" you\'d write "title : field_parent_title". Please only use this if you know what you are doing, no support will be given.'),
87        '#default_value' => variable_get('nodereferrer_create_sync_fields', ''),
88      );
89    
90    
91      /* JS effect settings */
92    
93    $form['nodereferrer_create_effect_group'] = array(    $form['nodereferrer_create_effect_group'] = array(
94      '#type' => 'fieldset',      '#type' => 'fieldset',
95      '#collapsible' => true,      '#collapsible' => true,
# Line 76  function nodereferrer_create_callback_ad Line 111  function nodereferrer_create_callback_ad
111      '#default_value' => variable_get('nodereferrer_create_effect_speed', 'normal'),      '#default_value' => variable_get('nodereferrer_create_effect_speed', 'normal'),
112    );    );
113    
114      /* Label settings */
115    
116    $form['nodereferrer_create_labels'] = array(    $form['nodereferrer_create_labels'] = array(
117      '#type' => 'fieldset',      '#type' => 'fieldset',

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2