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.
This change to the template is required if the link is to work
This commit is contained in:
parent
01a2fe5e79
commit
a6abd495c4
1 changed files with 1 additions and 3 deletions
|
@ -143,9 +143,7 @@
|
|||
</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&tagfield=<!-- TMPL_VAR NAME="edit_tagfield" -->&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" -->&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>
|
||||
|
|
Loading…
Reference in a new issue