Use a template for the edit list widget
[squirrelmail.git] / templates / default / edit_list_widget.tpl
CommitLineData
cb606dfd 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 *
18 * @copyright &copy; 1999-2008 The SquirrelMail Project Team
19 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
20 * @version $Id: select.tpl 12961 2008-02-24 22:35:08Z pdontthink $
21 * @package squirrelmail
22 * @subpackage templates
23 */
24
25
26// retrieve the template vars
27//
28extract($t);
29
30
31echo _("Add") . '&nbsp;' . $input_widget . '<br />' . $select_widget
32 . '<br />' . $checkbox_widget . '&nbsp;<label for="delete_' . $name . '">'
33 . _("Delete Selected") . '</label>';