aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-05-14 07:00:18 +0000
committerChad Little <clittle@users.sourceforge.net>2004-05-14 07:00:18 +0000
commit7abcabed195eafe55c9973644cffc72c38b74c9c (patch)
tree1c5ebef75079fe1f3ea0a284a168769c437e6897
parent283f8ddd180048b7a55a56cc71275d63dde54868 (diff)
downloadphpicalendar-7abcabed195eafe55c9973644cffc72c38b74c9c.zip
phpicalendar-7abcabed195eafe55c9973644cffc72c38b74c9c.tar.gz
phpicalendar-7abcabed195eafe55c9973644cffc72c38b74c9c.tar.bz2
Added recurring graphic.
-rw-r--r--functions/template.php4
-rw-r--r--images/recurring.gifbin0 -> 59 bytes
2 files changed, 3 insertions, 1 deletions
diff --git a/functions/template.php b/functions/template.php
index 0d16fc4..4c2ebb5 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -457,13 +457,15 @@ class Page {
$event_start = date ($timeFormat, $event_start);
$event_end = date ($timeFormat, $event_end);
$event_calno = $this_time_arr[($event_length[$i]['key'])]['calnumber'];
+ $event_recur = $this_time_arr[($event_length[$i]['key'])]['recur'];
$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;
if ($event_status != '') {
$confirmed = '<img src="images/'.$event_status.'.gif" width="9" height="9" alt="" border="0" hspace="0" vspace="0">&nbsp;';
+ } elseif (is_array($event_recur)) {
+ $confirmed = '<img src="images/recurring.gif" width="9" height="9" alt="" border="0" hspace="0" vspace="0">&nbsp;';
}
-
$colspan_width = round((460 / $nbrGridCols) * $drawWidth);
$daydisplay .= '<td rowspan="' . $event_length[$i]['length'] . '" width="'.$colspan_width.'" colspan="' . $drawWidth . '" align="left" valign="top" class="eventbg2_'.$event_calno.'">'."\n";
diff --git a/images/recurring.gif b/images/recurring.gif
new file mode 100644
index 0000000..274b4ca
--- /dev/null
+++ b/images/recurring.gif
Binary files differ

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