mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
issue 2369 add skin_type.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11782 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4cf9504350
commit
3ea7cda316
1 changed files with 5 additions and 1 deletions
|
|
@ -776,8 +776,12 @@
|
||||||
public function getModuleSkinInfoList()
|
public function getModuleSkinInfoList()
|
||||||
{
|
{
|
||||||
$module = Context::get('module_name');
|
$module = Context::get('module_name');
|
||||||
|
|
||||||
|
$skinType = Context::get('skin_type');
|
||||||
|
|
||||||
$path = ModuleHandler::getModulePath($module);
|
$path = ModuleHandler::getModulePath($module);
|
||||||
$skin_list = $this->getSkins($path, 'skins');
|
$dir = ($skinType == 'M') ? 'm.skins' : 'skins';
|
||||||
|
$skin_list = $this->getSkins($path, $dir);
|
||||||
|
|
||||||
$this->add('skin_info_list', $skin_list);
|
$this->add('skin_info_list', $skin_list);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue