66db4a64ef
Previous patch only removed the next and previous buttons. This patch changes it a bit to remove the whole paging from the print view of the page. Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
19 lines
1.1 KiB
HTML
19 lines
1.1 KiB
HTML
[% IF ( PAGE_NUMBERS ) %]
|
|
<div class="pagination pagination-small noprint">
|
|
<ul>
|
|
[% IF ( previous_page_offset.defined ) %]
|
|
<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% previous_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">« Previous</a></li>
|
|
[% END %]
|
|
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
|
|
[% IF ( PAGE_NUMBER.highlight ) %]
|
|
<li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li>
|
|
[% ELSE %]
|
|
<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html%][% END %]">[% PAGE_NUMBER.pg %]</a></li>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( next_page_offset ) %]
|
|
<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% next_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">Next »</a></li>
|
|
[% END %]
|
|
</ul>
|
|
</div>
|
|
[% END %]
|