1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10:
11: class Vilma_Form_DeleteDomain extends Horde_Form
12: {
13: public function __construct($vars)
14: {
15: parent::Horde_Form($vars, _("Delete Domain"));
16:
17: $domain_record = $GLOBALS['vilma']->driver->getDomain($vars->get('domain_id'));
18: $domain = $domain_record['domain_name'];
19:
20:
21: $this->setButtons(array(_("Delete"), _("Do not delete")));
22: $this->addHidden('', 'domain_id', 'text', false);
23: $this->addVariable(sprintf(_("Delete domain \"%s\" and all associated email addresses?"), $domain), 'description', 'description', false);
24: }
25: }
26: