2013-08-26 10:56:23 -04:00
|
|
|
<?php
|
2015-02-04 04:46:36 -05:00
|
|
|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
2013-08-26 10:56:23 -04:00
|
|
|
|
2014-11-14 04:57:14 -05:00
|
|
|
namespace Icinga\Forms;
|
2013-08-26 10:56:23 -04:00
|
|
|
|
|
|
|
|
use Icinga\Web\Form;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Form for confirming removal of an object
|
|
|
|
|
*/
|
|
|
|
|
class ConfirmRemovalForm extends Form
|
|
|
|
|
{
|
|
|
|
|
/**
|
2015-05-19 11:24:05 -04:00
|
|
|
* Initialize this form
|
2013-08-26 10:56:23 -04:00
|
|
|
*/
|
2014-07-24 10:20:01 -04:00
|
|
|
public function init()
|
2013-08-26 10:56:23 -04:00
|
|
|
{
|
2014-07-24 10:20:01 -04:00
|
|
|
$this->setName('form_confirm_removal');
|
2015-01-19 05:26:23 -05:00
|
|
|
$this->setSubmitLabel($this->translate('Confirm Removal'));
|
2013-08-26 10:56:23 -04:00
|
|
|
}
|
|
|
|
|
}
|