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