Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

325
 
331
 
331
 
template.php
_> 11 <?php
  22 /*
<> 3 -  $Id: template.php 325 2005-12-05 03:28:21Z hpdl $
   3+  $Id: template.php 331 2005-12-06 03:28:58Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
215215       static $osC_Boxes;
  216216 
  217217       if (isset($osC_Boxes) === false) {
<> 218 -        $osC_Boxes = new osC_Boxes();
   218+        $osC_Boxes = new osC_Boxes('boxes');
219219       }
  220220 
  221221       return $osC_Boxes->getGroup($group);
  222222     }
  223223 
  224224 /**
<>  225+ * Return the modules assigned to the page content
   226+ *
   227+ * @param string $group The group name of modules to include that the template has provided
   228+ * @return array
   229+ */
   230+
   231+    function getPageModulesContent($group) {
   232+      static $osC_Boxes;
   233+
   234+      if (isset($osC_Boxes) === false) {
   235+        $osC_Boxes = new osC_Boxes('content');
   236+      }
   237+
   238+      return $osC_Boxes->getGroup($group);
   239+    }
   240+
   241+/**
<_ 225242  * Returns the image of the page
  226243  *
  227244  * @access public