diff --git a/modules/blog/skins/xe_blog/css/layout.css b/modules/blog/skins/xe_blog/css/layout.css index 4068062c0..f1c57150e 100644 --- a/modules/blog/skins/xe_blog/css/layout.css +++ b/modules/blog/skins/xe_blog/css/layout.css @@ -102,24 +102,6 @@ div#neighbor #neighborList li ul { display:none; padding:.7em 0 0 0;} div#neighbor #neighborList li ul li { padding:0 0 .6em .6em; margin-left:-.6em; background:url(../images/white/iconLineBD.gif) no-repeat left 5px;} div#neighbor #neighborList li ul li a{ font-weight:normal;} -/* Calendar */ -div#calendar { padding:1.2em .8em;} -div#calendar table { width:100%;} -div#calendar table caption { font:bold 1.5em Tahoma; color:#9a9a9a; padding-bottom:.6em;} -div#calendar table caption .mm { font:bold 1em Tahoma; color:#54564b;} -div#calendar table caption a { padding:.2em;} -div#calendar table caption a img { vertical-align:middle;} -div#calendar table th, -div#calendar table td { padding:.25em 0;} -div#calendar table th { font-weight:normal; font-size:.9em; color:#9a9a9a;} -div#calendar table th.sun { color:#fe3614;} -div#calendar table td { text-align:center;} -div#calendar table td a { font:.9em Tahoma; color:#9a9a9a;} -div#calendar table td.sun { color:#fe3614;} -div#calendar table td.sun a { color:#fe3614;} -div#calendar table td.today a { font-weight:bold; color:#54564b;} -div#calendar table td.posted a { text-decoration:underline;} - /* buttonType */ .buttonTypeA { display:block; cursor:pointer; background:url(../images/white/buttonTypeACenter.gif) repeat-x left center; line-height:100%; overflow:visible; color:#3f4040; margin:0 1px; white-space:nowrap;border:0px;} .buttonTypeA:hover { text-decoration:none;} diff --git a/modules/blog/skins/xe_blog/images/white/blogHeaderLine.gif b/modules/blog/skins/xe_blog/images/white/blogHeaderLine.gif index eed86df7c..b28509e7e 100644 Binary files a/modules/blog/skins/xe_blog/images/white/blogHeaderLine.gif and b/modules/blog/skins/xe_blog/images/white/blogHeaderLine.gif differ diff --git a/widgets/calendar/calendar.class.php b/widgets/calendar/calendar.class.php index ca2e2e448..0b3c640aa 100644 --- a/widgets/calendar/calendar.class.php +++ b/widgets/calendar/calendar.class.php @@ -57,7 +57,7 @@ Context::set('colorset', $args->colorset); // 템플릿 파일을 지정 - $tpl_file = 'list'; + $tpl_file = 'calendar'; // 템플릿 컴파일 $oTemplate = &TemplateHandler::getInstance(); diff --git a/widgets/calendar/skins/blog_calendar_list/calendar.html b/widgets/calendar/skins/blog_calendar_list/calendar.html new file mode 100644 index 000000000..5cb737404 --- /dev/null +++ b/widgets/calendar/skins/blog_calendar_list/calendar.html @@ -0,0 +1,74 @@ + + + + + + +
+ + + + + + + + + + + + + + + + + {@ $day = ''} + + + + + + + {@ $num = $i*7 + $j} + + {@ $started = true} + {@ $day = 1} + {@ $cur_date = $widget_info->cur_date.sprintf('%02d',$day) } + + {@ $day++} + {@ $cur_date = $widget_info->cur_date.sprintf('%02d',$day) } + + + {@ $today_class = "today"}{@ $today_class = ""} + + {@ $cell_class_name = "sun"}{@ $cell_class_name = ""} + + + {@ $item_class_name = "posted"} + + {@ $day_link = getUrl('','mid',$layout_info->mid,'search_target','regdate','search_keyword',$cur_date) } + + {@ $day_link = getUrl('','mid',$mid,'search_target','regdate','search_keyword',$cur_date) } + + + {@ $item_class_name = ""} + {@ $day_link = ''} + + + + + + + + +
+ prev{zdate($widget_info->cur_date,"Y")}.{zdate($widget_info->cur_date,"m")}next +
+ + + {$day} + + {$day} + + +
+
diff --git a/widgets/calendar/skins/blog_calendar_list/css/normal.css b/widgets/calendar/skins/blog_calendar_list/css/normal.css index 237e0feec..f61bd3344 100644 --- a/widgets/calendar/skins/blog_calendar_list/css/normal.css +++ b/widgets/calendar/skins/blog_calendar_list/css/normal.css @@ -13,5 +13,6 @@ div#calendar table td { text-align:center;} div#calendar table td a { font:.9em Tahoma; color:#9a9a9a;} div#calendar table td.sun { color:#fe3614;} div#calendar table td.sun a { color:#fe3614;} +div#calendar table td.today { font-weight:bold; color:#54564b;} div#calendar table td.today a { font-weight:bold; color:#54564b;} div#calendar table td.posted a { text-decoration:underline;} diff --git a/widgets/calendar/skins/blog_calendar_list/images/buttonArrowCalendarLeft.gif b/widgets/calendar/skins/blog_calendar_list/images/buttonArrowCalendarLeft.gif new file mode 100644 index 000000000..6910d8085 Binary files /dev/null and b/widgets/calendar/skins/blog_calendar_list/images/buttonArrowCalendarLeft.gif differ diff --git a/widgets/calendar/skins/blog_calendar_list/images/buttonArrowCalendarRight.gif b/widgets/calendar/skins/blog_calendar_list/images/buttonArrowCalendarRight.gif new file mode 100644 index 000000000..fc204719f Binary files /dev/null and b/widgets/calendar/skins/blog_calendar_list/images/buttonArrowCalendarRight.gif differ diff --git a/widgets/calendar/skins/blog_calendar_list/list.html b/widgets/calendar/skins/blog_calendar_list/list.html deleted file mode 100644 index 718d09b94..000000000 --- a/widgets/calendar/skins/blog_calendar_list/list.html +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - -
-
- -
-
{$widget_info->today_str}
-
- prev | - next -
-
- - {@ $day = ''} - - - - - - - {@ $num = $i*7 + $j} - - {@ $started = true} - {@ $day = 1} - {@ $cur_date = $widget_info->cur_date.sprintf('%02d',$day) } - - {@ $day++} - {@ $cur_date = $widget_info->cur_date.sprintf('%02d',$day) } - - - - {@ $today_class = "today"} - - {@ $today_class = ""} - - - - {@ $cell_class_name = "sunday"} - - {@ $cell_class_name = "saturday"} - - {@ $cell_class_name = "week"} - - - - {@ $item_class_name = "selected_item"} - - {@ $day_link = getUrl('','mid',$layout_info->mid,'search_target','regdate','search_keyword',$cur_date) } - - {@ $day_link = getUrl('','mid',$mid,'search_target','regdate','search_keyword',$cur_date) } - - - {@ $item_class_name = "unselected_item"} - {@ $day_link = ''} - - - - - - - - -
-
-
- - - {$day} - - {$day} - - -
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- 이전달2007.05다음달 -
  12345
6789101112
13141516171819
20212223242526
2728293031  
-