| 
      
      
      From: <cl...@us...> - 2003-11-21 07:29:11
      
     | 
| Update of /cvsroot/phpicalendar/phpicalendar/functions
In directory sc8-pr-cvs1:/tmp/cvs-serv32749/functions
Modified Files:
	date_functions.php 
Log Message:
Updated event to be half the size of previous release. More CSS, less 
crappy HTML.
Index: date_functions.php
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/functions/date_functions.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** date_functions.php	20 Nov 2003 05:18:38 -0000	1.18
--- date_functions.php	21 Nov 2003 07:29:08 -0000	1.19
***************
*** 172,198 ****
  	}
  
! 	if (isset($arr["organizer"])) {
! 		$organizer = addslashes($arr["organizer"]);
! 	}
! 
! 	if (isset($arr["attendee"])) {
! 		$attendee = addslashes($arr["attendee"]);
! 	}
! 
! 	if (isset($arr["location"])) {
! 		$location = addslashes($arr["location"]);
! 	}
! 
! 	if (isset($arr["status"])) {
! 		$status = addslashes($arr["status"]);
! 	}
! 
! 	if (isset($arr["description"])) {
! 		$description  = addslashes(stripslashes(urldecode($arr["description"])));
!     }
!     
!     if (isset($arr["url"])) {
! 		$url  = addslashes(stripslashes(urldecode($arr["url"])));
!     }
  
  	if (!empty($event_text)) {	
--- 172,181 ----
  	}
  
! 	if (isset($arr["organizer"])) $organizer = addslashes($arr["organizer"]);
! 	if (isset($arr["attendee"])) $attendee = addslashes($arr["attendee"]);
! 	if (isset($arr["location"])) $location = addslashes($arr["location"]);
! 	if (isset($arr["status"])) $status = addslashes($arr["status"]);
! 	if (isset($arr["description"])) $description = addslashes(stripslashes(urldecode($arr["description"])));
!     if (isset($arr["url"])) $url = addslashes(stripslashes(urldecode($arr["url"])));
  
  	if (!empty($event_text)) {	
***************
*** 216,225 ****
  
  END;
! 			echo "<a class=\"$link_class\" href=\"#\" onclick=\"openEventWindow($popup_data_index);\">";
  			$popup_data_index++;
  		} else {
! 			echo "<a class=\"$link_class\" href=\"{$res[1]}\">";
  		}
! 		echo "{$pre_text}{$event_text}{$post_text}</a>\n";
  	}
  }
--- 199,208 ----
  
  END;
! 			echo '<a class="'.$link_class.'" href="#" onclick="openEventWindow('.$popup_data_index.');">';
  			$popup_data_index++;
  		} else {
! 			echo '<a class="'.$link_class.'" href="'.$res[1].'">';
  		}
! 		echo $pre_text.$event_text.$post_text.'</a>'."\n";
  	}
  }
 |