diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-02-03 23:02:09 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-02-03 23:02:09 +0000 |
commit | 02bed7d91ae13c34eb9b883b0df3b538e3bc4c76 (patch) | |
tree | a807738b4e9020115801dfe57c002a61a1c7024d /month.php | |
parent | b8fc4e4cb1d3a574a8a624fa5a357c005fe73ac4 (diff) | |
download | phpicalendar-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.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 )); |