1: <?php
2: /**
3: * Copyright 2001-2002 Robert E. Coyle <robertecoyle@hotmail.com>
4: * Copyright 2001-2012 Horde LLC (http://www.horde.org/)
5: *
6: * See the enclosed file LICENSE for license information (BSD). If you
7: * did not receive this file, see http://www.horde.org/licenses/bsdl.php.
8: */
9:
10: class Whups_Form_AddListener extends Horde_Form
11: {
12: public function __construct(&$vars, $title = '')
13: {
14: parent::__construct($vars, $title);
15:
16: $this->addHidden('', 'id', 'int', true, true);
17: $this->addVariable(_("Email address to notify"), 'add_listener', 'email', true);
18: }
19:
20: }
21: