Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

324
 
325
 
325
 
template.php
_> 11 <?php
  22 /*
<> 3 -  $Id: template.php 324 2005-12-05 02:18:32Z hpdl $
   3+  $Id: template.php 325 2005-12-05 03:28:21Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
113113     var $_javascript_blocks = array();
  114114 
  115115 /**
<> 116 - * Hold the extra modules to load on the page
  117 - *
  118 - * @var array
  119 - * @access public
  120 - */
  121 -
  122 -    var $_extra_page_modules = array('before' => array(), 'after' => array());
  123 -
  124 -/**
125116  * Setup the template class with the requested page module
  126117  *
  127118  * @param string $module The default page module to setup
     
 !
396387     }
  397388 
  398389 /**
<> 399 - * Adds an extra module to load on the page, either before or after the page content
  400 - *
  401 - * @param object $class The class instance to initialize the extra module
  402 - * @param string $location Load the extra module "before" or "after" the page content
  403 - * @access public
  404 - */
  405 -
  406 -    function addContentModule($class, $location = 'before') {
  407 -      if (isset($GLOBALS[$class])) {
  408 -        $GLOBALS[$class]->contentModuleInitialize();
  409 -        $this->_extra_page_modules[$location][] = $GLOBALS[$class]->getContentModule();
  410 -      } elseif (isset($_SESSION[$class])) {
  411 -        $_SESSION[$class]->contentModuleInitialize();
  412 -        $this->_extra_page_modules[$location][] = $_SESSION[$class]->getContentModule();
  413 -      }
  414 -    }
  415 -
  416 -/**
<_ 417390  * Returns the javascript filenames to link to on the page
  418391  *
  419392  * @access private