[Koha-bugs] [Bug 542] New: Move HTML out of itemtypes.pl
bugzilla-daemon at wilbur.katipo.co.nz
bugzilla-daemon at wilbur.katipo.co.nz
Thu Jul 17 20:51:27 CEST 2003
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=542
Summary: Move HTML out of itemtypes.pl
Product: Koha
Version: 2.0.0
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P2
Component: Parameters
AssignedTo: tonnesen at cmsd.bc.ca
ReportedBy: oleonard at athenscounty.lib.oh.us
QAContact: koha-bugs at lists.sourceforge.net
If we change line 197 of itemtypes.pl from
$template->param(previous => "<a href=\"$script_name?offset=".$prevpage.'">');
to
$template->param(previous => "$script_name?offset=".$prevpage);
...and line 201 from
$template->param(next => "<a href=\"$script_name?offset=".$nextpage.'">');
to
$template->param(next => "$script_name?offset=".$nextpage);
We can alter itemtypes.tmpl, changing line 156 from
<td width=33%><TMPL_IF name="previous"><TMPL_VAR name="previous"><input
type=image src="<TMPL_VAR name="interface">/<TMPL_VAR
name="theme">/images/1leftarrow.png" title="previous" ALT="previous"
BORDER=0></a></TMPL_IF></td>
to
<td width=33%><TMPL_IF name="previous"><a href="<TMPL_VAR
name="previous">"><input type=image src="<TMPL_VAR name="interface">/<TMPL_VAR
name="theme">/images/1leftarrow.png" title="previous" ALT="previous"
BORDER=0></a></TMPL_IF></td>
and line 157 from
<td width=33%><TMPL_IF name="next"><TMPL_VAR name="next"><input type=image
src="<TMPL_VAR name="interface">/<TMPL_VAR name="theme">/images/1rightarrow.png"
title="next" ALT="next" BORDER=0></a></TMPL_IF></td>
to
<td width=33%><TMPL_IF name="next"><a href="<TMPL_VAR name="next">"><input
type=image src="<TMPL_VAR name="interface">/<TMPL_VAR
name="theme">/images/1rightarrow.png" title="next" ALT="next"
BORDER=0></a></TMPL_IF></td>
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list