5 * Template for displaying recent/saved searches
7 * The following variables are available in this template:
8 * $list_title - Translated title for this list.
9 * $show_list - boolean TRUE if this list is to be shown, i.e. it is unfolded
10 * $is_recent_list - boolean TRUE if this is the list of recent searches.
11 * Different query options are displayed for each list
12 * $expand_collapse_toggle - URL to fold/unfold this list
13 * $save_recent - base URL to save a recent query
14 * $do_recent - base URL to repeat a recent query
15 * $forget_recent - base URL to forget a recent query
16 * $edit_saved - base URL to edit a saved query
17 * $do_saved - base URL to repeat a saved query
18 * $delete_saved - base URL to delete a saved query
19 * $query_list - array containing the list of queries to be displayed.
20 * Index of each element is the query number. Each of the
21 * base URLs above MUST be followed by this index in order
24 * @copyright © 1999-2006 The SquirrelMail Project Team
25 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
27 * @package squirrelmail
28 * @subpackage templates
32 /** extract template variables **/
35 /** Begin template **/
38 <table cellspacing="0" class="table2">
40 <td style="width:1%" class="header4">
41 <a href="<?php echo $expand_collapse_toggle; ?>">
44 echo getIcon($icon_theme_path, 'minus.png', '-', _("Fold"));
46 echo getIcon($icon_theme_path, 'plus.png', '+', _("Unfold"));
51 <td class="header4" colspan="4">
52 <?php echo $list_title; ?>
58 foreach ($query_list as $id=>$desc) {
63 <tr class="<?php echo $class; ?>">
64 <td class="queryDesc">
67 <td class="queryDesc">
71 if ($is_recent_list) {
73 <td class="queryAction">
74 <a href="<?php echo $save_recent.$id; ?>"><?php echo _("Save"); ?></a>
76 <td class="queryAction">
77 <a href="<?php echo $do_recent.$id; ?>"><?php echo _("Search"); ?></a>
79 <td class="queryAction">
80 <a href="<?php echo $forget_recent.$id; ?>"><?php echo _("Forget"); ?></a>
85 <td class="queryAction">
86 <a href="<?php echo $edit_saved.$id; ?>"><?php echo _("Edit"); ?></a>
88 <td class="queryAction">
89 <a href="<?php echo $do_saved.$id; ?>"><?php echo _("Search"); ?></a>
91 <td class="queryAction">
92 <a href="<?php echo $delete_saved.$id; ?>"><?php echo _("Delete"); ?></a>