diff --git a/plugins/styx_clock/skins/default/clock.swf b/plugins/styx_clock/skins/default/clock.swf deleted file mode 100644 index f7cf6a613..000000000 Binary files a/plugins/styx_clock/skins/default/clock.swf and /dev/null differ diff --git a/plugins/styx_clock/skins/default/moto/clock.swf b/plugins/styx_clock/skins/default/moto/clock.swf new file mode 100644 index 000000000..495126eea Binary files /dev/null and b/plugins/styx_clock/skins/default/moto/clock.swf differ diff --git a/plugins/styx_clock/skins/default/skin.xml b/plugins/styx_clock/skins/default/skin.xml index 0bccbfadf..447a938f3 100644 --- a/plugins/styx_clock/skins/default/skin.xml +++ b/plugins/styx_clock/skins/default/skin.xml @@ -6,8 +6,11 @@ 플래시 시계를 출력합니다. - - 기본 + + moto + + + vis diff --git a/plugins/styx_clock/skins/default/vis/clock.swf b/plugins/styx_clock/skins/default/vis/clock.swf new file mode 100755 index 000000000..843bc4846 Binary files /dev/null and b/plugins/styx_clock/skins/default/vis/clock.swf differ diff --git a/plugins/styx_clock/styx_clock.class.php b/plugins/styx_clock/styx_clock.class.php index e4db8cf42..7e39a3d7f 100644 --- a/plugins/styx_clock/styx_clock.class.php +++ b/plugins/styx_clock/styx_clock.class.php @@ -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);