From 920acf94926e396d2b32f200dee7d5ffdde0c861 Mon Sep 17 00:00:00 2001 From: zero Date: Fri, 13 Apr 2007 05:14:01 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1126 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- common/tpl/calendar.php | 5 ++++- common/tpl/css/calendar.css | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common/tpl/calendar.php b/common/tpl/calendar.php index 349fac5f0..f03a3f562 100644 --- a/common/tpl/calendar.php +++ b/common/tpl/calendar.php @@ -150,8 +150,11 @@ $date = date("Y. m. d", 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 = ""; ?> -
+