Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

352
 
353
 
353
 
template.php
_> 11 <?php
  22 /*
<> 3 -  $Id: template.php 352 2005-12-19 11:55:30Z hpdl $
   3+  $Id: template.php 353 2005-12-19 11:59:56Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
161161 
  162162     function getID() {
  163163       if (isset($this->_template) === false) {
<> 164 -        $this->setTemplate();
   164+        $this->set();
165165       }
  166166 
  167167       return $this->_template_id;
     
 !
176176 
  177177     function getCode() {
  178178       if (isset($this->_template) === false) {
<> 179 -        $this->setTemplate();
   179+        $this->set();
180180       }
  181181 
  182182       return $this->_template;
     
 !
344344  * @access public
  345345  */
  346346 
<> 347 -    function setTemplate() {
   347+    function set() {
<_ 348348       global $osC_Database;
  349349 
  350350       if ( (isset($_SESSION['template']) === false) || (isset($_GET['template']) && !empty($_GET['template'])) ) {