3 * addressbook_search_form.tpl
5 * Display the form for searching the address book. Called from addrbook_search.php
7 * The following variables are available in this template:
8 * $use_js - boolean TRUE if we should use Javascript in the address book
9 * $backends - array containing list of all available backends.
11 * @copyright 1999-2022 The SquirrelMail Project Team
12 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
14 * @package squirrelmail
15 * @subpackage templates
18 /** add required includes **/
20 /** extract template variables **/
23 /** Begin template **/
25 <div id="addrBookSearch">
26 <table cellspacing="0" class="wrapper">
29 <?php echo _("Address book search"); ?>
34 <table cellspacing="0">
37 <label for="query"><?php echo _("Search for"); ?>:</label>
40 <input type="text" id="query" name="query" />
44 if (count($backends) > 1) {
46 <label for="backend"><?php echo _("in"); ?></label>
47 <select name="backend" id="backend">
49 foreach ($backends as $id=>$name) {
50 echo '<option value="'.$id.'">'.sm_encode_html_special_chars($name).'</option>'."\n";
57 <input type="hidden" name="backend" value="-1" />
64 <td colspan="3" class="buttons">
65 <input type="submit" name="show" value=<?php echo '"'._("Search").'"'; ?> />
67 <input type="submit" name="listall" value=<?php echo '"'._("List all").'"'; ?> />
69 if ($javascript_on && $compose_addr_pop) {
72 <input type="submit" onclick="parent.close()" value=<?php echo '"'._("Close").'"'; ?> />