From a5a46dade4e2db652798c1d6fa8a0cc21a5d84f0 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 30 Nov 2002 20:33:30 +0000 Subject: Patches applied, added prefs_lang. --- includes/todo.php | 86 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 46 insertions(+), 40 deletions(-) (limited to 'includes/todo.php') diff --git a/includes/todo.php b/includes/todo.php index a47e3e0..ae0cc9d 100644 --- a/includes/todo.php +++ b/includes/todo.php @@ -1,66 +1,72 @@ = 1 && $priority <= 4) { + $priority = $priority_high_lang; + } else if ($priority == 5) { + $priority = $priority_medium_lang; + } else if ($priority >= 6 && $priority <= 9) { + $priority = $priority_low_lang; + } else { + $priority = $priority_none_lang; + } } else { - $priority = $no_priority_lang; + $priority = $priority_none_lang; } -$vtodo = rawurldecode($vtodo); -$vtodo = stripslashes($vtodo); -$vtodo = str_replace('\\', '', $vtodo); -//$vtodo = htmlspecialchars($vtodo); -$description = rawurldecode($description); -$description = stripslashes($description); -$description = str_replace('\\', '', $description); -//$description = htmlspecialchars($description); -$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); ?> @@ -85,7 +91,7 @@ $status = str_replace('\\', '', $status); - + @@ -110,13 +116,13 @@ $status = str_replace('\\', '', $status); - + - + - + -- cgit v1.2.3
[:space:]]+[[:alnum:]/]",'\0',$vtodo).'

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

'; ?>