projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8aba70
)
DataObjects/Cms_templatestr.php
author
Alan
<alan@roojs.com>
Fri, 25 Nov 2022 07:16:50 +0000
(15:16 +0800)
committer
Alan
<alan@roojs.com>
Fri, 25 Nov 2022 07:16:50 +0000
(15:16 +0800)
DataObjects/Cms_templatestr.php
patch
|
blob
|
history
diff --git
a/DataObjects/Cms_templatestr.php
b/DataObjects/Cms_templatestr.php
index
30235e5
..
7f79fd9
100644
(file)
--- a/
DataObjects/Cms_templatestr.php
+++ b/
DataObjects/Cms_templatestr.php
@@
-128,6
+128,9
@@
class Pman_Cms_DataObjects_Cms_templatestr extends DB_DataObject
case 'transtree':
// DB_DataObject::debugLevel(1);
+ $cfg = HTML_FlexyFramework::get()->Pman_Cms;
+ $default = isset($cfg['languages']) ? $cfg['languages'] : array();
+
$x = DB_Dataobject::Factory($this->tableName());
$x->selectAdd();
$x->selectAdd('distinct(lang) as lang');