Mercurial > defr > drupal > core
comparison modules/search/search-result.tpl.php @ 11:589fb7c02327 6.5
Drupal 6.5
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Tue, 23 Dec 2008 14:32:19 +0100 |
| parents | c1f4ac30525a |
| children |
comparison
equal
deleted
inserted
replaced
| 10:6f15c9d74937 | 11:589fb7c02327 |
|---|---|
| 1 <?php | 1 <?php |
| 2 // $Id: search-result.tpl.php,v 1.1 2007/10/31 18:06:38 dries Exp $ | 2 // $Id: search-result.tpl.php,v 1.1.2.1 2008/08/28 08:21:44 dries Exp $ |
| 3 | 3 |
| 4 /** | 4 /** |
| 5 * @file search-result.tpl.php | 5 * @file search-result.tpl.php |
| 6 * Default theme implementation for displaying a single search result. | 6 * Default theme implementation for displaying a single search result. |
| 7 * | 7 * |
| 13 * - $url: URL of the result. | 13 * - $url: URL of the result. |
| 14 * - $title: Title of the result. | 14 * - $title: Title of the result. |
| 15 * - $snippet: A small preview of the result. Does not apply to user searches. | 15 * - $snippet: A small preview of the result. Does not apply to user searches. |
| 16 * - $info: String of all the meta information ready for print. Does not apply | 16 * - $info: String of all the meta information ready for print. Does not apply |
| 17 * to user searches. | 17 * to user searches. |
| 18 * - $info_split: Contains same data as $info split into a keyed array. | 18 * - $info_split: Contains same data as $info, split into a keyed array. |
| 19 * - $type: The type of search, e.g., "node" or "user". | 19 * - $type: The type of search, e.g., "node" or "user". |
| 20 * | 20 * |
| 21 * Default keys within $info_split: | 21 * Default keys within $info_split: |
| 22 * - $info_split['type']: Node type. | 22 * - $info_split['type']: Node type. |
| 23 * - $info_split['user']: Author of the node linked to users profile. Depends | 23 * - $info_split['user']: Author of the node linked to users profile. Depends |
