projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ece5ac
)
DataObjects/I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 03:19:37 +0000
(11:19 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 03:19:37 +0000
(11:19 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
40a5355
..
ed27c82
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-24,8
+24,14
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
{
//DB_DataObject::debugLevel(1);
- if (!empty($q['query']['empty_etype'])) {
- $this->whereAdd("etype = ''");
+ if (!empty($q['query']['_with_en'])) {
+ $this->selectAdd(""
+ i18n_translate(ltype, lkey, 'en') as lval_en
+
+ ")
+
+
+
}
}
}