From: <ji...@us...> - 2006-02-08 08:08:03
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20576/phpicalendar/functions Modified Files: template.php Log Message: Multiple modifications to template.php and template files to give validated XHTML 1.0 Transitional Index: template.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/template.php,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** template.php 1 Dec 2005 06:25:09 -0000 1.79 --- template.php 8 Feb 2006 08:07:54 -0000 1.80 *************** *** 865,874 **** // Add links in to the month/year views. ! $dateFormat_month = str_replace("%B", "<a class=\"ps3\" href=\"month.php?cal=$cal&getdate=$first_of_month\">%B</a>", $dateFormat_month); ! $dateFormat_month = str_replace("%Y", "<a class=\"ps3\" href=\"year.php?cal=$cal&getdate=$first_of_year\">%Y</a>", $dateFormat_month); //$start_day = strtotime($week_start_day); $start_day = strtotime(dateOfWeek($getdate, $week_start_day)); ! $month_title = localizeDate ($dateFormat_month, $fake_getdate_time); $month_date = date ('Ymd', $fake_getdate_time); --- 865,874 ---- // Add links in to the month/year views. ! $dateFormat_month_local = str_replace("%B", "<a class=\"ps3\" href=\"month.php?cal=$cal&getdate=$first_of_month\">%B</a>", $dateFormat_month); ! $dateFormat_month_local = str_replace("%Y", "<a class=\"ps3\" href=\"year.php?cal=$cal&getdate=$first_of_year\">%Y</a>", $dateFormat_month_local); //$start_day = strtotime($week_start_day); $start_day = strtotime(dateOfWeek($getdate, $week_start_day)); ! $month_title = localizeDate ($dateFormat_month_local, $fake_getdate_time); $month_date = date ('Ymd', $fake_getdate_time); |