From: paul <[EMAIL PROTECTED]>
---
circ/overdue.pl | 11 -----------
.../prog/en/modules/circ/overdue.tmpl | 9 ++++++++-
2 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/circ/overdue.pl b/circ/overdue.pl
index 27265d7..86e9501 100755
--- a/circ/overdue.pl
+++ b/circ/overdue.pl
@@ -94,16 +94,6 @@ my $onlymine=C4::Context->preference('IndependantBranches')
&&
C4::Context->userenv->{branch};
my $branches = GetBranches($onlymine);
my @branchloop;
-my @selectflags;
-push @selectflags, " ";#
-push @selectflags,"gonenoaddress";#
-push @selectflags,"debarred";#
-push @selectflags,"lost";#
-my $CGIflags=CGI::scrolling_list( -name => 'borflags',
- -id =>'borflags',
- -values => [EMAIL PROTECTED],
- -size => 1,
- -multiple => 0 );
foreach my $thisbranch ( sort keys %$branches ) {
my %row = (
@@ -120,7 +110,6 @@ $template->param( branchloop => [EMAIL PROTECTED],
$template->param(borcatloop=> [EMAIL PROTECTED],
itemtypeloop => [EMAIL PROTECTED],
branchloop=> [EMAIL PROTECTED],
- CGIflags => $CGIflags,
borname => $bornamefilter,
order => $order,
showall => $showall);
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tmpl
b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tmpl
index c4f8dc4..05ce50f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tmpl
@@ -60,7 +60,14 @@
<!-- /TMPL_LOOP -->
</select>
</li>
- <li><label>Patron flags:</label><!--TMPL_VAR Name="CGIflags" --></li>
+ <li><label>Patron flags:</label>
+ <select name="borflags" size="1" id="borflags">
+ <option value=" "> </option>
+ <option value="gonenoaddress">gone no address</option>
+ <option value="debarred">debarred</option>
+ <option value="lost">lost</option>
+ </select>
+ </li>
<li><label>Item type:</label><select name="itemtype" id="itemtype"><option
value="">Any</option>
<!-- TMPL_LOOP name="itemtypeloop" --><!-- TMPL_IF NAME="selected" -->
<option value="<!-- TMPL_VAR name="value" -->"
selected="selected"><!-- TMPL_VAR name="itemtypename" --></option><!--
TMPL_ELSE -->
--
1.5.3.2
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches