From 1d1640f4cf55a7142ae1b9acd00454e60fe9dba4 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 26 Nov 2002 05:53:50 +0000 Subject: todo change --- includes/todo.php | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) (limited to 'includes/todo.php') diff --git a/includes/todo.php b/includes/todo.php index d9dca39..a47e3e0 100644 --- a/includes/todo.php +++ b/includes/todo.php @@ -18,7 +18,7 @@ if (isset($HTTP_GET_VARS['description']) && ($HTTP_GET_VARS['description'] !== ' if (isset($HTTP_GET_VARS['status']) && ($HTTP_GET_VARS['status'] !== '') ) { $status = $HTTP_GET_VARS['status']; } else { - $status = ''; + $status = $unfinished_lang; } if (isset($HTTP_GET_VARS['calendar_name']) && ($HTTP_GET_VARS['calendar_name'] !== '') ) { @@ -39,6 +39,12 @@ if (isset($HTTP_GET_VARS['due']) && ($HTTP_GET_VARS['due'] !== '') ) { $due = ''; } +if (isset($HTTP_GET_VARS['priority']) && ($HTTP_GET_VARS['priority'] !== '') && ($HTTP_GET_VARS['priority'] < 10)) { + $priority = $HTTP_GET_VARS['priority']; +} else { + $priority = $no_priority_lang; +} + $vtodo = rawurldecode($vtodo); $vtodo = stripslashes($vtodo); $vtodo = str_replace('\\', '', $vtodo); @@ -47,24 +53,28 @@ $description = rawurldecode($description); $description = stripslashes($description); $description = str_replace('\\', '', $description); //$description = htmlspecialchars($description); -$calendar_name2 = rawurldecode($calendar_name); -$calendar_name2 = stripslashes($calendar_name2); -$calendar_name2 = str_replace('\\', '', $calendar_name2); -//$calendar_name2 = htmlspecialchars($calendar_name2); +$calendar_name = rawurldecode($calendar_name); +$calendar_name = stripslashes($calendar_name); +$calendar_name = str_replace('\\', '', $calendar_name); +//$calendar_name = htmlspecialchars($calendar_name); +$status = rawurldecode($status); +$status = stripslashes($status); +$status = str_replace('\\', '', $status); +//$status = htmlspecialchars($status); ?> - <?php echo $calendar_name2; ?> + <?php echo $calendar_name; ?> ">
- + @@ -73,40 +83,40 @@ $calendar_name2 = str_replace('\\', '', $calendar_name2);
- ('.$start.' - '.$end.')'; -// if ($start == '' && $end == '' && isset($start, $end)) $vtodo_times = ' - ('.$all_day_lang.')'; - ?> - + + [:space:]]+[[:alnum:]/]", '\0', $description); ?> - + - + + + + + + - + -- cgit v1.2.3
[:space:]]+[[:alnum:]/]",'\0',$vtodo).' '.$vtodo_times.'

'; ?>
[:space:]]+[[:alnum:]/]",'\0',$vtodo).'

'; ?>
- [:space:]]+[[:alnum:]/]", - '\0', $description); ?>
Status:
Created:
Due: