projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
278a448
)
I18n.php
author
Alan Knowles
<alan@roojs.com>
Wed, 14 Dec 2011 06:33:53 +0000
(14:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 14 Dec 2011 06:33:53 +0000
(14:33 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
8835199
..
faa6fef
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-103,10
+103,14
@@
class Pman_Core_I18N extends Pman
$lbits = $this->guessUsersLanguage();
-
+ $i = DB_DataObject::Factory('I18n');
switch($s) {
- case 'Lang':
+ case 'Lang':
+ $i->ltype = 'l';
+ $i->applyFilters($_REQUEST, $this->authUser, $this);
+ $i->toTransList('l', $lbits[0]);
+
$ret = $this->getList('l', $lbits[0],empty($_REQUEST['filter']) ? false : $_REQUEST['filter']);
break;