search-results.tpl.php 733 Bytes
Newer Older
1
2
3
4
<?php
// $Id$

/**
5
 * @file
6
7
8
 * Default theme implementation for displaying search results.
 *
 * This template collects each invocation of theme_search_result(). This and
9
 * the child template are dependent to one another sharing the markup for
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 * definition lists.
 *
 * Note that modules may implement their own search type and theme function
 * completely bypassing this template.
 *
 * Available variables:
 * - $search_results: All results as it is rendered through
 *   search-result.tpl.php
 * - $type: The type of search, e.g., "node" or "user".
 *
 *
 * @see template_preprocess_search_results()
 */
?>
<dl class="search-results <?php print $type; ?>-results">
  <?php print $search_results; ?>
</dl>
<?php print $pager; ?>