[Koha] Authorized Values error in default template
Tim Krieger
tim at mtlsd.ca
Thu Jun 9 05:45:48 NZST 2005
We noticed that the previous and next icons at the bottom of the authorized
values page does not allow you to go forward or back in the list. clicking
on either icon brings up the page to add a new item to the tag in question.
In the template <koha intranet dir>/htdocs/intranet-
tmpl/default/en/paramaters/authorised_values.tmpl
at the bottom of the file the previous and next buttons are form input
fields, changeing them to image links solves the problem.
Original :
<!-- TMPL_IF NAME="isprevpage" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR
NAME="prevpage" -->&searchfield=<!-- TMPL_VAR NAME="searchfield" -->">
<input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!--
TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="previous"
alt="previous" border="0">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="nextpage" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR
NAME="nextpage" -->&searchfield=<!-- TMPL_VAR NAME="searchfield" -->">
<input type="image" src="<!-- TMPL_VAR NAME="interface" --
>/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next"
alt="next" border="0">
</a>
<!-- /TMPL_IF -->
Fixed :
<!-- TMPL_IF NAME="isprevpage" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR
NAME="prevpage" -->&searchfield=<!-- TMPL_VAR NAME="searchfield" -->">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR
NAME="theme" -->/images/1leftarrow.png" alt="previous" border="0">
</a>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="nextpage" -->
<a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR
NAME="nextpage" -->&searchfield=<!-- TMPL_VAR NAME="searchfield" -->">
<img src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR
NAME="theme" -->/images/1rightarrow.png" alt="next" border="0">
</a>
<!-- /TMPL_IF -->
I imagine the same problem exists in the other langage templates for this
aswell but we do not use them.
Tim Krieger
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list