1: <?php
2: /**
3: * This file contains all Horde_Form classes for form reply administration.
4: *
5: * Copyright 2008-2012 Horde LLC (http://www.horde.org/)
6: *
7: * See the enclosed file LICENSE for license information (BSD). If you
8: * did not receive this file, see http://www.horde.org/licenses/bsdl.php.
9: *
10: * @author Jan Schneider <jan@horde.org>
11: * @package Whups
12: */
13:
14: class Whups_Form_Admin_AddReply extends Horde_Form
15: {
16: public function __construct(&$vars)
17: {
18: parent::__construct($vars, _("Add Form Reply"));
19:
20: $this->addHidden('', 'type', 'int', true, true);
21: $this->addVariable(_("Form Reply Name"), 'reply_name', 'text', true);
22: $this->addVariable(_("Form Reply Text"), 'reply_text', 'longtext', true);
23: }
24:
25: }
26: