mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1353 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d3d625f09f
commit
e8376040db
2 changed files with 28 additions and 28 deletions
|
|
@ -14,11 +14,11 @@
|
|||
<!--@end-->
|
||||
|
||||
{@ $day = ''}
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="99%" style="table-layout:fixed">
|
||||
<!--@for($i=0;$i<6;$i++)-->
|
||||
<div class="week">
|
||||
<!--@if($day < $plugin_info->last_day)-->
|
||||
<tr>
|
||||
<!--@for($j=0;$j<7;$j++)-->
|
||||
<!--@if($day < $plugin_info->last_day)-->
|
||||
|
||||
{@ $num = $i*7 + $j}
|
||||
<!--@if(!$started && $num >= $plugin_info->start_week)-->
|
||||
|
|
@ -29,6 +29,12 @@
|
|||
{@ $cur_date = $plugin_info->cur_date.sprintf('%02d',$day) }
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($cur_date == date("Ymd"))-->
|
||||
{@ $today_class = "today"}
|
||||
<!--@else-->
|
||||
{@ $today_class = ""}
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($j==0)-->
|
||||
{@ $cell_class_name = "sunday"}
|
||||
<!--@elseif($j==6)-->
|
||||
|
|
@ -45,20 +51,24 @@
|
|||
{@ $day_link = ''}
|
||||
<!--@end-->
|
||||
|
||||
<div class="item_box">
|
||||
<td>
|
||||
<div class="item_box {$today_class}">
|
||||
<div class="{$cell_class_name} {$item_class_name}">
|
||||
<!--@if($day < $plugin_info->last_day)-->
|
||||
<!--@if($day_link)-->
|
||||
<a href="#" onclick="location.href='{$day_link}'">{$day}</a>
|
||||
<!--@else-->
|
||||
{$day}
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<!--@end-->
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,19 +20,14 @@
|
|||
|
||||
.calendar_normal .calendar_box .calendar_box {
|
||||
padding:5px;
|
||||
clear:both;
|
||||
border:3px solid #EEEEEE;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .week {
|
||||
clear:both;
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .item_box {
|
||||
float:left;
|
||||
width:20px;
|
||||
height:20px;
|
||||
border:1px solid #EEEEEE;
|
||||
margin:1px;
|
||||
text-align:right;
|
||||
|
|
@ -50,17 +45,22 @@
|
|||
color:#666666;
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .today {
|
||||
background-color:yellow;
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .unselected_item {
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .selected_item {
|
||||
font-weight:bold;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .item_box {
|
||||
float:left;
|
||||
margin-right:5px;
|
||||
color:#AAAAAA;
|
||||
height:20px;
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .item_box div {
|
||||
|
|
@ -68,15 +68,5 @@
|
|||
}
|
||||
|
||||
.calendar_normal .calendar_box .item_box A {
|
||||
text-decoration:none;
|
||||
color:green;
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .item_box A:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
.calendar_normal .calendar_box .item_box A:visited {
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue