highlighted the FOUND X RESULTS sentence

This commit is contained in:
Bachir Soussi Chiadmi
2014-07-02 18:21:39 +02:00
parent 9df43555ac
commit 5b26e36355
3 changed files with 67 additions and 42 deletions

View File

@@ -38,11 +38,21 @@
<?php //if (!empty($result_count)) : ?>
<div class="materiobase-results <?php print ' view-mode-' . $variables['view_mode'];?>">
<?php if ($result_count) : ?>
<p class="search-performance"><?php print render($search_performance); ?></p>
<?php if(!$perfascard): ?>
<p class="search-performance"><?php print render($search_performance); ?></P>
<?php endif; ?>
<?php //print render($spellcheck); ?>
<div class="search-results">
<?php if($perfascard): ?>
<article class="search-performance <?php print ' view-mode-' . $variables['view_mode'];?>">
<div class="inner">
<p><?php print render($search_performance); ?></P>
</div>
</article>
<?php endif; ?>
<?php //dsm($items, '$items'); ?>
<?php
<?php
// TODO: use cache system to gain in speed, view http://drupal.org/node/930760
?>
<?php print render(entity_view($index->item_type, $items, $variables['view_mode'])); ?>