git-svn-id: http://xe-core.googlecode.com/svn/trunk@713 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-27 08:36:36 +00:00
parent f3fd2da4ae
commit 9be7431441
8 changed files with 136 additions and 37 deletions

View file

@ -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);
}
}
?>