Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1847
 
1848
 
1848
 
template.php
_> 11 <?php
  22 /*
<> 3 -  $Id: template.php 1847 2009-02-27 14:48:11Z hpdl $
   3+  $Id: template.php 1848 2009-02-28 02:21:10Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
2222  * Holds the template name value
  2323  *
  2424  * @var string
<> 25 - * @access private
   25+ * @access protected
2626  */
  2727 
<> 28 -    var $_template;
   28+    protected $_template;
2929 
  3030 /**
  3131  * Holds the template ID value
  3232  *
  3333  * @var int
<> 34 - * @access private
   34+ * @access protected
3535  */
  3636 
<> 37 -    var $_template_id;
   37+    protected $_template_id;
3838 
  3939 /**
  4040  * Holds the title of the page module
  4141  *
  4242  * @var string
<> 43 - * @access private
   43+ * @access protected
4444  */
  4545 
<> 46 -    var $_module;
   46+    protected $_module;
4747 
  4848 /**
  4949  * Holds the group name of the page
  5050  *
  5151  * @var string
<> 52 - * @access private
   52+ * @access protected
5353  */
  5454 
<> 55 -    var $_group;
   55+    protected $_group;
5656 
  5757 /**
  5858  * Holds the title of the page
  5959  *
  6060  * @var string
<> 61 - * @access private
   61+ * @access protected
6262  */
  6363 
<> 64 -    var $_page_title;
   64+    protected $_page_title;
6565 
  6666 /**
  6767  * Holds the image of the page
  6868  *
  6969  * @var string
<> 70 - * @access private
   70+ * @access protected
7171  */
  7272 
<> 73 -    var $_page_image;
   73+    protected $_page_image;
7474 
  7575 /**
  7676  * Holds the filename of the content to be added to the page
  7777  *
  7878  * @var string
<> 79 - * @access private
   79+ * @access protected
8080  */
  8181 
<> 82 -    var $_page_contents;
   82+    protected $_page_contents;
8383 
  8484 /**
  8585  * Holds the meta tags of the page
  8686  *
  8787  * @var array
<> 88 - * @access private
   88+ * @access protected
8989  */
  9090 
<> 91 -    var $_page_tags = array('generator' => array('osCommerce, Open Source E-Commerce Solutions'));
   91+    protected $_page_tags = array('generator' => array('osCommerce, Open Source E-Commerce Solutions'));
9292 
  9393 /**
  9494  * Holds javascript filenames to be included in the page
  9595  *
  9696  * The javascript files must be plain javascript files without any PHP logic, and are linked to from the page
  9797  *
  9898  * @var array
<> 99 - * @access private
   99+ * @access protected
100100  */
  101101 
<> 102 -    var $_javascript_filenames = array('includes/general.js');
   102+    protected $_javascript_filenames = array('includes/general.js');
103103 
  104104 /**
  105105  * Holds javascript PHP filenames to be included in the page
  106106  *
  107107  * The javascript PHP filenames can consist of PHP logic to produce valid javascript syntax, and is embedded in the page
  108108  *
  109109  * @var array
<> 110 - * @access private
   110+ * @access protected
111111  */
  112112 
<> 113 -    var $_javascript_php_filenames = array();
   113+    protected $_javascript_php_filenames = array();
114114 
  115115 /**
  116116  * Holds blocks of javascript syntax to embedd into the page
  117117  *
  118118  * Each block must contain its relevant <script> and </script> tags
  119119  *
  120120  * @var array
<> 121 - * @access private
   121+ * @access protected
122122  */
  123123 
<> 124 -    var $_javascript_blocks = array();
   124+    protected $_javascript_blocks = array();
125125 
  126126 /**
  127127  * Defines if the requested page has a header
  128128  *
  129129  * @var boolean
<> 130 - * @access private
   130+ * @access protected
131131  */
  132132 
<> 133 -    var $_has_header = true;
   133+    protected $_has_header = true;
134134 
  135135 /**
  136136  * Defines if the requested page has a footer
  137137  *
  138138  * @var boolean
<> 139 - * @access private
   139+ * @access protected
140140  */
  141141 
<> 142 -    var $_has_footer = true;
   142+    protected $_has_footer = true;
143143 
  144144 /**
  145145  * Defines if the requested page has box modules
  146146  *
  147147  * @var boolean
<> 148 - * @access private
   148+ * @access protected
149149  */
  150150 
<> 151 -    var $_has_box_modules = true;
   151+    protected $_has_box_modules = true;
152152 
  153153 /**
  154154  * Defines if the requested page has content modules
  155155  *
  156156  * @var boolean
<> 157 - * @access private
   157+ * @access protected
158158  */
  159159 
<> 160 -    var $_has_content_modules = true;
   160+    protected $_has_content_modules = true;
161161 
  162162 /**
  163163  * Defines if the requested page should display any debug messages
  164164  *
  165165  * @var boolean
<> 166 - * @access private
   166+ * @access protected
167167  */
  168168 
<> 169 -    var $_show_debug_messages = true;
   169+    protected $_show_debug_messages = true;
<_ 170170 
  171171 /**
  172172  * Setup the template class with the requested page module