/[drupal]/contributions/modules/mlm/include/mlm.subscription.inc
ViewVC logotype

Diff of /contributions/modules/mlm/include/mlm.subscription.inc

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

revision 1.1, Sun Aug 23 23:07:05 2009 UTC revision 1.2, Wed Aug 26 02:51:34 2009 UTC
# Line 1  Line 1 
1  <?php // $Id$  <?php // $Id: mlm.subscription.inc,v 1.1 2009/08/23 23:07:05 vauxia Exp $
2    
3  /**  /**
4   * A #process handler for mlm subscription elements.   * A #process handler for mlm subscription elements.
# Line 44  function mlm_subscription_element_proces Line 44  function mlm_subscription_element_proces
44        $element['subscribe_'. $mlm->lid]['#type'] = 'value';        $element['subscribe_'. $mlm->lid]['#type'] = 'value';
45        $element['subscribe_'. $mlm->lid]['#value'] = TRUE;        $element['subscribe_'. $mlm->lid]['#value'] = TRUE;
46      }      }
47        elseif ($settings['single']) {
48          $element['subscribe_'. $mlm->lid]['#type'] = 'value';
49          $element['subscribe_'. $mlm->lid]['#value'] = !$mlm->_is_subscribed();
50        }
51    }    }
52    
53    // No lists to process. Skip out on adding extra text or form handling.    // No lists to process. Skip out on adding extra text or form handling.

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

  ViewVC Help
Powered by ViewVC 1.1.2