/usr/share/dhelp/templates/search_pagination.tmpl is in dhelp 0.6.25.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | [% MACRO t(text) BLOCK;
gettext.get(text);
END; %]
[% IF last_page AND last_page != 1 %]
<div class="pager">
<br />
<label>[% t("Pages") %]:</label>
[% page = 1 %]
[% IF current_page != 1 %]
<span class="page"><a href="dsearch?search=[% search_terms | url %]&page=[% current_page - 1 %]">[% t("Previous") %]</a></span>
[% ELSE %]
<span class="page current-page">[% t("Previous") %]</span>
[% END %]
|
[% WHILE page <= last_page %]
[% IF page == current_page %]
<span class="page current-page">[% page %]</span>
[% ELSE %]
<span class="page"><a href="dsearch?search=[% search_terms | url %]&page=[% page %]">[% page %]</a></span>
[% END %]
[% IF page != last_page %]
|
[% END %]
[% page = page + 1 %]
[% END %]
|
[% IF current_page != last_page %]
<span class="page"><a href="dsearch?search=[% search_terms | url %]&page=[% current_page + 1 %]">[% t("Next") %]</a></span>
[% ELSE %]
<span class="page current-page">[% t("Next") %]</span>
[% END %]
<br />
</div>
[% END %]
|