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

This commit is contained in:
zero 2007-06-07 04:10:49 +00:00
parent 9a5c68a5e9
commit 97c7db301f
3 changed files with 1 additions and 9 deletions

View file

@ -6,11 +6,6 @@
<description xml:lang="ko">플래쉬로 된 시계를 출력합니다.</description> <description xml:lang="ko">플래쉬로 된 시계를 출력합니다.</description>
</author> </author>
<extra_vars> <extra_vars>
<var id="best">
<name xml:lang="ko">제목</name>
<type>text</type>
<description xml:lang="ko">시계내의 제목을 바꿀 수 있습니다. (공백으로 하면 나타나지 않습니다)</description>
</var>
<var id="width"> <var id="width">
<name xml:lang="ko">가로길이</name> <name xml:lang="ko">가로길이</name>
<type>text</type> <type>text</type>

View file

@ -22,9 +22,6 @@
// 템플릿 파일을 지정 // 템플릿 파일을 지정
$tpl_file = 'clock'; $tpl_file = 'clock';
// 플러그인 자체적으로 설정한 변수들을 체크
$best = $args->best;
$theme = $args->theme; $theme = $args->theme;
if($theme != "white") $theme = "black"; if($theme != "white") $theme = "black";
@ -35,7 +32,7 @@
if(!$width) $width = 200; if(!$width) $width = 200;
$plugin_info->width = $width; $plugin_info->width = $width;
$plugin_info->src = sprintf("%s/clock.swf?best=%s&theme=%s&day=%s", $tpl_path, $best, $theme, $day); $plugin_info->src = sprintf("%s/clock.swf?theme=%s&day=%s", $tpl_path, $theme, $day);
Context::set('plugin_info', $plugin_info); Context::set('plugin_info', $plugin_info);