mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 23:59:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1126 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c4d28288bb
commit
920acf9492
2 changed files with 9 additions and 1 deletions
|
|
@ -150,8 +150,11 @@
|
||||||
$date = date("Y. m. d", mktime(0,0,0,$m, $day, $y));
|
$date = date("Y. m. d", mktime(0,0,0,$m, $day, $y));
|
||||||
$date_str = date("Ymd", mktime(0,0,0,$m, $day, $y));
|
$date_str = date("Ymd", mktime(0,0,0,$m, $day, $y));
|
||||||
|
|
||||||
|
|
||||||
|
if(date("Ymd")==$date_str) $sel_class = "today";
|
||||||
|
else $sel_class = "";
|
||||||
?>
|
?>
|
||||||
<div class="calendar_cell <?=$class_name?>" onclick="selectDate('<?=$date?>','<?=$date_str?>');return false;"><div><?=$day?></div></div>
|
<div class="calendar_cell <?=$sel_class?> <?=$class_name?>" onclick="selectDate('<?=$date?>','<?=$date_str?>');return false;"><div><?=$day?></div></div>
|
||||||
<?
|
<?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,3 +77,8 @@
|
||||||
.calendar_list .saturday {
|
.calendar_list .saturday {
|
||||||
color:blue;
|
color:blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.calendar_list .today {
|
||||||
|
font-weight:bold;
|
||||||
|
background-color:#D9FAF8;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue