diff modules/search/search-results.tpl.php @ 1:c1f4ac30525a 6.0

Drupal 6.0
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:28:28 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/search/search-results.tpl.php	Tue Dec 23 14:28:28 2008 +0100
@@ -0,0 +1,27 @@
+<?php
+// $Id: search-results.tpl.php,v 1.1 2007/10/31 18:06:38 dries Exp $
+
+/**
+ * @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()
+ */
+?>
+<dl class="search-results <?php print $type; ?>-results">
+  <?php print $search_results; ?>
+</dl>
+<?php print $pager; ?>