mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 06:13:32 +09:00
issue 2462, added a mobile skin option for message module
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11268 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8dbb0b2a37
commit
b04c7044f1
4 changed files with 22 additions and 5 deletions
|
|
@ -19,17 +19,24 @@
|
|||
function dispMessageAdminConfig() {
|
||||
// Get a list of skins(themes)
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
$skin_list = $oModuleModel->getskins($this->module_path);
|
||||
Context::set('skin_list', $skin_list);
|
||||
|
||||
$mskin_list = $oModuleModel->getSkins($this->module_path, "m.skins");
|
||||
Context::set('mskin_list', $mskin_list);
|
||||
|
||||
// Get configurations (using module model object)
|
||||
$config = $oModuleModel->getModuleConfig('message');
|
||||
Context::set('config',$config);
|
||||
|
||||
// Set a template file
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
|
||||
|
||||
//Security
|
||||
$security = new Security();
|
||||
$security->encodeHTML('skin_list..title');
|
||||
$security->encodeHTML('skin_list..title', 'mskin_list..title');
|
||||
|
||||
$this->setTemplateFile('config');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue