aboutsummaryrefslogtreecommitdiffstats
path: root/year.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-02-09 00:51:48 +0000
committerChad Little <clittle@users.sourceforge.net>2004-02-09 00:51:48 +0000
commitcb7f301d3a39acebecd56fa8d831e275bc8980f0 (patch)
tree59928251987369663bd4de215a63d4bcc23e9809 /year.php
parentaba3742b77e18aa1001a70a8a87f4a10ccf0531f (diff)
downloadphpicalendar-cb7f301d3a39acebecd56fa8d831e275bc8980f0.tar.gz
phpicalendar-cb7f301d3a39acebecd56fa8d831e275bc8980f0.tar.bz2
phpicalendar-cb7f301d3a39acebecd56fa8d831e275bc8980f0.zip
Initial wiring of rss index and template.
Diffstat (limited to 'year.php')
-rw-r--r--year.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/year.php b/year.php
index e1bf66d..1c5ed2c 100644
--- a/year.php
+++ b/year.php
@@ -1,7 +1,7 @@
<?php
define('BASE', './');
-include_once(BASE.'functions/ical_parser.php');
+require_once(BASE.'functions/ical_parser.php');
require_once(BASE.'functions/template.php');
$current_view = 'year';
@@ -20,10 +20,12 @@ $page->replace_tags(array(
'header' => BASE.'templates/'.$template.'/header.tpl',
'footer' => BASE.'templates/'.$template.'/footer.tpl',
'template' => $template,
+ 'default_path' => '',
'cal' => $cal,
'getdate' => $getdate,
'calendar_name' => $calendar_name,
'display_date' => $this_year,
+ 'default_path' => '',
'rss_powered' => $rss_powered,
'rss_available' => '',
'rss_valid' => '',

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