Author: david
Date: Mon Oct 24 13:50:07 2011
New Revision: 10174
Log:
Restore timer. Add 'Showing results...'.
Modified:
trunk/apps/qubit/modules/search/templates/_searchResults.php
Modified: trunk/apps/qubit/modules/search/templates/_searchResults.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/_searchResults.php Mon Oct
24 13:36:06 2011 (r10173)
+++ trunk/apps/qubit/modules/search/templates/_searchResults.php Mon Oct
24 13:50:07 2011 (r10174)
@@ -1,6 +1,11 @@
<div id="search-stats">
<?php if (0 < $pager->getNbResults()): ?>
- <?php echo __('Results %1% to %2% of %3%', array('%1%' =>
$pager->getFirstIndice(), '%2%' => $pager->getLastIndice(), '%3%' =>
$pager->getNbResults())) ?>
+ <?php echo __('Showing results %1% to %2% of %3% (%4% seconds)', array(
+ '%1%' => $pager->getFirstIndice(),
+ '%2%' => $pager->getLastIndice(),
+ '%3%' => $pager->getNbResults(),
+ '%4%' => $timer->elapsed()
+ )) ?>
<?php else: ?>
<?php echo __('No results') ?>
<?php endif; ?>
--
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.com/group/qubit-commits?hl=en.