mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1743 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c759503063
commit
f4953b1b92
15 changed files with 110 additions and 79 deletions
|
|
@ -32,8 +32,6 @@
|
|||
$widget_info->title = $title;
|
||||
$widget_info->archive_list = $output->data;
|
||||
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$args->style,$matches);
|
||||
$widget_info->width = trim($matches[3][0]);
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
|
|
|
|||
|
|
@ -48,8 +48,6 @@
|
|||
foreach($output->data as $key => $val) $widget_info->calendar[$val->month] = $val->count;
|
||||
}
|
||||
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$args->style,$matches);
|
||||
$widget_info->width = trim($matches[3][0]);
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
|
|
|
|||
|
|
@ -24,9 +24,6 @@
|
|||
else Context::set('yesterday_counter', $val);
|
||||
}
|
||||
|
||||
// 변수 설정
|
||||
Context::set('style', $args->style);
|
||||
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
$tpl_path = sprintf('%sskins/%s', $this->widget_path, $args->skin);
|
||||
Context::set('colorset', $args->colorset);
|
||||
|
|
|
|||
|
|
@ -16,9 +16,6 @@
|
|||
* 결과를 만든후 print가 아니라 return 해주어야 한다
|
||||
**/
|
||||
function proc($args) {
|
||||
// 변수 설정
|
||||
Context::set('style', $args->style);
|
||||
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
$tpl_path = sprintf('%sskins/%s', $this->widget_path, $args->skin);
|
||||
Context::set('colorset', $args->colorset);
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@
|
|||
$widget_info->title = $title;
|
||||
$widget_info->comment_list = $output->data;
|
||||
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$args->style,$matches);
|
||||
$widget_info->width = trim($matches[3][0]);
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@
|
|||
$widget_info->title = $title;
|
||||
$widget_info->document_list = $output->data;
|
||||
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$args->style,$matches);
|
||||
$widget_info->width = trim($matches[3][0]);
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<!--@end-->
|
||||
|
||||
<div class="newest_document_default_{$colorset}" style="width:100%">
|
||||
<div class="newest_document_default_{$colorset}">
|
||||
<div class="newest_document_default_box">
|
||||
<div class="title_box">
|
||||
<div class="title">{$widget_info->title}</div>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<description xml:lang="ko">플래쉬로 된 시계를 출력합니다.</description>
|
||||
</author>
|
||||
<extra_vars>
|
||||
<var id="width">
|
||||
<var id="clock_width">
|
||||
<name xml:lang="ko">가로길이</name>
|
||||
<type>text</type>
|
||||
<description xml:lang="ko">가로길이를 지정하실 수 있습니다. (기본 200)</description>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<script type="text/javascript">
|
||||
displayMultimedia("{$widget_info->src}", {$widget_info->width}, {$widget_info->width});
|
||||
displayMultimedia("{$widget_info->src}", {$widget_info->clock_width}, {$widget_info->clock_width});
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -28,10 +28,9 @@
|
|||
$day = $args->day;
|
||||
if($day != "false") $day = "true";
|
||||
|
||||
$width = $args->width;
|
||||
if(!$width) $width = 200;
|
||||
$widget_info->width = $width;
|
||||
|
||||
$clock_width = $args->clock_width;
|
||||
if(!$clock_width) $clock_width = 200;
|
||||
$widget_info->clock_width = $clock_width;
|
||||
$widget_info->src = sprintf("%s%s/%s/clock.swf?theme=%s&day=%s", Context::getRequestUri(), $tpl_path, $colorset, $theme, $day);
|
||||
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
|
|
|||
|
|
@ -35,8 +35,6 @@
|
|||
$widget_info->title = $title;
|
||||
$widget_info->tag_list = $output->data;
|
||||
|
||||
preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$args->style,$matches);
|
||||
$widget_info->width = trim($matches[3][0]);
|
||||
Context::set('widget_info', $widget_info);
|
||||
|
||||
// 템플릿의 스킨 경로를 지정 (skin, colorset에 따른 값을 설정)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue