]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - themes/default/templates/pagelink.tmpl
from "<< prev | next >>" to "|<< << - i/sum - >> >>|"
[SourceForge/phpwiki.git] / themes / default / templates / pagelink.tmpl
1 <?php 
2 /**
3  * Themable paging "|<< <<   - i/sum - >> >>|" links
4  *
5  * $Id: pagelink.tmpl,v 1.2 2007-08-25 19:55:06 rurban Exp $ -->
6  * Variables: PREV, NEXT, PREV_LINK, NEXT_LINK,
7  * COUNT, OFFSET, SIZE
8  * More ideas: FIRST, LAST, ...
9  */
10 ?>
11 <tr><td width="100%" colspan="<?= $COLS ?>"><table width="100%"><tr class="wikipaging">
12   <td class="wikipaging<?= $PREF ? "-enabled" : "-disabled" ?>" align="left"">
13       <?= $PREV ?  HTML::a(array('href'=>$FIRST_LINK),_("|<<")) : _("|<<") ?>
14       &nbsp;
15       <?= $PREV ?  HTML::a(array('href'=>$PREV_LINK),_("<< Prev")) : _("<<") ?>
16   </td>
17   <td class="wikipaging-enabled" align="center">
18       <?= fmt(" - %d / %d - ", $ACTPAGE, $NUMPAGES) ?>
19   </td>
20   <td class="wikipaging<?= $NEXT ? "-enabled" : "-disabled" ?>" align="right">
21       <?= $NEXT ?  HTML::a(array('href'=>$NEXT_LINK),_("Next >>"))  : _(">>") ?> 
22       &nbsp;
23       <?= $NEXT ?  HTML::a(array('href'=>$LAST_LINK),_(">>|")) : _(">>|") ?>
24   </td>
25 </tr></table></td></tr>