[Koha-cvs] CVS: koha/admin marctagstructure.pl,1.26,1.27

Owen Leonard oleonard at users.sourceforge.net
Fri Feb 11 20:59:45 CET 2005


Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1386/admin

Modified Files:
	marctagstructure.pl 
Log Message:
Adding id attributes to CGI-generated form inputs so that HTML labels can transfer focus to the appropriate field.

Index: marctagstructure.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/marctagstructure.pl,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** marctagstructure.pl	10 Jan 2005 21:33:54 -0000	1.26
--- marctagstructure.pl	11 Feb 2005 19:59:41 -0000	1.27
***************
*** 119,122 ****
--- 119,123 ----
  			-values=> \@authorised_values,
  			-size=>1,
+ 			-id=>"authorised_value",
  			-multiple=>0,
  			-default => $data->{'authorised_value'},
***************
*** 134,139 ****
  	$template->param(liblibrarian => $data->{'liblibrarian'},
  							libopac => $data->{'libopac'},
! 							repeatable => CGI::checkbox('repeatable',$data->{'repeatable'}?'checked':'',1,''),
! 							mandatory => CGI::checkbox('mandatory',$data->{'mandatory'}?'checked':'',1,''),
  							authorised_value => $authorised_value,
  							frameworkcode => $frameworkcode,
--- 135,148 ----
  	$template->param(liblibrarian => $data->{'liblibrarian'},
  							libopac => $data->{'libopac'},
! 							repeatable => CGI::checkbox(-name=>'repeatable',
! 						-checked=> $data->{'repeatable'}?'checked':'',
! 						-value=> 1,
! 						-label => '',
! 						-id=> 'repeatable'),
! 			mandatory => CGI::checkbox(-name => 'mandatory',
! 						-checked => $data->{'mandatory'}?'checked':'',
! 						-value => 1,
! 						-label => '',
! 						-id => 'mandatory'),
  							authorised_value => $authorised_value,
  							frameworkcode => $frameworkcode,





More information about the Koha-cvs mailing list