Add prettier layout for edit lists, not that I am any kind of graphic designer. ...
[squirrelmail.git] / templates / default / edit_list_widget.tpl
1 <?php
2
3 /**
4 * edit_list_widget.tpl
5 *
6 * Template for constructing an edit list.
7 *
8 * The following variables are available in this template:
9 *
10 * string $name The name of the edit list
11 * string $input_widget A preconstructed input text box used
12 * for adding new elements to the edit list
13 * string $select_widget A preconstructed input text box used
14 * string $checkbox_widget A preconstructed input text box used
15 * string $trailing_text Any text given by the caller to be displayed
16 * after the edit list input
17 * array $possible_values The original list of options in the edit list,
18 * for use constructing layouts alternative to
19 * the select widget
20 *
21 * @copyright &copy; 1999-2008 The SquirrelMail Project Team
22 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
23 * @version $Id: select.tpl 12961 2008-02-24 22:35:08Z pdontthink $
24 * @package squirrelmail
25 * @subpackage templates
26 */
27
28
29 // retrieve the template vars
30 //
31 extract($t);
32
33
34 echo _("Add") . '&nbsp;' . $input_widget . '<br />' . $select_widget
35 . '<br />' . $checkbox_widget . '&nbsp;<label for="delete_' . $name . '">'
36 . _("Delete Selected") . '</label>';