Overview

Packages

  • None
  • Vilma

Classes

  • Vilma
  • Vilma_Api
  • Vilma_Driver
  • Vilma_Driver_Qmailldap
  • Vilma_Driver_Sql
  • Vilma_Form_DeleteDomain
  • Vilma_Form_EditAlias
  • Vilma_Form_EditDomain
  • Vilma_Form_EditForward
  • Vilma_Form_EditUser
  • Vilma_MailboxDriver
  • Vilma_MailboxDriver_Hooks
  • Vilma_MailboxDriver_Imap
  • Vilma_MailboxDriver_Maildrop
  • Vilma_MailboxDriver_Null
  • Vilma_Test
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * Copyright 2006-2007 Alkaloid Networks <http://www.alkaloid.net>
 4:  *
 5:  * See the enclosed file LICENSE for license information (BSD). If you did
 6:  * did not receive this file, see http://cvs.horde.org/co.php/vilma/LICENSE.
 7:  *
 8:  * @author  Ben Klang <ben@alkaloid.net>
 9:  * @package Vilma
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:         /* Set up the form. */
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: 
API documentation generated by ApiGen