Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

377
 
387
 
387
 
payment.php
_> 11 <?php
  22 /*
<> 3 -  $Id: payment.php 377 2006-01-09 14:47:49Z hpdl $
   3+  $Id: payment.php 387 2006-01-18 16:49:58Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
7474     }
  7575 
  7676     function javascript_validation() {
<>  77+      global $osC_Language;
   78+
7779       $js = '';
  7880       if (is_array($this->modules)) {
  7981         $js = '<script type="text/javascript"><!-- ' . "\n" .
  8082               'function check_form() {' . "\n" .
  8183               '  var error = 0;' . "\n" .
<> 82 -              '  var error_message = "' . JS_ERROR . '";' . "\n" .
   84+              '  var error_message = "' . $osC_Language->get('js_error') . '";' . "\n" .
<_ 8385               '  var payment_value = null;' . "\n" .
  8486               '  if (document.checkout_payment.payment.length) {' . "\n" .
  8587               '    for (var i=0; i<document.checkout_payment.payment.length; i++) {' . "\n" .