]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/fusionforge/templates/pagelink.tmpl
No need to translate that
[SourceForge/phpwiki.git] / themes / fusionforge / templates / pagelink.tmpl
1 <?php // -*-php-*-
2 // $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="<?php echo $COLS ?>">&nbsp;</td></tr>
17 <tr><td width="100%" colspan="<?php echo $COLS ?>"><table style="border-width: 1px; border-style: solid; border-color: black; font-weight: bold;" width="100%"><tr class="wikipaging">
18   <td class="wikipaging<?php echo $PREV ? "-enabled" : "-disabled" ?>" align="left">
19       <?php echo $PREV ? HTML::a(array('href'=>$FIRST_LINK), "|<<") : "|<<" ?>
20       &nbsp;
21       <?php echo $PREV ? HTML::a(array('href'=>$PREV_LINK), "<< " . _("Prev")) : "<<" ?>
22   </td>
23   <td class="wikipaging-enabled" align="center">
24       <?php echo fmt(" - %d / %d - ", $ACTPAGE, $NUMPAGES) ?>
25   </td>
26   <td class="wikipaging<?php echo $NEXT ? "-enabled" : "-disabled" ?>" align="right">
27       <?php echo $NEXT ? HTML::a(array('href'=>$NEXT_LINK), _("Next") . " >>") : ">>" ?>
28       &nbsp;
29       <?php echo $NEXT ? HTML::a(array('href'=>$LAST_LINK), ">>|") : ">>|" ?>
30   </td>
31 </tr></table></td></tr>
32 <tr><td width="100%" colspan="<?php echo $COLS ?>">&nbsp;</td></tr>