Follow-up fixes for Bug 5917, Switch Koha to use Template::Toolkit

While fixing Bug 6395 I found a few other instances of leftover
TMPL usage.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d8bf9e6a29)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
Owen Leonard 2011-07-20 23:17:10 -04:00 committed by Chris Nighswonger
parent 5d627fdc8f
commit d4fc7cc578
3 changed files with 3 additions and 6 deletions

View File

@ -127,8 +127,7 @@
<tbody>
[% FOREACH to_branch_loo IN codes_loo.to_branch_loop %]
[% UNLESS ( loop.odd ) %]<tr class="highlight"><!-- TMPL_ELSE
--><tr>[% END %]
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
<td><label style="min-width:400px;" for="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row">[% to_branch_loo.toBranch %] - [% to_branch_loo.toBranchname %]</label></td>
<td><input type="checkbox" id="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row" name="[% to_branch_loo.code %]_[% to_branch_loo.toBranch %]" [% IF ( to_branch_loo.isChecked ) %]checked="checked" [% END %] /></td>
</tr>

View File

@ -33,8 +33,7 @@
</tr></thead>
<tbody>
[% FOREACH issue IN issues %]
[% UNLESS ( loop.odd ) %]<tr class="highlight"><!-- TMPL_ELSE
--><tr>[% END %]
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %]</a></td>
<td>[% IF ( issue.barcode ) %]
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issue.biblionumber %]&amp;itemnumber=[% issue.itemnumber %]">[% issue.barcode %]</a>

View File

@ -4,8 +4,7 @@
<script language="JavaScript" type="text/javascript">
//<![CDATA[
function popup() {
window.open("subscription-renew.pl?subscriptionid=<!-- TMPL_VAR
name="subscriptionid">","subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
window.open("subscription-renew.pl?subscriptionid=[% subscriptionid %]","subscription_renewal",'width=700,height=400,toolbar=false,scrollbars=yes');
}
function barcode_check(){