aboutsummaryrefslogtreecommitdiffstats
path: root/day.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-02-03 23:02:09 +0000
committerChad Little <clittle@users.sourceforge.net>2004-02-03 23:02:09 +0000
commit02bed7d91ae13c34eb9b883b0df3b538e3bc4c76 (patch)
treea807738b4e9020115801dfe57c002a61a1c7024d /day.php
parentb8fc4e4cb1d3a574a8a624fa5a357c005fe73ac4 (diff)
downloadphpicalendar-02bed7d91ae13c34eb9b883b0df3b538e3bc4c76.tar.gz
phpicalendar-02bed7d91ae13c34eb9b883b0df3b538e3bc4c76.tar.bz2
phpicalendar-02bed7d91ae13c34eb9b883b0df3b538e3bc4c76.zip
Removed unneeded files, tweeked templates, added legend for multiple
calendars.
Diffstat (limited to 'day.php')
-rw-r--r--day.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/day.php b/day.php
index 1be782d..1ff5935 100644
--- a/day.php
+++ b/day.php
@@ -10,6 +10,7 @@ if (isset($HTTP_GET_VARS['jumpto_day'])) {
define('BASE', './');
$current_view = 'day';
require_once(BASE.'functions/ical_parser.php');
+require_once(BASE.'functions/list_functions.php');
require_once(BASE.'functions/template.php');
if ($minical_view == 'current') $minical_view = 'day';
@@ -28,6 +29,8 @@ $list_icals = display_ical_list(availableCalendars($username, $password, $ALL_C
$list_years = list_years();
$list_months = list_months();
$list_weeks = list_weeks();
+$list_jumps = list_jumps();
+$list_calcolors = list_calcolors();
$page = new Page(BASE.'templates/'.$template.'/DAY.tpl');
@@ -54,6 +57,8 @@ $page->replace_tags(array(
'list_years' => $list_years,
'list_months' => $list_months,
'list_weeks' => $list_weeks,
+ 'list_jumps' => $list_jumps,
+ 'legend' => $list_calcolors,
'style_select' => $style_select
));

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