diff options
Diffstat (limited to 'httemplate/search/elements/search.html')
| -rw-r--r-- | httemplate/search/elements/search.html | 12 |
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> |
