koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/admin marc_subfields_structure.pl,1.33,1.34
Date: Thu, 10 Feb 2005 14:42:59 -0800

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 => address@hidden);
!       $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 => address@hidden);
!       $template->param(edit_tagfield => $tagfield,
!               edit_frameworkcode => $frameworkcode);
!               
        if ($offset>0) {
                my $prevpage = $offset-$pagesize;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]