mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 20:29:57 +09:00
삭제
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2327 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
commit
8326004cb2
2773 changed files with 91485 additions and 0 deletions
42
widgets/DroArc_clock/DroArc_clock.class.php
Normal file
42
widgets/DroArc_clock/DroArc_clock.class.php
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<?php
|
||||
/**
|
||||
* @class DroArc_clock
|
||||
* @author DroArc (ac7614@empas.com)
|
||||
* @brief 플래시 시계 출력
|
||||
* @version 0.1
|
||||
**/
|
||||
|
||||
class DroArc_clock extends WidgetHandler {
|
||||
|
||||
/**
|
||||
* @brief 위젯의 실행 부분
|
||||
*
|
||||
* ./widgets/위젯/conf/info.xml 에 선언한 extra_vars를 args로 받는다
|
||||
* 결과를 만든후 print가 아니라 return 해주어야 한다
|
||||
**/
|
||||
function proc($args) {
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
$tpl_path = sprintf('%sskins/%s', $this->widget_path, $args->skin);
|
||||
$colorset = $args->colorset;
|
||||
|
||||
// 템플릿 파일을 지정
|
||||
$tpl_file = 'clock';
|
||||
|
||||
$clock_width = $args->clock_width;
|
||||
if(!$clock_width) $clock_width = 150;
|
||||
$clock_height = $args->clock_height;
|
||||
if(!$clock_height) $clock_height = 64;
|
||||
|
||||
$widget_info->clock_width = $clock_width;
|
||||
$widget_info->clock_height = $clock_height;
|
||||
|
||||
$widget_info->src = sprintf("%s%s/%s/clock.swf", Context::getRequestUri(), $tpl_path, $colorset);
|
||||
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
// 템플릿 컴파일
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
}
|
||||
?>
|
||||
41
widgets/DroArc_clock/conf/info.xml
Normal file
41
widgets/DroArc_clock/conf/info.xml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<widget version="0.1">
|
||||
<title xml:lang="ko">플래시 디지털 시계</title>
|
||||
<title xml:lang="zh-CN">Flash数字时钟</title>
|
||||
<title xml:lang="jp">デジタル時計</title>
|
||||
<title xml:lang="en">Flash digital Clock</title>
|
||||
<author email_address="ac7614@empas.com" link="http://widz.inven.co.kr" date="2007. 7. 26">
|
||||
<name xml:lang="ko">드로아크 </name>
|
||||
<name xml:lang="zh-CN">DroArc</name>
|
||||
<name xml:lang="jp">DroArc </name>
|
||||
<name xml:lang="en">DroArc</name>
|
||||
<description xml:lang="ko">플래쉬로 된 디지털 시계를 출력합니다.</description>
|
||||
<description xml:lang="zh-CN">显示Flash数字时钟。</description>
|
||||
<description xml:lang="jp">フラッシュのデジタル時計を表示します。</description>
|
||||
<description xml:lang="en">This widget displays a digital clock made of flash.</description>
|
||||
</author>
|
||||
<extra_vars>
|
||||
<var id="clock_width">
|
||||
<name xml:lang="ko">가로길이</name>
|
||||
<name xml:lang="zh-CN">宽度</name>
|
||||
<name xml:lang="jp">横幅</name>
|
||||
<name xml:lang="en">Width</name>
|
||||
<type>text</type>
|
||||
<description xml:lang="ko">가로길이를 지정하실 수 있습니다. (기본 150px)</description>
|
||||
<description xml:lang="zh-CN">可以设置宽度大小。 (默认为 150px)</description>
|
||||
<description xml:lang="jp">横幅のサイズを指定することができます(デフォルト150px)。</description>
|
||||
<description xml:lang="en">It will be able to set the width. (default is 150px)</description>
|
||||
</var>
|
||||
<var id="clock_height">
|
||||
<name xml:lang="ko">세로길이</name>
|
||||
<name xml:lang="zh-CN">高度</name>
|
||||
<name xml:lang="jp">縦幅</name>
|
||||
<name xml:lang="en">Height</name>
|
||||
<type>text</type>
|
||||
<description xml:lang="ko">세로길이를 지정하실 수 있습니다. (기본 64px)</description>
|
||||
<description xml:lang="zh-CN">可以设置高度大小。(默认为 64px)</description>
|
||||
<description xml:lang="jp">縦幅のサイズを指定することができます(デフォルト64px)。</description>
|
||||
<description xml:lang="en">It will be able to set the width. (default is 64px)</description>
|
||||
</var>
|
||||
</extra_vars>
|
||||
</widget>
|
||||
BIN
widgets/DroArc_clock/skins/default/black/clock.swf
Normal file
BIN
widgets/DroArc_clock/skins/default/black/clock.swf
Normal file
Binary file not shown.
3
widgets/DroArc_clock/skins/default/clock.html
Normal file
3
widgets/DroArc_clock/skins/default/clock.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<script type="text/javascript">
|
||||
displayMultimedia("{$widget_info->src}", {$widget_info->clock_width}, {$widget_info->clock_height});
|
||||
</script>
|
||||
BIN
widgets/DroArc_clock/skins/default/green/clock.swf
Normal file
BIN
widgets/DroArc_clock/skins/default/green/clock.swf
Normal file
Binary file not shown.
BIN
widgets/DroArc_clock/skins/default/orange/clock.swf
Normal file
BIN
widgets/DroArc_clock/skins/default/orange/clock.swf
Normal file
Binary file not shown.
BIN
widgets/DroArc_clock/skins/default/pink/clock.swf
Normal file
BIN
widgets/DroArc_clock/skins/default/pink/clock.swf
Normal file
Binary file not shown.
BIN
widgets/DroArc_clock/skins/default/red/clock.swf
Normal file
BIN
widgets/DroArc_clock/skins/default/red/clock.swf
Normal file
Binary file not shown.
47
widgets/DroArc_clock/skins/default/skin.xml
Normal file
47
widgets/DroArc_clock/skins/default/skin.xml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<skin>
|
||||
<title xml:lang="ko">플래시 디지털 시계</title>
|
||||
<title xml:lang="zh-CN">Flash数字时钟</title>
|
||||
<title xml:lang="en">Flash Digital Clock</title>
|
||||
<maker email_address="ac7614@empas.com" link="http://widz.inven.co.kr" date="2007. 7. 26">
|
||||
<name xml:lang="ko">드로아크</name>
|
||||
<name xml:lang="zh-CN">DroArc</name>
|
||||
<name xml:lang="en">DroArc</name>
|
||||
<description xml:lang="ko">플래시 디지털 시계를 출력합니다.</description>
|
||||
<description xml:lang="zh-CN">显示Flash数字时钟。</description>
|
||||
<description xml:lang="en">It displays flash digital clock.</description>
|
||||
</maker>
|
||||
<colorset>
|
||||
<color name="black">
|
||||
<title xml:lang="ko">블랙</title>
|
||||
<title xml:lang="zh-CN">黑色</title>
|
||||
<title xml:lang="jp">ブラック</title>
|
||||
<title xml:lang="en">Black</title>
|
||||
</color>
|
||||
<color name="pink">
|
||||
<title xml:lang="ko">핑크</title>
|
||||
<title xml:lang="zh-CN">粉红色</title>
|
||||
<title xml:lang="jp">ピンク</title>
|
||||
<title xml:lang="en">Pink</title>
|
||||
</color>
|
||||
<color name="green">
|
||||
<title xml:lang="ko">그린</title>
|
||||
<title xml:lang="zh-CN">绿色</title>
|
||||
<title xml:lang="jp">グリーン</title>
|
||||
<title xml:lang="en">Green</title>
|
||||
</color>
|
||||
<color name="red">
|
||||
<title xml:lang="ko">레드</title>
|
||||
<title xml:lang="zh-CN">红色</title>
|
||||
<title xml:lang="jp">レッド</title>
|
||||
<title xml:lang="en">Red</title>
|
||||
</color>
|
||||
<color name="orange">
|
||||
<title xml:lang="ko">오렌지</title>
|
||||
<title xml:lang="zh-CN">橘黄色</title>
|
||||
<title xml:lang="jp">オレンジ</title>
|
||||
<title xml:lang="en">Orange</title>
|
||||
</color>
|
||||
|
||||
</colorset>
|
||||
</skin>
|
||||
Loading…
Add table
Add a link
Reference in a new issue