]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/pagelink.tmpl
rcs_id no longer makes sense with Subversion global version number
[SourceForge/phpwiki.git] / themes / default / templates / pagelink.tmpl
1 <?php // -*-php-*-
2 // rcs_id('$Id$');
3
4 /**
5  * Themable paging "|<< <<   - i/sum - >> >>|" links
6  *
7  * Variables: PREV, NEXT, PREV_LINK, NEXT_LINK,
8  * COUNT, OFFSET, SIZE
9  * More ideas: FIRST, LAST, ...
10  */
11 if ($WikiTheme->DUMP_MODE) {
12   $PREV = false;
13   $NEXT = false;
14 }
15 ?>
16 <tr><td width="100%" colspan="<?= $COLS ?>"><table width="100%"><tr class="wikipaging">
17   <td class="wikipaging<?= $PREV ? "-enabled" : "-disabled" ?>" align="left">
18       <?= $PREV ?  HTML::a(array('href'=>$FIRST_LINK),_("|<<")) : _("|<<") ?>
19       &nbsp;
20       <?= $PREV ?  HTML::a(array('href'=>$PREV_LINK),_("<< Prev")) : _("<<") ?>
21   </td>
22   <td class="wikipaging-enabled" align="center">
23       <?= fmt(" - %d / %d - ", $ACTPAGE, $NUMPAGES) ?>
24   </td>
25   <td class="wikipaging<?= $NEXT ? "-enabled" : "-disabled" ?>" align="right">
26       <?= $NEXT ?  HTML::a(array('href'=>$NEXT_LINK),_("Next >>"))  : _(">>") ?> 
27       &nbsp;
28       <?= $NEXT ?  HTML::a(array('href'=>$LAST_LINK),_(">>|")) : _(">>|") ?>
29   </td>
30 </tr></table></td></tr>