From 097c494a59641623c2087fbde23206ebdaeda588 Mon Sep 17 00:00:00 2001 From: oleonard Date: Tue, 30 Dec 2003 20:56:16 +0000 Subject: [PATCH] Changes to generated HTML to allow proper validation (&, quoted attributes, etc.) --- admin/systempreferences.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl index e7cc74c3ca..1677ca1518 100755 --- a/admin/systempreferences.pl +++ b/admin/systempreferences.pl @@ -270,7 +270,7 @@ if ($op eq 'add_form') { ################## DEFAULT ################################## } else { # DEFAULT if ($searchfield ne '') { - $template->param(searchfield => "You Searched for $searchfield

"); + $template->param(searchfield => "

You Searched for $searchfield

"); } my $env; my ($count,$results)=StringSearch($env,$searchfield,'web'); @@ -286,8 +286,8 @@ if ($op eq 'add_form') { $row_data{variable} = $results->[$i]{'variable'}; $row_data{value} = $results->[$i]{'value'}; $row_data{explanation} = $results->[$i]{'explanation'}; - $row_data{edit} = "$script_name?op=add_form&searchfield=".$results->[$i]{'variable'}; - $row_data{delete} = "$script_name?op=delete_confirm&searchfield=".$results->[$i]{'variable'}; + $row_data{edit} = "$script_name?op=add_form&searchfield=".$results->[$i]{'variable'}; + $row_data{delete} = "$script_name?op=delete_confirm&searchfield=".$results->[$i]{'variable'}; push(@loop_data, \%row_data); } $template->param(loop => \@loop_data); -- 2.39.5