Retire Marc. We should probably retire some others who haven't contributed in the...
[squirrelmail.git] / templates / default / search_result_top.tpl
CommitLineData
146acc11 1<?php
2/**
3 * search_result_top.tpl
4 *
5 * This template is displayed above the search results but after the search form.
6 *
7 * IMPORTANT: This template does *not* handle the displaying of the results
8 * themselves! That is handled by the message_list.tpl template!
9 *
10 * The following variables are available in this template:
11 * $query_has_error - boolean TRUE if the search query generated an error
12 * $query_error - string containing error generated. NULL if no error.
13 * $query - string describing the query
14 *
1977ab55 15 * @copyright 1999-2010 The SquirrelMail Project Team
146acc11 16 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
17 * @version $Id$
18 * @package squirrelmail
19 * @subpackage templates
20 */
21
22/** add required includes **/
23
24/** extract template variables **/
25extract($t);
26
27/** Begin template **/
28?>
29<hr />
30<div class="search">
31<table cellspacing="0" class="table2">
32 <tr>
33 <td class="header2">
34 <?php echo _("Search Results"); ?>
35 </td>
36 </tr>
37 <?php
38 if ($query_has_error) {
39 ?>
40 <tr>
41 <td class="queryError">
42 <?php echo $query_error; ?>
43 </td>
44 </tr>
45 <?php
46 }
47 ?>
48 <tr>
49 <td style="text-align: center;">
50 <?php echo $query; ?>
51 </td>
52 </tr>
53</table>
54</div>