FishEye
Search
Changelog
Browse
Help
osCommerce
:/
branches
/
hpdl
/
oscommerce
/
includes
/
classes
/
order_total.php
Quick Search:
Mode
Side-by-Side
Unified
No wrapping
Soft wrap
Context
Displaying 3 lines of context.
None
| Less |
More
|
Full
Other Diffs
1498
1497
1267
1265
1263
1262
1101
979
978
757
734
700
678
637
620
443
439
437
435
434
433
432
431
428
410
404
383
377
368
273
199
153
151
43
5
1
1498
1497
1267
1265
1263
1262
1101
979
978
757
734
700
678
637
620
443
439
437
435
434
433
432
431
428
410
404
383
377
368
273
199
153
151
43
5
1
Ignore
Blank Lines
Whitespace:
None
Significant
All
Diff
428
431
431
order_total.php
1
1
<?php
2
2
/*
3
-
$Id: order_total.php
428
2006-02-
14
16
:
47
:
41Z
hpdl $
3
+
$Id: order_total.php
431
2006-02-
15
05
:
57
:
09Z
hpdl $
4
4
5
5
osCommerce, Open Source E-Commerce Solutions
6
6
http://www.oscommerce.com
…
82
82
return $output_string;
83
83
}
84
84
85
+
function hasActive() {
86
+
static $has_active;
87
+
88
+
if (isset($has_active) === false) {
89
+
$has_active = false;
90
+
91
+
foreach ($this->modules as $module) {
92
+
if ($GLOBALS['osC_OrderTotal_' . $module]->enabled) {
93
+
$has_active = true;
94
+
break;
95
+
}
96
+
}
97
+
}
98
+
99
+
return $has_active;
100
+
}
101
+
85
102
function hasKeys() {
86
103
static $has_keys;
87
104