mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 07:39:55 +09:00
최근글/탭형최근글/웹진형/컨텐츠 위젯에서 문서의 다국어 지원 코드 보강
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5856 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0ae85d1e00
commit
0c6da5ac66
4 changed files with 10 additions and 4 deletions
|
|
@ -237,7 +237,7 @@
|
||||||
if(count($output->data)) {
|
if(count($output->data)) {
|
||||||
foreach($output->data as $key => $attribute) {
|
foreach($output->data as $key => $attribute) {
|
||||||
$oDocument = new documentItem();
|
$oDocument = new documentItem();
|
||||||
$oDocument->setAttribute($attribute);
|
$oDocument->setAttribute($attribute, false);
|
||||||
$GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument;
|
$GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument;
|
||||||
$document_srls[] = $oDocument->document_srl;
|
$document_srls[] = $oDocument->document_srl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,10 +77,12 @@
|
||||||
|
|
||||||
$oDocument = null;
|
$oDocument = null;
|
||||||
$oDocument = new documentItem();
|
$oDocument = new documentItem();
|
||||||
$oDocument->setAttribute($attribute);
|
$oDocument->setAttribute($attribute, false);
|
||||||
|
$GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument;
|
||||||
|
|
||||||
$document_list[$key] = $oDocument;
|
$document_list[$key] = $oDocument;
|
||||||
}
|
}
|
||||||
|
$oDocumentModel->setToAllDocumentExtraVars();
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$document_list = array();
|
$document_list = array();
|
||||||
|
|
|
||||||
|
|
@ -109,9 +109,11 @@
|
||||||
foreach($output->data as $k => $v) {
|
foreach($output->data as $k => $v) {
|
||||||
$oDocument = null;
|
$oDocument = null;
|
||||||
$oDocument = $oDocumentModel->getDocument();
|
$oDocument = $oDocumentModel->getDocument();
|
||||||
$oDocument->setAttribute($v);
|
$oDocument->setAttribute($v, false);
|
||||||
|
$GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument;
|
||||||
$tab_list[$mid]->document_list[] = $oDocument;
|
$tab_list[$mid]->document_list[] = $oDocument;
|
||||||
}
|
}
|
||||||
|
$oDocumentModel->setToAllDocumentExtraVars();
|
||||||
} else {
|
} else {
|
||||||
$tab_list[$mid]->document_list = array();
|
$tab_list[$mid]->document_list = array();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -103,10 +103,12 @@
|
||||||
|
|
||||||
$oDocument = null;
|
$oDocument = null;
|
||||||
$oDocument = new documentItem();
|
$oDocument = new documentItem();
|
||||||
$oDocument->setAttribute($attribute);
|
$oDocument->setAttribute($attribute, false);
|
||||||
|
$GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument;
|
||||||
|
|
||||||
$document_list[$key] = $oDocument;
|
$document_list[$key] = $oDocument;
|
||||||
}
|
}
|
||||||
|
$oDocumentModel->setToAllDocumentExtraVars();
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$document_list = array();
|
$document_list = array();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue