plugin_path, $args->skin); Context::set('colorset', $args->colorset); // 템플릿 파일을 지정 $tpl_file = 'clock'; // 플러그인 자체적으로 설정한 변수들을 체크 $best = $args->best; $theme = $args->theme; if($theme != "white") $theme = "black"; $day = $args->day; if($day != "false") $day = "true"; $width = $args->width; if(!$width) $width = 200; $plugin_info->width = $width; $plugin_info->src = sprintf("%s/clock.swf?best=%s&theme=%s&day=%s", $tpl_path, $best, $theme, $day); Context::set('plugin_info', $plugin_info); // 템플릿 컴파일 $oTemplate = &TemplateHandler::getInstance(); return $oTemplate->compile($tpl_path, $tpl_file); } } ?>