Switching from building 'edit' link in the script to building it in the template...
authoroleonard <oleonard>
Thu, 10 Feb 2005 22:43:53 +0000 (22:43 +0000)
committeroleonard <oleonard>
Thu, 10 Feb 2005 22:43:53 +0000 (22:43 +0000)
This change to the template is required if the link is to work

koha-tmpl/intranet-tmpl/default/en/parameters/marc_subfields_structure.tmpl

index 8fb0dcb..763c4d3 100644 (file)
 </tr>
 <!-- /TMPL_LOOP -->
 </table>
-<!-- TMPL_VAR NAME="edit" -->
-       <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0">
-</a>
+<a href="<!-- TMPL_VAR NAME="script_name" -->?op=add_form&amp;tagfield=<!-- TMPL_VAR NAME="edit_tagfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="edit_frameworkcode" -->"><img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/fileopen.png"  width="32" hspace="0" vspace="0" border="0"></a>
 <a href="marctagstructure.pl?searchfield=<!-- TMPL_VAR NAME="tagfield" -->&amp;frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->">
        <img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/2uparrow.png" width="32" hspace="0" vspace="0" border="0">
 </a>