[Koha-cvs] CVS: koha/admin marc_subfields_structure.pl,1.32.2.3,1.32.2.4

Owen Leonard oleonard at users.sourceforge.net
Thu Feb 10 23:38:20 CET 2005


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

Modified Files:
      Tag: rel_2_2
	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.

Index: marc_subfields_structure.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/marc_subfields_structure.pl,v
retrieving revision 1.32.2.3
retrieving revision 1.32.2.4
diff -C2 -r1.32.2.3 -r1.32.2.4
*** marc_subfields_structure.pl	10 Feb 2005 13:16:35 -0000	1.32.2.3
--- marc_subfields_structure.pl	10 Feb 2005 22:38:17 -0000	1.32.2.4
***************
*** 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