[Koha-cvs] CVS: koha/admin marc_subfields_structure.pl,1.33,1.34

Owen Leonard oleonard at users.sourceforge.net
Thu Feb 10 23:42:59 CET 2005


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

Modified Files:
	marc_subfields_structure.pl 
Log Message:
Switching from building 'edit' link in the script to building it in the template itself by creating edit_tagfield and edit_frameworkcode variables to pass to the template.

A change to the template is also required.

Index: marc_subfields_structure.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/marc_subfields_structure.pl,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** marc_subfields_structure.pl	20 Jan 2005 18:48:12 -0000	1.33
--- marc_subfields_structure.pl	10 Feb 2005 22:42:56 -0000	1.34
***************
*** 390,394 ****
  	}
  	$template->param(loop => \@loop_data);
! 	$template->param(edit => "<a href=\"$script_name?op=add_form&amp;tagfield=$tagfield&frameworkcode=$frameworkcode\">");
  	if ($offset>0) {
  		my $prevpage = $offset-$pagesize;
--- 390,396 ----
  	}
  	$template->param(loop => \@loop_data);
! 	$template->param(edit_tagfield => $tagfield,
! 		edit_frameworkcode => $frameworkcode);
! 		
  	if ($offset>0) {
  		my $prevpage = $offset-$pagesize;





More information about the Koha-cvs mailing list