FishEye
Search
Changelog
Browse
Help
osCommerce
:/
branches
/
hpdl
/
oscommerce
/
includes
/
classes
/
currencies.php
Quick Search:
Mode
Side-by-Side
Unified
No wrapping
Soft wrap
Context
Displaying 3 lines of context.
None
| Less |
More
|
Full
Other Diffs
1497
1213
748
733
538
500
484
399
387
386
199
153
43
5
1
1497
1213
748
733
538
500
484
399
387
386
199
153
43
5
1
Ignore
Blank Lines
Whitespace:
None
Significant
All
Diff
386
387
387
currencies.php
1
1
<?php
2
2
/*
3
-
$Id: currencies.php
386
2006-01-
12
11
:
36
:
39Z
hpdl $
3
+
$Id: currencies.php
387
2006-01-
18
16
:
49
:
58Z
hpdl $
4
4
5
5
osCommerce, Open Source E-Commerce Solutions
6
6
http://www.oscommerce.com
…
96
96
return $_SESSION['currency'];
97
97
}
98
98
}
99
+
100
+
function getID($code = '') {
101
+
if (empty($code)) {
102
+
$code = $_SESSION['currency'];
103
+
}
104
+
105
+
return $this->currencies[$code]['id'];
106
+
}
99
107
}
100
108
?>