|
@@ -32,25 +32,15 @@
|
|
|
|
|
|
?>
|
|
|
<?php //dsm($index, 'index'); ?>
|
|
|
-<?php //dsm($items, 'items'); ?>
|
|
|
+<?php //dsm($search_performance, 'search_performance'); ?>
|
|
|
|
|
|
<?php if (!empty($result_count)) : ?>
|
|
|
<div class="materiobase-results <?php print ' view-mode-' . $variables['view_mode'];?>">
|
|
|
<?php if ($result_count) : ?>
|
|
|
- <?php //print render($search_performance); ?>
|
|
|
+ <p class="search-performance"><?php print render($search_performance); ?></p>
|
|
|
<?php //print render($spellcheck); ?>
|
|
|
<div class="search-results">
|
|
|
- <?php $eview = entity_view($index->item_type, $items, $variables['view_mode']); ?>
|
|
|
- <?php //dsm($eview, 'eview'); ?>
|
|
|
- <?php print render($eview); ?>
|
|
|
- <?php
|
|
|
- // foreach ($eview[$index->item_type] as $entity){
|
|
|
- // $renders[] = render($entity);
|
|
|
- // }
|
|
|
- // dsm($renders, 'renders');
|
|
|
-
|
|
|
- // print implode('<!-- whitespace -->', $renders);
|
|
|
- ?>
|
|
|
+ <?php print render(entity_view($index->item_type, $items, $variables['view_mode'])); ?>
|
|
|
</div>
|
|
|
<?php print $pager; ?>
|
|
|
<?php else : ?>
|