root/swish_website/lib/menu/prevnext

Revision 1587, 0.6 kB (checked in by whmoseley, 4 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 [% # $Id$ -%]
2 <table border="0" cellpadding="2" cellspacing="2">
3   <tr valign="middle">
4   [% IF page.prev -%]
5     <td align="right">
6       [% PROCESS menu/text
7            link = {
8              text  = page.prev.name
9              url   = page.prev.url
10              class = 'menu'
11            };
12      -%]
13     </td>
14
15     [% IF page.next -%]
16     <td>|</td>
17     [% END -%]
18   [% END %]
19
20   [% IF page.next %]
21     <td align="left">
22       [%- PROCESS menu/text
23             link = {
24               text  = page.next.name
25               url   = page.next.url
26               class = 'menu'
27             };
28       %]
29     </td>
30   [% END %]
31   </tr>
32 </table>
Note: See TracBrowser for help on using the browser.