Lines 2-18
Link Here
|
2 |
<div class="pagination pagination-small noprint"> |
2 |
<div class="pagination pagination-small noprint"> |
3 |
<ul> |
3 |
<ul> |
4 |
[% IF ( previous_page_offset.defined ) %] |
4 |
[% IF ( previous_page_offset.defined ) %] |
5 |
<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> |
5 |
<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html |replace('%20%23.*', '') %]&offset=[% previous_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">« Previous</a></li> |
6 |
[% END %] |
6 |
[% END %] |
7 |
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %] |
7 |
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %] |
8 |
[% IF ( PAGE_NUMBER.highlight ) %] |
8 |
[% IF ( PAGE_NUMBER.highlight ) %] |
9 |
<li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li> |
9 |
<li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li> |
10 |
[% ELSE %] |
10 |
[% ELSE %] |
11 |
<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> |
11 |
<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html |replace('%20%23.*', '') %]&offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html%][% END %]">[% PAGE_NUMBER.pg %]</a></li> |
12 |
[% END %] |
12 |
[% END %] |
13 |
[% END %] |
13 |
[% END %] |
14 |
[% IF ( next_page_offset ) %] |
14 |
[% IF ( next_page_offset ) %] |
15 |
<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> |
15 |
<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html |replace('%20%23.*', '') %]&offset=[% next_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">Next »</a></li> |
16 |
[% END %] |
16 |
[% END %] |
17 |
</ul> |
17 |
</ul> |
18 |
</div> |
18 |
</div> |