From: <var...@us...> - 2011-04-05 17:19:21
|
Revision: 8021 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8021&view=rev Author: vargenau Date: 2011-04-05 17:19:14 +0000 (Tue, 05 Apr 2011) Log Message: ----------- Better use CSS than custom template Modified Paths: -------------- trunk/themes/default/templates/pagelink.tmpl trunk/themes/fusionforge/fusionforge.css Removed Paths: ------------- trunk/themes/fusionforge/templates/pagelink.tmpl Modified: trunk/themes/default/templates/pagelink.tmpl =================================================================== --- trunk/themes/default/templates/pagelink.tmpl 2011-04-05 16:08:40 UTC (rev 8020) +++ trunk/themes/default/templates/pagelink.tmpl 2011-04-05 17:19:14 UTC (rev 8021) @@ -13,7 +13,7 @@ $NEXT = false; } ?> -<tr><td width="100%" colspan="<?php echo $COLS ?>"><table width="100%"><tr class="wikipaging"> +<tr><td width="100%" colspan="<?php echo $COLS ?>"><table width="100%" class="wikipaging"><tr class="wikipaging"> <td class="wikipaging<?php echo $PREV ? "-enabled" : "-disabled" ?>" align="left"> <?php echo $PREV ? HTML::a(array('href'=>$FIRST_LINK), "|<<") : "|<<" ?> Modified: trunk/themes/fusionforge/fusionforge.css =================================================================== --- trunk/themes/fusionforge/fusionforge.css 2011-04-05 16:08:40 UTC (rev 8020) +++ trunk/themes/fusionforge/fusionforge.css 2011-04-05 17:19:14 UTC (rev 8021) @@ -203,6 +203,15 @@ .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; } .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; } +table.wikipaging { + border-width: 1px; + border-style: solid; + border-color: black; + font-weight: bold; + margin-top: 10px; + margin-bottom: 10px; +} + /* CreateToc plugin =================================================== */ div.toc { Deleted: trunk/themes/fusionforge/templates/pagelink.tmpl =================================================================== --- trunk/themes/fusionforge/templates/pagelink.tmpl 2011-04-05 16:08:40 UTC (rev 8020) +++ trunk/themes/fusionforge/templates/pagelink.tmpl 2011-04-05 17:19:14 UTC (rev 8021) @@ -1,32 +0,0 @@ -<?php // -*-php-*- -// $Id$ - -/** - * Themable paging "|<< << - i/sum - >> >>|" links - * - * Variables: PREV, NEXT, PREV_LINK, NEXT_LINK, - * COUNT, OFFSET, SIZE - * More ideas: FIRST, LAST, ... - */ -if ($WikiTheme->DUMP_MODE) { - $PREV = false; - $NEXT = false; -} -?> -<tr><td width="100%" colspan="<?php echo $COLS ?>"> </td></tr> -<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"> - <td class="wikipaging<?php echo $PREV ? "-enabled" : "-disabled" ?>" align="left"> - <?php echo $PREV ? HTML::a(array('href'=>$FIRST_LINK), "|<<") : "|<<" ?> - - <?php echo $PREV ? HTML::a(array('href'=>$PREV_LINK), "<< " . _("Prev")) : "<<" ?> - </td> - <td class="wikipaging-enabled" align="center"> - <?php echo fmt(" - %d / %d - ", $ACTPAGE, $NUMPAGES) ?> - </td> - <td class="wikipaging<?php echo $NEXT ? "-enabled" : "-disabled" ?>" align="right"> - <?php echo $NEXT ? HTML::a(array('href'=>$NEXT_LINK), _("Next") . " >>") : ">>" ?> - - <?php echo $NEXT ? HTML::a(array('href'=>$LAST_LINK), ">>|") : ">>|" ?> - </td> -</tr></table></td></tr> -<tr><td width="100%" colspan="<?php echo $COLS ?>"> </td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |