From 424a2597821fa097dc1762d48493ab2a5e9969b0 Mon Sep 17 00:00:00 2001 From: Wesley Miaw Date: Thu, 18 Sep 2003 00:49:03 +0000 Subject: Feature Request [795115] Graphical Event Status Events which have one of the RFC defined status values of confirmed, tentative, or cancelled will display a small icon in the upper-right corner of the event block shown on the calendar. Only applies to non-all-day events on the day and week views. --- day.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'day.php') diff --git a/day.php b/day.php index 2b6ed59..1e01091 100644 --- a/day.php +++ b/day.php @@ -232,6 +232,7 @@ include (BASE.'includes/header.inc.php'); $event_start = date ($timeFormat, $event_start); $event_end = date ($timeFormat, $event_end); $event_calno = $this_time_arr[($event_length[$i]['key'])]['calnumber']; + $event_status = strtolower($this_time_arr[($event_length[$i]['key'])]['status']); if ($event_calno < 1) $event_calno=1; if ($event_calno > 7) $event_calno=7; @@ -239,9 +240,13 @@ include (BASE.'includes/header.inc.php'); echo ''."\n"; echo ''."\n"; echo ''."\n"; + echo ''."\n"; echo ''."\n"; echo ''."\n"; - echo '
'.$event_start.' - '.$event_end.''; + if ($event_status == '') echo ' '; + else echo ''; + echo '
'."\n"; + echo ''."\n"; echo ''."\n"; echo ''."\n"; echo '
'; -- cgit v1.2.3