[Koha-cvs] CVS: koha/admin systempreferences.pl,1.15.2.1,1.15.2.2
Owen Leonard
oleonard at users.sourceforge.net
Tue Dec 30 21:56:04 CET 2003
Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv21613/admin
Modified Files:
Tag: rel_2_0
systempreferences.pl
Log Message:
Changes to generated HTML to allow proper validation (&, quoted attributes, etc.)
Index: systempreferences.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/systempreferences.pl,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.2
diff -C2 -r1.15.2.1 -r1.15.2.2
*** systempreferences.pl 19 Dec 2003 12:51:17 -0000 1.15.2.1
--- systempreferences.pl 30 Dec 2003 20:56:02 -0000 1.15.2.2
***************
*** 271,275 ****
} else { # DEFAULT
if ($searchfield ne '') {
! $template->param(searchfield => "You Searched for <b>$searchfield<b><p>");
}
my $env;
--- 271,275 ----
} else { # DEFAULT
if ($searchfield ne '') {
! $template->param(searchfield => "<p>You Searched for <strong>$searchfield</strong></p>");
}
my $env;
***************
*** 287,292 ****
$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'};
push(@loop_data, \%row_data);
}
--- 287,292 ----
$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'};
push(@loop_data, \%row_data);
}
More information about the Koha-cvs
mailing list