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

This commit is contained in:
zero 2007-06-08 06:16:40 +00:00
parent d97bdd836a
commit c8c0f3f381
5 changed files with 7 additions and 4 deletions

Binary file not shown.

View file

@ -6,8 +6,11 @@
<description xml:lang="ko">플래시 시계를 출력합니다.</description>
</maker>
<colorset>
<color name="normal">
<title xml:lang="ko">기본</title>
<color name="moto">
<title xml:lang="ko">moto</title>
</color>
<color name="vis">
<title xml:lang="ko">vis</title>
</color>
</colorset>
</skin>

Binary file not shown.

View file

@ -17,7 +17,7 @@
function proc($args) {
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
$tpl_path = sprintf('%sskins/%s', $this->plugin_path, $args->skin);
Context::set('colorset', $args->colorset);
$colorset = $args->colorset;
// 템플릿 파일을 지정
$tpl_file = 'clock';
@ -32,7 +32,7 @@
if(!$width) $width = 200;
$plugin_info->width = $width;
$plugin_info->src = sprintf("%s/clock.swf?theme=%s&day=%s", $tpl_path, $theme, $day);
$plugin_info->src = sprintf("%s/%s/clock.swf?theme=%s&day=%s", $tpl_path, $colorset, $theme, $day);
Context::set('plugin_info', $plugin_info);