From 9b00469b471a8b159c60ecca333f0f7064ba1d27 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sat, 20 Dec 2008 03:22:54 +0000 Subject: misc error warnings and notices --- includes/todo.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'includes/todo.php') diff --git a/includes/todo.php b/includes/todo.php index 6823405..1cefcdc 100644 --- a/includes/todo.php +++ b/includes/todo.php @@ -4,7 +4,7 @@ define('BASE', '../'); include_once(BASE.'functions/init.inc.php'); include_once(BASE.'functions/date_functions.php'); require_once(BASE.'functions/template.php'); - +$current_view = 'todo'; $vtodo_array = unserialize(urldecode(base64_decode($_REQUEST['todo_data']))); // Set the variables from the array @@ -25,9 +25,9 @@ $vtodo_text = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]",'= 1 && $priority <= 4) { @@ -43,7 +43,7 @@ if ($priority >= 1 && $priority <= 4) { $page = new Page(BASE.'templates/'.$template.'/todo.tpl'); $page->replace_tags(array( - 'charset' => $charset, + 'charset' => $phpiCal_config->charset, 'cal' => $cal_title_full, 'vtodo_text' => $vtodo_text, 'description' => $description, @@ -52,7 +52,7 @@ $page->replace_tags(array( 'status' => $status, 'due_date' => $due_date, 'cal_title_full' => $cal_title_full, - 'template' => $template, + 'template' => $phpiCal_config->template, 'l_created' => $lang['l_created'], 'l_priority' => $lang['l_priority'], 'l_status' => $lang['l_status'], -- cgit v1.2.3