[Koha-cvs] CVS: koha/admin systempreferences.pl,1.11,1.12

Mike Hansen wolfpac444 at users.sourceforge.net
Sun Apr 13 05:11:46 CEST 2003


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

Modified Files:
	systempreferences.pl 
Log Message:
Bug fixes


Index: systempreferences.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/systempreferences.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** systempreferences.pl	2 Feb 2003 07:18:38 -0000	1.11
--- systempreferences.pl	13 Apr 2003 03:11:44 -0000	1.12
***************
*** 108,123 ****
  	}
  	if ($searchfield) {
! 		$template->param(action => "Modify pref");
! 	} else {
! 		$template->param(action => "Add pref");
  	}
  	$template->param(explanation => $data->{'explanation'},
! 							value => $data->{'value'},
! 							);
! 	if ($searchfield) {
! 		$template->param(searchfield => "<input type=hidden name=variable value='$searchfield'>$searchfield");
! 	} else {
! 		$template->param(searchfield => "<input type=text name=variable size=80 maxlength=80>");
! 	}
  ################## ADD_VALIDATE ##################################
  # called by add_form, used to insert/modify data in DB
--- 108,118 ----
  	}
  	if ($searchfield) {
! 		$template->param(modify => 1);
  	}
+ 
  	$template->param(explanation => $data->{'explanation'},
! 			 value => $data->{'value'},
! 			 searchfield => $searchfield);
! 
  ################## ADD_VALIDATE ##################################
  # called by add_form, used to insert/modify data in DB





More information about the Koha-cvs mailing list