mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
merge from branch luminous (version 1.5.4.2, ~r12561)
git-svn-id: http://xe-core.googlecode.com/svn/trunk@12611 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2263200ce4
commit
cc47d2b247
196 changed files with 3655 additions and 2033 deletions
|
|
@ -89,17 +89,33 @@ class pageMobile extends pageView {
|
|||
return $page_content;
|
||||
}
|
||||
|
||||
function _getArticleContent(){
|
||||
function _getArticleContent()
|
||||
{
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oDocument = $oDocumentModel->getDocument(0, true);
|
||||
|
||||
if ($this->module_info->document_srl){
|
||||
$document_srl = $this->module_info->document_srl;
|
||||
if ($this->module_info->mdocument_srl)
|
||||
{
|
||||
$document_srl = $this->module_info->mdocument_srl;
|
||||
$oDocument->setDocument($document_srl);
|
||||
Context::set('document_srl', $document_srl);
|
||||
}
|
||||
Context::set('oDocument', $oDocument);
|
||||
$this->setTemplatePath(sprintf($this->module_path.'m.skins/%s', $this->module_info->mskin));
|
||||
|
||||
if ($this->module_info->mskin)
|
||||
{
|
||||
$templatePath = (sprintf($this->module_path.'m.skins/%s', $this->module_info->skin));
|
||||
}
|
||||
else
|
||||
{
|
||||
$templatePath = ($this->module_path.'m.skins/default');
|
||||
}
|
||||
|
||||
$page_content = $oTemplate->compile($templatePath, 'mobile');
|
||||
|
||||
return $page_content;
|
||||
}
|
||||
|
||||
function _getOutsideContent(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue