mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-11 06:22:20 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@713 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f3fd2da4ae
commit
9be7431441
8 changed files with 136 additions and 37 deletions
|
|
@ -40,5 +40,25 @@
|
|||
$this->add('plugin_code', $plugin_code);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 선택된 플러그인 - 스킨의 컬러셋을 return
|
||||
**/
|
||||
function procGetColorsetList() {
|
||||
$plugin = Context::get('selected_plugin');
|
||||
$skin = Context::get('skin');
|
||||
|
||||
$path = sprintf('./plugins/%s/', $plugin);
|
||||
$oModuleModel = &getModel('module');
|
||||
$skin_info = $oModuleModel->loadSkinInfo($path, $skin);
|
||||
|
||||
for($i=0;$i<count($skin_info->colorset);$i++) {
|
||||
$colorset = sprintf('%s|@|%s', $skin_info->colorset[$i]->name, $skin_info->colorset[$i]->title);
|
||||
$colorset_list[] = $colorset;
|
||||
}
|
||||
|
||||
if(count($colorset_list)) $colorsets = implode("\n", $colorset_list);
|
||||
$this->add('colorset_list', $colorsets);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue