FishEye
Search
Changelog
Browse
Help
osCommerce
:/
branches
/
hpdl
/
oscommerce
/
includes
/
classes
/
template.php
Quick Search:
Mode
Side-by-Side
Unified
No wrapping
Soft wrap
Context
Displaying 3 lines of context.
None
| Less |
More
|
Full
Other Diffs
1863
1862
1848
1847
1674
1498
1497
1267
1265
1263
1262
1103
1102
1101
1035
1034
979
978
808
802
784
783
757
725
700
678
639
629
608
593
368
356
353
352
351
333
331
325
324
323
322
290
248
208
192
157
156
154
151
148
125
1863
1862
1848
1847
1674
1498
1497
1267
1265
1263
1262
1103
1102
1101
1035
1034
979
978
808
802
784
783
757
725
700
678
639
629
608
593
368
356
353
352
351
333
331
325
324
323
322
290
248
208
192
157
156
154
151
148
125
Ignore
Blank Lines
Whitespace:
None
Significant
All
Diff
352
353
353
template.php
1
1
<?php
2
2
/*
3
-
$Id: template.php
352
2005-12-19 11:
55
:
30Z
hpdl $
3
+
$Id: template.php
353
2005-12-19 11:
59
:
56Z
hpdl $
4
4
5
5
osCommerce, Open Source E-Commerce Solutions
6
6
http://www.oscommerce.com
…
161
161
162
162
function getID() {
163
163
if (isset($this->_template) === false) {
164
-
$this->
setTemplate
();
164
+
$this->
set
();
165
165
}
166
166
167
167
return $this->_template_id;
…
176
176
177
177
function getCode() {
178
178
if (isset($this->_template) === false) {
179
-
$this->
setTemplate
();
179
+
$this->
set
();
180
180
}
181
181
182
182
return $this->_template;
…
344
344
* @access public
345
345
*/
346
346
347
-
function
setTemplate
() {
347
+
function
set
() {
348
348
global $osC_Database;
349
349
350
350
if ( (isset($_SESSION['template']) === false) || (isset($_GET['template']) && !empty($_GET['template'])) ) {