New folders block nav

++
search field : select on focus

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-11-16 20:02:37 +01:00
parent 7dafe10be1
commit d2285db42a
11 changed files with 231 additions and 111 deletions

View File

@@ -33,18 +33,20 @@
?>
<?php //dsm($index, 'index'); ?>
<?php //dsm($search_performance, 'search_performance'); ?>
<?php //dsm($result_count, 'result_count'); ?>
<?php if (!empty($result_count)) : ?>
<?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 //print render($spellcheck); ?>
<div class="search-results">
<?php //dsm($items, '$items'); ?>
<?php print render(entity_view($index->item_type, $items, $variables['view_mode'])); ?>
</div>
<?php print $pager; ?>
<?php else : ?>
<h2><?php print t('Your search yielded no results.');?></h2>
<p class="search-noresults"><?php print t('Your search yielded no results.');?></p>
<?php endif; ?>
</div>
<?php endif; ?>
<?php //endif; ?>