Author: sevein
Date: Tue Sep 15 07:58:19 2009
New Revision: 3300
Log:
No results message for the pager.
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 Tue Sep 15
00:02:50 2009 (r3299)
+++ trunk/apps/qubit/modules/default/templates/_pager.php Tue Sep 15
07:58:19 2009 (r3300)
@@ -21,5 +21,9 @@
<?php endif; ?>
<div class="result-count">
- <?php echo __('displaying %1% to %2% of %3% results', array('%1%' =>
$pager->getFirstHit(), '%2%' => $pager->getLastHit(), '%3%' =>
count($pager->allHits))) ?>
+ <?php if (count($pager->allHits) > 1): ?>
+ <?php echo __('displaying %1% to %2% of %3% results', array('%1%' =>
$pager->getFirstHit(), '%2%' => $pager->getLastHit(), '%3%' =>
count($pager->allHits))) ?>
+ <?php else: ?>
+ <?php echo __('No results found'); ?>
+ <? endif; ?>
</div>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---