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

Diff of /contributions/modules/freecommerce/freecommerce.module

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

revision 1.2, Mon Oct 5 20:58:52 2009 UTC revision 1.3, Mon Oct 5 21:35:03 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: freecommerce.module,v 1.1 2009/10/02 22:18:47 crookednumber Exp $  // $Id: freecommerce.module,v 1.2 2009/10/05 20:58:52 crookednumber Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 93  function freecommerce_admin_settings(&$f Line 93  function freecommerce_admin_settings(&$f
93    if (module_exists('email')) {    if (module_exists('email')) {
94      $form['contacts']['freecommerce_add_cck_email'] = array(      $form['contacts']['freecommerce_add_cck_email'] = array(
95        '#type' => 'checkbox',        '#type' => 'checkbox',
96        '#title' => t('Contact all node emails?'),        '#title' => t('Contact all node emails'),
97        '#description' => t('If checked, any email field (using the CCK email module) attached to a node in the order will be contacted about the order.'),        '#description' => t('If checked, any email field (using the CCK email module) attached to a node in the order will be contacted about the order.'),
98        '#default_value' => variable_get('freecommerce_add_cck_email', 0),        '#default_value' => variable_get('freecommerce_add_cck_email', 0),
99      );      );
100      if (module_exists('nodereference')) {      if (module_exists('nodereference')) {
101        $form['contacts']['freecommerce_add_nodereference_email'] = array(        $form['contacts']['freecommerce_add_nodereference_email'] = array(
102          '#type' => 'checkbox',          '#type' => 'checkbox',
103          '#title' => t('Contact all nodereference emails?'),          '#title' => t('Contact all nodereference emails'),
104          '#description' => t('If checked, any email field indirectly attached to a node in the order (via the CCK nodereference module) will be contacted about the order. USE WITH CAUTION!'),          '#description' => t('If checked, any email field indirectly attached to a node in the order (via the CCK nodereference module) will be contacted about the order. USE WITH CAUTION!'),
105          '#default_value' => variable_get('freecommerce_add_nodereference_email', 0),          '#default_value' => variable_get('freecommerce_add_nodereference_email', 0),
106        );        );

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

  ViewVC Help
Powered by ViewVC 1.1.2