mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
parent
0a97a0de53
commit
f1b2dc6bd0
1 changed files with 2 additions and 4 deletions
|
|
@ -5,9 +5,6 @@ class pageMobile extends pageView
|
||||||
{
|
{
|
||||||
function init()
|
function init()
|
||||||
{
|
{
|
||||||
// Get a template path (page in the administrative template tpl putting together)
|
|
||||||
$this->setTemplatePath($this->module_path.'tpl');
|
|
||||||
|
|
||||||
switch($this->module_info->page_type)
|
switch($this->module_info->page_type)
|
||||||
{
|
{
|
||||||
case 'WIDGET' :
|
case 'WIDGET' :
|
||||||
|
|
@ -45,6 +42,7 @@ class pageMobile extends pageView
|
||||||
Context::set('module_info', $this->module_info);
|
Context::set('module_info', $this->module_info);
|
||||||
Context::set('page_content', $page_content);
|
Context::set('page_content', $page_content);
|
||||||
|
|
||||||
|
$this->setTemplatePath($this->module_path . 'tpl');
|
||||||
$this->setTemplateFile('mobile');
|
$this->setTemplateFile('mobile');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue