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