mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +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
|
|
@ -16,9 +16,9 @@
|
|||
// Get configurations (using module model object)
|
||||
$oModuleModel = &getModel('module');
|
||||
$config = $oModuleModel->getModuleConfig('message');
|
||||
if(!$config->skin) $config->skin = 'default';
|
||||
if(!$config->mskin) $config->mskin = 'default';
|
||||
// Set the template path
|
||||
$template_path = sprintf('%sm.skins/%s', $this->module_path, $config->skin);
|
||||
$template_path = sprintf('%sm.skins/%s', $this->module_path, $config->mskin);
|
||||
// Get the member configuration
|
||||
$oModuleModel = &getModel('module');
|
||||
$member_config = $oModuleModel->getModuleConfig('member');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue