aboutsummaryrefslogtreecommitdiffstats
path: root/month.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 /month.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 'month.php')
-rw-r--r--month.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/month.php b/month.php
index 0a9c200..c04781d 100644
--- a/month.php
+++ b/month.php
@@ -1,6 +1,7 @@
<?php
define('BASE', './');
-include_once(BASE.'functions/ical_parser.php');
+require_once(BASE.'functions/ical_parser.php');
+require_once(BASE.'functions/list_functions.php');
require_once(BASE.'functions/template.php');
$current_view = "month";
if ($minical_view == 'current') $minical_view = 'month';
@@ -43,6 +44,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.'/month.tpl');
@@ -65,10 +68,12 @@ $page->replace_tags(array(
'prev_month' => $prev_month,
'show_goto' => '',
'is_logged_in' => '',
+ 'list_jumps' => $list_jumps,
'list_icals' => $list_icals,
'list_years' => $list_years,
'list_months' => $list_months,
'list_weeks' => $list_weeks,
+ 'legend' => $list_calcolors,
'style_select' => $style_select
));

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