/[drupal]/contributions/modules/ecommerce/ec_receipt/ec_receipt.module
ViewVC logotype

Diff of /contributions/modules/ecommerce/ec_receipt/ec_receipt.module

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

revision 1.18.2.38 by davea, Sun Oct 18 14:18:21 2009 UTC revision 1.18.2.39 by davea, Sun Nov 15 14:47:05 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: ec_receipt.module,v 1.18.2.37 2009/07/04 19:48:10 recidive Exp $  // $Id: ec_receipt.module,v 1.18.2.38 2009/10/18 14:18:21 davea Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 1015  function ec_receipt_xml_request($url, $h Line 1015  function ec_receipt_xml_request($url, $h
1015   * Implementation of hook_elements().   * Implementation of hook_elements().
1016   */   */
1017  function ec_receipt_elements() {  function ec_receipt_elements() {
1018    $type['credit_card'] = array('#input' => TRUE, '#process' => array('expand_credit_card'), '#cvnshow' => FALSE, '#cvnrequired' => FALSE, '#element_validate' => array('valid_credit_card'));    $type['credit_card'] = array(
1019    $type['credit_card_expiry'] = array('#input' => TRUE, '#process' => array('expand_credit_card_expiry'));      '#input' => TRUE,
1020        '#process' => array('expand_credit_card'),
1021        '#cvnshow' => FALSE,
1022        '#cvnrequired' => FALSE,
1023        '#element_validate' => array('valid_credit_card')
1024      );
1025      $type['credit_card_expiry'] = array(
1026        '#input' => TRUE,
1027        '#process' => array('expand_credit_card_expiry'));
1028    return $type;    return $type;
1029  }  }
1030    

Legend:
Removed from v.1.18.2.38  
changed lines
  Added in v.1.18.2.39

  ViewVC Help
Powered by ViewVC 1.1.3