1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10:
11:
12: class Sesha_Forms_PropertyDelete extends Horde_Form
13: {
14: function __construct($vars)
15: {
16: parent::__construct($vars);
17:
18: $this->appendButtons(_("Delete Property"));
19: $params = array('yes' => _("Yes"),
20: 'no' => _("No"));
21: $desc = _("Really delete this property?");
22:
23: $this->addHidden('', 'actionID', 'text', false, false, null, array('delete_property'));
24: $this->addHidden('', 'property_id', 'text', false, false, null);
25: $this->addVariable(_("Confirm"), 'confirm', 'enum', true, false, $desc, array($params));
26: }
27:
28: }
29: