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