FishEye
Search
Changelog
Browse
Help
osCommerce
:/
branches
/
hpdl
/
oscommerce
/
includes
/
classes
/
language.php
Quick Search:
Mode
Side-by-Side
Unified
No wrapping
Soft wrap
Context
Displaying 3 lines of context.
None
| Less |
More
|
Full
Other Diffs
1512
1507
1498
1497
1434
1431
1267
1265
1263
1262
1101
979
978
946
944
758
757
735
733
700
678
448
447
410
399
394
393
387
386
383
377
368
199
196
153
151
121
120
43
5
1
1512
1507
1498
1497
1434
1431
1267
1265
1263
1262
1101
979
978
946
944
758
757
735
733
700
678
448
447
410
399
394
393
387
386
383
377
368
199
196
153
151
121
120
43
5
1
Ignore
Blank Lines
Whitespace:
None
Significant
All
Diff
394
399
399
language.php
1
1
<?php
2
2
/*
3
-
$Id: language.php
394
2006-01-
22
04
:
43
:
29Z
hpdl $
3
+
$Id: language.php
399
2006-01-
25
06
:
08
:
03Z
hpdl $
4
4
5
5
osCommerce, Open Source E-Commerce Solutions
6
6
http://www.oscommerce.com
…
170
170
return $this->_languages[$language][$key];
171
171
}
172
172
173
+
function getCodeFromID($id) {
174
+
foreach ($this->_languages as $code => $lang) {
175
+
if ($lang['id'] == $id) {
176
+
return $code;
177
+
}
178
+
}
179
+
}
180
+
173
181
function getID() {
174
182
return $this->_languages[$this->_code]['id'];
175
183
}