css 및 js 호출순서 조정기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-03-06 05:33:56 +00:00
parent 4f380d9c48
commit 61851f1dfe
2149 changed files with 109090 additions and 18689 deletions

View file

@ -36,7 +36,7 @@
</description>
<description xml:lang="zh-TW">
利用訪問統計模組顯示總訪問量與昨天、今日的訪問統計量。
想要使用此組件,必須先安裝訪問統計模組並啟動件。
想要使用此組件,必須先安裝訪問統計模組並啟動件。
</description>
<version>0.1</version>
<date>2007-02-28</date>

View file

@ -17,7 +17,8 @@
// 전체, 어제, 오늘 접속 현황을 가져옴
$oCounterModel = &getModel('counter');
$output = $oCounterModel->getStatus(array('00000000', date('Ymd', time()-60*60*24), date('Ymd')));
$site_module_info = Context::get('site_module_info');
$output = $oCounterModel->getStatus(array('00000000', date('Ymd', time()-60*60*24), date('Ymd')), $site_module_info->site_srl);
foreach($output as $key => $val) {
if(!$key) Context::set('total_counter', $val);
elseif($key == date("Ymd")) Context::set('today_counter', $val);

View file

@ -1,21 +1,16 @@
<!--@if($colorset == "normal")-->
<!--%import("normal/style.css")-->
<!--@end-->
<div class="counter_widget">
<ul>
<!--@if($total_counter)-->
<li><strong>Total</strong> : {$total_counter->unique_visitor}</li>
<!--@end-->
<!--@if($today_counter)-->
<li><strong>Today</strong> : {$today_counter->unique_visitor}</li>
<!--@end-->
<!--@if($yesterday_counter)-->
<li><strong>Yesterday</strong> : {$yesterday_counter->unique_visitor}</li>
<!--@end-->
</ul>
</div>
<!--@if($colorset == "black")-->
<!--%import("./css/black.css")-->
<!--@elseif($colorset == "white" || $colorset == "normal")-->
<!--%import("./css/white.css")-->
<!--@end-->
<div class="widgetContainer">
<dl class="widgetCounter">
<dt>{$lang->today} :</dt>
<dd>{number_format($today_counter->unique_visitor)}</dd>
<dt>{$lang->yesterday} :</dt>
<dd>{number_format($yesterday_counter->unique_visitor)}</dd>
<dt>{$lang->total} :</dt>
<dd>{number_format($total_counter->unique_visitor)}</dd>
</dl>
</div>

View file

@ -0,0 +1,10 @@
@charset "utf-8";
/* widgetCounter */
.widgetCounter{ font-size:12px; margin:0;}
.widgetCounter dt,
.widgetCounter dd{ height:18px;}
.widgetCounter dt{ float:left; clear:left;}
.widgetCounter dd{ font-size:11px; font-family:Tahoma;}
.widgetCounter dt{ color:#999;}
.widgetCounter dd{ color:#888;}

View file

@ -0,0 +1,10 @@
@charset "utf-8";
/* widgetCounter */
.widgetCounter{ font-size:12px; margin:0;}
.widgetCounter dt,
.widgetCounter dd{ height:18px;}
.widgetCounter dt{ float:left; clear:left;}
.widgetCounter dd{ font-size:11px; font-family:Tahoma;}
.widgetCounter dt{ color:#333;}
.widgetCounter dd{ color:#888;}

View file

@ -1,10 +0,0 @@
.counter_widget {
border:3px solid #DDDDDD;
padding:6px;
margin-bottom:10px;
color:#999999;
font-family:tahoma;
font-size:8pt;
}
.counter_widget ul { margin:0; padding:0; list-style:none; }

View file

@ -23,12 +23,26 @@
</author>
<colorset>
<color name="normal">
<title xml:lang="ko">기본</title>
<title xml:lang="jp">デフォルト</title>
<title xml:lang="en">default</title>
<title xml:lang="zh-CN">默认</title>
<title xml:lang="zh-TW">預設</title>
<color name="layout">
<title xml:lang="ko">레이아웃에 맞춤</title>
<title xml:lang="jp">レイアウトに合わせる</title>
<title xml:lang="zh-CN">随布局</title>
<title xml:lang="en">레이아웃에 맞춤</title>
<title xml:lang="zh-TW">隨版面</title>
</color>
<color name="white">
<title xml:lang="ko">하얀색(기본)</title>
<title xml:lang="jp">白(デフォルト)</title>
<title xml:lang="zh-CN">白色(默认)</title>
<title xml:lang="en">White (default)</title>
<title xml:lang="zh-TW">白色(預設)</title>
</color>
<color name="black">
<title xml:lang="ko">검은색</title>
<title xml:lang="jp"></title>
<title xml:lang="en">Black</title>
<title xml:lang="zh-CN">黑色</title>
<title xml:lang="zh-TW">黑色</title>
</color>
</colorset>
</skin>
</skin>