From 290ff973b9dfc47ce0b92990cc71690512456ccb Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 20 Apr 2007 07:10:30 +0000 Subject: [PATCH] Fixed bug no1703888 Apostrophes and other unescaped characters. --- includes/ui/ui_input.inc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index 8b6a6e2..7e9218e 100644 --- a/includes/ui/ui_input.inc +++ b/includes/ui/ui_input.inc @@ -4,14 +4,14 @@ function hidden($name, $value) { - echo "\n"; + echo "\n"; } //--------------------------------------------------------------------------------- function submit($name, $value, $echo=true) { - $submit_str = "\n"; + $submit_str = "\n"; if ($echo) echo $submit_str; else @@ -180,7 +180,7 @@ function text_cells($label, $name, $value, $size="", $max="", $params="", $post_ if ($value == null) $value = (!isset($_POST[$name]) ? "" : $_POST[$name]); - echo ""; + echo ""; if ($post_label != "") echo " " . $post_label; @@ -197,7 +197,6 @@ function text_cells_ex($label, $name, $size, $max=null, $init=null, $params=null else $_POST[$name] = ""; } - if ($label != null) label_cell($label, $params); @@ -206,7 +205,7 @@ function text_cells_ex($label, $name, $size, $max=null, $init=null, $params=null echo ""; - echo ""; + echo ""; if ($post_label) echo " " . $post_label; @@ -335,7 +334,7 @@ function text_row_with_submit($label, $name, $value, $size, $max, $input_name, $ if ($value == null) $value = (!isset($_POST[$name]) ? "" : $_POST[$name]); - echo " "; + echo " "; submit($input_name, $input_value); -- 2.30.2