Author: jablko
Date: Thu Aug 27 14:14:16 2009
New Revision: 3101

Log:
Improve condition

Modified:
   trunk/apps/qubit/modules/default/templates/_pager.php

Modified: trunk/apps/qubit/modules/default/templates/_pager.php
==============================================================================
--- trunk/apps/qubit/modules/default/templates/_pager.php       Thu Aug 27 
14:11:10 2009        (r3100)
+++ trunk/apps/qubit/modules/default/templates/_pager.php       Thu Aug 27 
14:14:16 2009        (r3101)
@@ -1,6 +1,6 @@
 <?php if ($pager->haveToPaginate()): ?>
   <div class="pager">
-    <?php if (1 != $pager->getCurrentPage()): ?>
+    <?php if (1 < $pager->getCurrentPage()): ?>
       <?php echo link_to('< '.__('previous'), array('page' => 
$pager->getCurrentPage() - 1) + $sf_request->getParameterHolder()->getAll()) ?>
     <?php endif; ?>
     <?php foreach ($pager->getPages() as $page): ?>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to