[Koha-cvs] CVS: koha/admin systempreferences.pl,1.16,1.17

Owen Leonard oleonard at users.sourceforge.net
Tue Dec 30 21:56:18 CET 2003


Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv21710/admin

Modified Files:
	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.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** systempreferences.pl	22 Dec 2003 19:16:58 -0000	1.16
--- systempreferences.pl	30 Dec 2003 20:56:16 -0000	1.17
***************
*** 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&amp;searchfield=".$results->[$i]{'variable'};
! 		$row_data{delete} = "$script_name?op=delete_confirm&amp;searchfield=".$results->[$i]{'variable'};
  		push(@loop_data, \%row_data);
  	}





More information about the Koha-cvs mailing list