From: <cl...@us...> - 2003-03-10 19:48:31
|
Update of /cvsroot/phpicalendar/phpicalendar/includes In directory sc8-pr-cvs1:/tmp/cvs-serv8484/includes Modified Files: event.php Log Message: Support for displaying event STATUS in the java pop-up. Index: event.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/includes/event.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** event.php 15 Feb 2003 20:07:09 -0000 1.4 --- event.php 10 Mar 2003 19:48:27 -0000 1.5 *************** *** 29,32 **** --- 29,37 ---- $end = ''; } + if (isset($HTTP_GET_VARS['status']) && ($HTTP_GET_VARS['status'] !== '') ) { + $status = $HTTP_GET_VARS['status']; + } else { + $status = ''; + } $event = rawurldecode($event); *************** *** 79,82 **** --- 84,95 ---- <?php echo ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]", '<a target="_new" href="\0">\0</a>', $description); ?></td> + </tr> + <?php } ?> + + <?php if ($status) { ?> + <tr> + <td width="1%"><img src="images/spacer.gif" width="6" height="1" alt=" "></td> + <td align="left" colspan="2" class="V12"> + <?php echo "$status"; ?></td> </tr> <?php } ?> |