Mercurial > hg > MPIWG-drupal-modules
comparison sites/all/modules/custom/solrsearch/solr-search-results.tpl.php @ 0:015d06b10d37 default tip
initial
author | dwinter |
---|---|
date | Wed, 31 Jul 2013 13:49:13 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:015d06b10d37 |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * @file | |
5 * Default theme implementation for displaying search results. | |
6 * | |
7 * This template collects each invocation of theme_search_result(). This and | |
8 * the child template are dependent to one another sharing the markup for | |
9 * definition lists. | |
10 * | |
11 * Note that modules may implement their own search type and theme function | |
12 * completely bypassing this template. | |
13 * | |
14 * Available variables: | |
15 * - $search_results: All results as it is rendered through | |
16 * search-result.tpl.php | |
17 * - $module: The machine-readable name of the module (tab) being searched, such | |
18 * as "node" or "user". | |
19 * | |
20 * | |
21 * @see template_preprocess_search_results() | |
22 * | |
23 * @ingroup themeable | |
24 */ | |
25 ?> | |
26 <div class="box"> | |
27 | |
28 <?php if ($search_results): ?> | |
29 <?php print $description; ?> | |
30 <?php print $pager; ?> | |
31 <h2><?php print t('Search results');?></h2> | |
32 | |
33 <?php if (isset($digitalobjects_items_select)):?> | |
34 | |
35 <form method="GET" action="<?php print $digitalobjects_items_select ?>"> | |
36 <?php endif;?> | |
37 <table class="items search-results <?php print $module; ?>-results"> | |
38 | |
39 <?php print $search_results; ?> | |
40 | |
41 | |
42 </table> | |
43 <?php print $pager; ?> | |
44 | |
45 <?php if (isset($digitalobjects_items_select)):?> | |
46 </form> | |
47 <?php endif;?> | |
48 <?php else : ?> | |
49 <h2><?php print t('Your search yielded no results');?></h2> | |
50 <?php print search_help('search#noresults', drupal_help_arg()); ?> | |
51 <?php endif; ?> | |
52 </div> |