Author: david
Date: Fri Oct 21 13:14:17 2011
New Revision: 10159
Log:
Put pager at top of page for print results
Modified:
trunk/apps/qubit/modules/search/templates/indexSuccess.php
Modified: trunk/apps/qubit/modules/search/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/search/templates/indexSuccess.php Fri Oct 21
13:13:18 2011 (r10158)
+++ trunk/apps/qubit/modules/search/templates/indexSuccess.php Fri Oct 21
13:14:17 2011 (r10159)
@@ -22,6 +22,7 @@
</div>
<?php else: ?>
+
<div id="search-stats">
<?php echo __('Found %1% results in %2% seconds', array(
'%1%' => count($pager->hits),
@@ -30,8 +31,13 @@
<?php if (isset($pager)): ?>
- <?php echo get_partial('search/searchResults', array('pager' => $pager)) ?>
- <?php echo get_partial('default/pager', array('pager' => $pager)) ?>
+ <?php if ('print' != $sf_request->getGetParameter('media')): ?>
+ <?php echo get_partial('search/searchResults', array('pager' => $pager))
?>
+ <?php echo get_partial('default/pager', array('pager' => $pager)) ?>
+ <?php else: ?>
+ <?php echo get_partial('default/pager', array('pager' => $pager)) ?>
+ <?php echo get_partial('search/searchResults', array('pager' => $pager))
?>
+ <?php endif; ?>
<?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.