search-results.tpl.php

Version 1.1 (checked in on 2007/10/31 at 18:06:38 by dries)

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 also

template_preprocess_search_results()

Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.