[pLog-svn] r2171 - plugins/trunk/mobile/templates/html-light

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Jun 5 14:07:40 GMT 2005


Author: oscar
Date: 2005-06-05 14:07:39 +0000 (Sun, 05 Jun 2005)
New Revision: 2171

Modified:
   plugins/trunk/mobile/templates/html-light/pager.template
Log:
small change to the pager, so that it does not appear when it is not needed


Modified: plugins/trunk/mobile/templates/html-light/pager.template
===================================================================
--- plugins/trunk/mobile/templates/html-light/pager.template	2005-06-05 13:43:50 UTC (rev 2170)
+++ plugins/trunk/mobile/templates/html-light/pager.template	2005-06-05 14:07:39 UTC (rev 2171)
@@ -1,3 +1,4 @@
+{if !$pager->isEmpty() && $pager->getTotalPages() > 1}
 <TABLE CELLPADDING=1 CELLSPACING=0 BORDER=0 WIDTH="100%">
 <TR><TD><B><FONT SIZE=2 FACE="Arial">
 	{if !$pager->isFirstPage() && !$pager->isEmpty()}
@@ -12,6 +13,6 @@
 	{/foreach}
 	{if !$pager->isLastPage() && !$pager->isEmpty()}
 	    <A HREF="{$pager->getNextPageLink()}">&raquo;</A>&nbsp;
-	{/if}	
+	{/if}		 
 </FONT></B></TD></TR></TABLE>
-
+{/if}




More information about the pLog-svn mailing list