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 /day.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 'day.php')
-rw-r--r-- | day.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 )); |