1: <?php
2: /**
3: * Form class for whitelist management.
4: *
5: * Copyright 2003-2012 Horde LLC (http://www.horde.org/)
6: *
7: * See the enclosed file COPYING for license information (GPL). If you
8: * did not receive this file, see http://www.horde.org/licenses/gpl.
9: *
10: * @author Max Kalika <max@horde.org>
11: * @package Sam
12: */
13: class Sam_Form_Whitelist extends Sam_Form_List
14: {
15: public function __construct($vars)
16: {
17: $this->_attributes = array(
18: 'whitelist_from' => _("Whitelist From"),
19: 'whitelist_to' => _("Whitelist To"),
20: );
21: parent::__construct($vars, _("Whitelist Manager"));
22: }
23: }
24: