You are here

gss-results.tpl.php in Google Site Search 6

Same filename and directory in other branches
  1. 7 gss-results.tpl.php

search-results.tpl.php Default theme implementation for displaying search results.

This template collects each invocation of theme_search_result(). This and the child template are dependant to one another sharing the markup for 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".

File

gss-results.tpl.php
View source
<?php

/**
 * @file search-results.tpl.php
 * Default theme implementation for displaying search results.
 *
 * This template collects each invocation of theme_search_result(). This and
 * the child template are dependant to one another sharing the markup for
 * 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()
 */
?>
<span><?php

print $head;
?></span>
<ol class="google-search-results">
  <?php

print $search_results;
?>
</ol>
<?php

print $pager;