From cd06026f2d433d1ff9e34924f1d9ea63331f88f2 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 12 Aug 2004 19:20:43 +0000 Subject: Added todo.js and charset. Needs testing. --- year.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'year.php') diff --git a/year.php b/year.php index 8d85723..2af06d1 100644 --- a/year.php +++ b/year.php @@ -3,6 +3,7 @@ define('BASE', './'); require_once(BASE.'functions/ical_parser.php'); require_once(BASE.'functions/template.php'); +header("Content-Type: text/html; charset=$charset"); $current_view = 'year'; ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2); @@ -20,6 +21,8 @@ $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'template' => $template, + 'todo_js' => BASE.'functions/todo.js', + 'charset' => $charset, 'default_path' => '', 'cal' => $cal, 'getdate' => $getdate, -- cgit v1.2.3