~noskcaj/ubuntu/saucy/dhelp/apache2.4

« back to all changes in this revision

Viewing changes to search_pagination.tmpl

  • Committer: Charlie Smotherman
  • Date: 2012-11-05 23:48:50 UTC
  • mfrom: (22.1.1 dhelp)
  • Revision ID: cjsmo@cableone.net-20121105234850-4a447ob81bs9a5je
Tags: 0.6.21+nmu1ubuntu1
* Merge from Debian unstable. Remaining changes:
  - lib/dhelp.rb:
    + Exit and return zero code if bdb isn't available; this usually
      indicates that dhelp is not configured yet.
* Non-Maintainer Upload
* Dropped the declaration of dependence on ruby-commandline, which was
  already done on the code
* New maintainer: Georgios M. Zarkadas <gz@member.fsf.org> (Closes: #650441). 
* Support other web servers in addition to apache2 (Closes: #669041).
* Support apache2 packaging transition for version 2.4 (Closes: #669758).
* Support new ruby packaging policy transition for Wheezy.
* Use OptionParser instead Commandline::Application (Closes: #678055).
  Thanks Gunnar Wolf.
* Support new layout of man2html cgi scripts for Wheezy.
* Keep supporting previous policies/layouts, either during build time or
  during runtime, to aid backporting.
* Man and info pages links are activated only if associated packages are
  installed on the system.
* Subsections now show in the sections list only if section is selected.
* New color, styles and icons themes.
* Package installation now does not fail if cache data cannot be generated
  during install.
* Fix some minor lintian warnings.
* Bump Standards-Version to 3.9.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[% MACRO t(text) BLOCK;
2
 
       gettext.get(text);
3
 
   END; %]
4
 
[% IF last_page AND last_page != 1 %]
5
 
<div class="pager">
6
 
    <label>[% t("Pages") %]:</label>
7
 
 
8
 
    [% page = 1 %]
9
 
 
10
 
    [% IF current_page != 1 %]
11
 
        <span class="page"><a href="dsearch?search=[% search_terms | url %]&page=[% current_page - 1 %]">[% t("Previous") %]</a></span>
12
 
    [% ELSE %]
13
 
        <span class="page current-page">[% t("Previous") %]</span>
14
 
    [% END %]
15
 
    |
16
 
 
17
 
    [% WHILE page <= last_page %]
18
 
        [% IF page == current_page %]
19
 
            <span class="page current-page">[% page %]</span>
20
 
        [% ELSE %]
21
 
            <span class="page"><a href="dsearch?search=[% search_terms | url %]&page=[% page %]">[% page %]</a></span>
22
 
        [% END %]
23
 
        [% IF page != last_page %]
24
 
            |
25
 
        [% END %]
26
 
        [% page = page + 1 %]
27
 
    [% END %]
28
 
 
29
 
    |
30
 
    [% IF current_page != last_page %]
31
 
        <span class="page"><a href="dsearch?search=[% search_terms | url %]&page=[% current_page + 1 %]">[% t("Next") %]</a></span>
32
 
    [% ELSE %]
33
 
        <span class="page current-page">[% t("Next") %]</span>
34
 
    [% END %]
35
 
</div>
36
 
[% END %]