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:
flyskyko 2012-09-17 06:10:31 +00:00
parent 8dbb0b2a37
commit b04c7044f1
4 changed files with 22 additions and 5 deletions

View file

@ -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');