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. --- day.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'day.php') diff --git a/day.php b/day.php index 6228bc4..d94cc7a 100644 --- a/day.php +++ b/day.php @@ -12,6 +12,8 @@ $current_view = 'day'; require_once(BASE.'functions/ical_parser.php'); require_once(BASE.'functions/list_functions.php'); require_once(BASE.'functions/template.php'); +header("Content-Type: text/html; charset=$charset"); + if ($minical_view == 'current') $minical_view = 'day'; $weekstart = 1; @@ -46,6 +48,8 @@ $page->replace_tags(array( 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl', 'event_js' => BASE.'functions/event.js', + 'todo_js' => BASE.'functions/todo.js', + 'charset' => $charset, 'default_path' => '', 'template' => $template, 'cal' => $cal, -- cgit v1.2.3