[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/languages/english/ -> credit_cards.php (source)

   1  <?php
   2  //

   3  // +----------------------------------------------------------------------+

   4  // |zen-cart Open Source E-commerce                                       |

   5  // +----------------------------------------------------------------------+

   6  // | Copyright (c) 2003 The zen-cart developers                           |

   7  // |                                                                      |

   8  // | http://www.zen-cart.com/index.php                                    |

   9  // |                                                                      |

  10  // | Portions Copyright (c) 2003 osCommerce                               |

  11  // +----------------------------------------------------------------------+

  12  // | This source file is subject to version 2.0 of the GPL license,       |

  13  // | that is bundled with this package in the file LICENSE, and is        |

  14  // | available through the world-wide-web at the following url:           |

  15  // | http://www.zen-cart.com/license/2_0.txt.                             |

  16  // | If you did not receive a copy of the zen-cart license and are unable |

  17  // | to obtain it through the world-wide-web, please send a note to       |

  18  // | license@zen-cart.com so we can mail you a copy immediately.          |

  19  // +----------------------------------------------------------------------+

  20  // $Id: credit_cards.php 1969 2005-09-13 06:57:21Z drbyte $

  21  //

  22  
  23  /*

  24  

  25  The credit card define statements match the actual records in the configuration table.

  26  

  27  For example for Visa:

  28  TEXT_CC_ENABLED_VISA or IMAGE_CC_ENABLED_VISA is used for CC_ENABLED_VISA that is stored in the configuration table

  29  

  30  If there is a new credit card added but there is not a matching define it cannot be used by the function zen_get_cc_enabled()

  31  

  32  To obtain a list of accepted credit cards use the function zen_get_cc_enabled()

  33  

  34  Example:

  35  

  36  echo TEXT_ACCEPTED_CREDIT_CARDS . zen_get_cc_enabled();

  37  

  38  */
  39  
  40  define('TEXT_ACCEPTED_CREDIT_CARDS', '<strong>We accept:</strong> ');
  41  
  42  // cc enabled text

  43  define('TEXT_CC_ENABLED_VISA','Visa');
  44  define('TEXT_CC_ENABLED_MC','MC');
  45  define('TEXT_CC_ENABLED_AMEX','AmEx');
  46  define('TEXT_CC_ENABLED_DINERS_CLUB','Diners Club');
  47  define('TEXT_CC_ENABLED_DISCOVER','Discover');
  48  define('TEXT_CC_ENABLED_JCB','JCB');
  49  define('TEXT_CC_ENABLED_AUSTRALIAN_BANKCARD','Australian Bankcard');
  50  
  51  // for images define these as:

  52  // define('IMAGE_CC_ENABLED_VISA',zen_image(DIR_WS_IMAGES . 'filename.jpg');

  53  // use the function

  54  // echo zen_get_cc_enabled('IMAGE_');

  55  
  56  // cc enabled image

  57  define('IMAGE_CC_ENABLED_VISA', zen_image($template->get_template_dir('cc1.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc1.gif'));
  58  define('IMAGE_CC_ENABLED_MC', zen_image($template->get_template_dir('cc2.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc2.gif'));
  59  define('IMAGE_CC_ENABLED_AMEX', zen_image($template->get_template_dir('cc3.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc3.gif'));
  60  define('IMAGE_CC_ENABLED_DINERS_CLUB', zen_image($template->get_template_dir('cc4.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc4.gif'));
  61  define('IMAGE_CC_ENABLED_DISCOVER', zen_image($template->get_template_dir('cc5.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc5.gif'));
  62  define('IMAGE_CC_ENABLED_JCB', zen_image($template->get_template_dir('cc6.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc6.gif'));
  63  define('IMAGE_CC_ENABLED_AUSTRALIAN_BANKCARD', zen_image($template->get_template_dir('cc7.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc7.gif'));
  64  ?>


Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics