Mercurial > defr > drupal > core
annotate modules/search/search-results.tpl.php @ 20:e3d20ebd63d1 tip
Added tag 6.9 for changeset 3edae6ecd6c6
| author | Franck Deroche <franck@defr.org> | 
|---|---|
| date | Thu, 15 Jan 2009 10:16:10 +0100 | 
| parents | c1f4ac30525a | 
| children | 
| rev | line source | 
|---|---|
| webmaster@1 | 1 <?php | 
| webmaster@1 | 2 // $Id: search-results.tpl.php,v 1.1 2007/10/31 18:06:38 dries Exp $ | 
| webmaster@1 | 3 | 
| webmaster@1 | 4 /** | 
| webmaster@1 | 5 * @file search-results.tpl.php | 
| webmaster@1 | 6 * Default theme implementation for displaying search results. | 
| webmaster@1 | 7 * | 
| webmaster@1 | 8 * This template collects each invocation of theme_search_result(). This and | 
| webmaster@1 | 9 * the child template are dependant to one another sharing the markup for | 
| webmaster@1 | 10 * definition lists. | 
| webmaster@1 | 11 * | 
| webmaster@1 | 12 * Note that modules may implement their own search type and theme function | 
| webmaster@1 | 13 * completely bypassing this template. | 
| webmaster@1 | 14 * | 
| webmaster@1 | 15 * Available variables: | 
| webmaster@1 | 16 * - $search_results: All results as it is rendered through | 
| webmaster@1 | 17 * search-result.tpl.php | 
| webmaster@1 | 18 * - $type: The type of search, e.g., "node" or "user". | 
| webmaster@1 | 19 * | 
| webmaster@1 | 20 * | 
| webmaster@1 | 21 * @see template_preprocess_search_results() | 
| webmaster@1 | 22 */ | 
| webmaster@1 | 23 ?> | 
| webmaster@1 | 24 <dl class="search-results <?php print $type; ?>-results"> | 
| webmaster@1 | 25 <?php print $search_results; ?> | 
| webmaster@1 | 26 </dl> | 
| webmaster@1 | 27 <?php print $pager; ?> | 
