mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Move unnecessary method in ModuleMobile to ModuleView
This commit is contained in:
parent
f5bd3a15ef
commit
0e2940985f
3 changed files with 13 additions and 10 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<action name="dispModuleSkinInfo" type="view" permission="all-managers" meta-noindex="true" />
|
||||
<action name="dispModuleFileBox" type="view" permission="root" meta-noindex="true" />
|
||||
<action name="dispModuleFileBoxAdd" type="view" permission="root" meta-noindex="true" />
|
||||
<action name="dispModuleChangeLang" type="mobile" />
|
||||
<action name="dispModuleChangeLang" type="view" />
|
||||
|
||||
<action name="getModuleSkinInfoList" type="model" permission="root" />
|
||||
<action name="getFileBoxListHtml" type="model" permission="root" />
|
||||
|
|
|
|||
|
|
@ -1,12 +1,6 @@
|
|||
<?php
|
||||
/* Copyright (C) NAVER <http://www.navercorp.com> */
|
||||
class ModuleMobile extends ModuleObject
|
||||
|
||||
class ModuleMobile extends ModuleView
|
||||
{
|
||||
function dispModuleChangeLang()
|
||||
{
|
||||
$this->setTemplatePath(sprintf("%stpl/",$this->module_path));
|
||||
$this->setTemplateFile('lang.html');
|
||||
}
|
||||
|
||||
}
|
||||
/* End of file module.mobile.php */
|
||||
/* Location: ./modules/module/module.mobile.php */
|
||||
|
|
|
|||
|
|
@ -142,6 +142,15 @@ class ModuleView extends Module
|
|||
$this->setLayoutFile('popup_layout');
|
||||
$this->setTemplateFile('filebox_add');
|
||||
}
|
||||
|
||||
/**
|
||||
* Moved from mobile class
|
||||
*/
|
||||
function dispModuleChangeLang()
|
||||
{
|
||||
$this->setTemplatePath(sprintf("%stpl/",$this->module_path));
|
||||
$this->setTemplateFile('lang.html');
|
||||
}
|
||||
}
|
||||
/* End of file module.view.php */
|
||||
/* Location: ./modules/module/module.view.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue