로그인한 사용자의 포인트 현황을 출력하는 위젯 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4138 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-04-23 06:41:34 +00:00
parent f340619618
commit f742b03f73
8 changed files with 137 additions and 2 deletions

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<skin>
<title xml:lang="ko">회원 포인트 현황 기본 스킨</title>
<maker email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2008. 4. 23">
<name xml:lang="ko">제로</name>
<description xml:lang="ko">
포인트 현황 출력 위젯의 기본 스킨입니다.
</description>
</maker>
<colorset>
<color name="normal">
<title xml:lang="ko">기본 컬러</title>
<title xml:lang="jp">デフォルトカラー</title>
<title xml:lang="zh-CN">默认颜色</title>
<title xml:lang="en">Default color</title>
</color>
</colorset>
</skin>

View file

@ -0,0 +1,11 @@
.point_status_white .level { font-size:7pt; font-family:tahoma; float:left; color:#333333; }
.point_status_white .next { font-size:7pt; font-family:tahoma; float:right; color:#979797; }
.point_status_white .bar_box { background-color:#D9DAF8; height:8px; border:1px solid #2E35D3; white-space:nowrap; overflow:hidden; margin:3px 0 3px 0;}
.point_status_white .bar { height:8px; background-color:#6A70E5; border-right:1px solid #2E35D3; white-space:nowrap; overflow:hidden;}
.point_status_white .point { font-family:tahoma; font-size:8pt; color:#333333; }
.point_status_black .level { font-size:7pt; font-family:tahoma; float:left; color:#BBBBBB; }
.point_status_black .next { font-size:7pt; font-family:tahoma; float:right; color:#979797; }
.point_status_black .bar_box { background-color:#D9DAF8; height:8px; border:1px solid #2E35D3; white-space:nowrap; overflow:hidden; margin:3px 0 3px 0;}
.point_status_black .bar { height:8px; background-color:#6A70E5; border-right:1px solid #2E35D3; white-space:nowrap; overflow:hidden;}
.point_status_black .point { font-family:tahoma; font-size:8pt; color:#BBBBBB; }

View file

@ -0,0 +1,27 @@
<!--@if($colorset=="black")-->
{@ $colorset="black"}
<!--@else-->
{@ $colorset="white"}
<!--@end-->
<!--%import("status.css")-->
<div class="point_status_{$colorset}">
<div class="level">
Lv.<strong>{$widget_info->level}</strong>
</div>
<div class="next">
<strong>{$widget_info->per}%</strong>
<span class="next_point">(-{$widget_info->next_point-$widget_info->point})</span>
</div>
<div class="clear"></div>
<div class="bar_box">
<div style="width:{$widget_info->per}%;" class="bar"></div>
</div>
<div class="point">
{number_format($widget_info->point)}{$widget_info->point_unit}
</div>
</div>