aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-03-10 19:48:22 +0000
committerChad Little <clittle@users.sourceforge.net>2003-03-10 19:48:22 +0000
commitac1b58f573dbf1ee088528f1e232ca6e04cfa76a (patch)
treeba2f7e3645e45f6ac5e2422f2b8cd2f3fb88d358 /includes
parentf35b2a9d4c0e7b7674316e29c0a0381c27f4f27d (diff)
downloadphpicalendar-ac1b58f573dbf1ee088528f1e232ca6e04cfa76a.tar.gz
phpicalendar-ac1b58f573dbf1ee088528f1e232ca6e04cfa76a.tar.bz2
phpicalendar-ac1b58f573dbf1ee088528f1e232ca6e04cfa76a.zip
Support for displaying event STATUS in the java pop-up.
Diffstat (limited to 'includes')
-rw-r--r--includes/event.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/includes/event.php b/includes/event.php
index 7a685fa..bccce01 100644
--- a/includes/event.php
+++ b/includes/event.php
@@ -28,6 +28,11 @@ if (isset($HTTP_GET_VARS['end']) && ($HTTP_GET_VARS['end'] !== '') ) {
} else {
$end = '';
}
+if (isset($HTTP_GET_VARS['status']) && ($HTTP_GET_VARS['status'] !== '') ) {
+ $status = $HTTP_GET_VARS['status'];
+} else {
+ $status = '';
+}
$event = rawurldecode($event);
$event = stripslashes($event);
@@ -80,6 +85,14 @@ $calendar_name2 = str_replace('\\', '', $calendar_name2);
'<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 } ?>
</table>
</td>

© 2014-2024 Faster IT GmbH | imprint | privacy policy