Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

533
 
547
 
547
 
payment.php
_> 11 <?php
  22 /*
<> 3 -  $Id: payment.php 533 2006-04-26 07:32:54Z hpdl $
   3+  $Id: payment.php 547 2006-04-29 01:23:20Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
176176       return $this->_sort_order;
  177177     }
  178178 
<> 179 -/* The following method is needed in the checkout_confirmation.php page
  180 -   due to a chicken and egg problem with the payment class and order class.
  181 -   The payment modules needs the order destination data for the dynamic status
  182 -   feature, and the order class needs the payment module title.
  183 -   The following method is a work-around to implementing the method in all
  184 -   payment modules available which would break the modules in the contributions
  185 -   section. This should be looked into again post 2.2.
  186 -*/
  187 -    function update_status() {
  188 -      if (is_array($this->_modules)) {
  189 -        if (isset($GLOBALS[$this->selected_module]) && is_object($GLOBALS[$this->selected_module])) {
  190 -          if (method_exists($GLOBALS[$this->selected_module], 'update_status')) {
  191 -            $GLOBALS[$this->selected_module]->update_status();
  192 -          }
  193 -        }
  194 -      }
   179+    function getJavascriptBlock() {
195180     }
  196181 
<> 197 -    function javascript_validation() {
   182+    function getJavascriptBlocks() {
198183       global $osC_Language;
  199184 
  200185       $js = '';
     
 !
218203 
  219204         foreach ($this->_modules as $module) {
  220205           if ($GLOBALS['osC_Payment_' . $module]->isEnabled()) {
<> 221 -            $js .= $GLOBALS['osC_Payment_' . $module]->javascript_validation();
   206+            $js .= $GLOBALS['osC_Payment_' . $module]->getJavascriptBlock();
<_ 222207           }
  223208         }
  224209