summaryrefslogtreecommitdiff
path: root/httemplate/search/elements
diff options
context:
space:
mode:
authorivan <ivan>2006-12-22 06:18:21 +0000
committerivan <ivan>2006-12-22 06:18:21 +0000
commitf27a5a08ba712678bf826a47f82f96568208bab3 (patch)
tree78cbf90e85dc5a0386329b61d27ccc07a26d7173 /httemplate/search/elements
parent709fb1259715b7bd353a6a6e37274f253fcb0c11 (diff)
patch fixing "retry selected" and "remove select" in queue view
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r--httemplate/search/elements/search.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/httemplate/search/elements/search.html b/httemplate/search/elements/search.html
index c6d0bb68b..7d5e58a3b 100644
--- a/httemplate/search/elements/search.html
+++ b/httemplate/search/elements/search.html
@@ -13,6 +13,10 @@
% # # some HTML callbacks...
% # 'menubar' => '', #menubar arrayref
% # 'html_init' => '', #after the header/menubar and before the pager
+% # 'html_form' => '', #after the pager, right before the results
+% # # (only shown if there are results)
+% # # (use this for any form-opening tag rather than
+% # # html_init, to avoid a nested form)
% # 'html_foot' => '', #at the bottom
% # 'html_posttotal' => '', #at the bottom
% # # (these three can be strings or coderefs)
@@ -473,6 +477,14 @@
'maxrecords' => $maxrecords,
) %>
+ <% defined($opt{'html_form'})
+ ? ( ref($opt{'html_form'})
+ ? &{$opt{'html_form'}}()
+ : $opt{'html_form'}
+ )
+ : ''
+ %>
+
<% include('/elements/table-grid.html') %>
<TR>