web/drupal/modules/search/search-results.tpl.php
branchdrupal
changeset 74 0ff3ba646492
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/drupal/modules/search/search-results.tpl.php	Fri Aug 21 16:26:26 2009 +0000
@@ -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; ?>