Lines 1-19
Link Here
|
1 |
[% IF ( PAGE_NUMBERS ) %] |
1 |
[% IF ( PAGE_NUMBERS ) %] |
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 |
<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">First</a></li> |
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 |
[% IF ( previous_page_offset.defined ) %] |
6 |
[% END %] |
6 |
<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> |
7 |
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %] |
|
|
8 |
[% IF ( PAGE_NUMBER.highlight ) %] |
9 |
<li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li> |
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> |
12 |
[% END %] |
7 |
[% END %] |
13 |
[% END %] |
8 |
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %] |
14 |
[% IF ( next_page_offset ) %] |
9 |
[% IF ( PAGE_NUMBER.highlight ) %] |
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> |
10 |
<li class="active"><a href="#">[% PAGE_NUMBER.pg %]</a></li> |
16 |
[% END %] |
11 |
[% ELSE %] |
|
|
12 |
<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> |
13 |
[% END %] |
14 |
[% END %] |
15 |
[% IF ( next_page_offset ) %] |
16 |
<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> |
17 |
[% END %] |
18 |
<li><a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% last_page %][% IF ( sort_by ) %]&sort_by=[% sort_by |html %][% END %]">Last</a></li> |
17 |
</ul> |
19 |
</ul> |
18 |
</div> |
20 |
</div> |
19 |
[% END %] |
21 |
[% END %] |