Update of /cvsroot/phpicalendar/phpicalendar
In directory sc8-pr-cvs1:/tmp/cvs-serv19761
Modified Files:
search.php
Log Message:
Fix for matching todo's.
Index: search.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/search.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** search.php 22 Nov 2003 03:45:33 -0000 1.25
--- search.php 22 Nov 2003 19:53:53 -0000 1.26
***************
*** 118,125 ****
foreach($the_arr as $val) {
$key = $val['date'];
! $dayofmonth = strtotime ($key);
! $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth);
! echo '<font class="V12"><b><a class="ps3" href="day.php?cal='.$cal.'&getdate='.$key.'">'.$dayofmonth.'</a></b></font><br>';
!
if ($val["event_text"]) {
$event_text = stripslashes(urldecode($val["event_text"]));
--- 118,126 ----
foreach($the_arr as $val) {
$key = $val['date'];
! if ($key > 1) {
! $dayofmonth = strtotime ($key);
! $dayofmonth = localizeDate ($dateFormat_day, $dayofmonth);
! echo '<font class="V12"><b><a class="ps3" href="day.php?cal='.$cal.'&getdate='.$key.'">'.$dayofmonth.'</a></b></font><br>';
! }
if ($val["event_text"]) {
$event_text = stripslashes(urldecode($val["event_text"]));
|