2013-08-26 16:56:23 +02:00
|
|
|
<?php
|
2015-02-03 16:27:59 +01:00
|
|
|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | http://www.gnu.org/licenses/gpl-2.0.txt */
|
2013-08-26 16:56:23 +02:00
|
|
|
|
2014-11-14 10:57:14 +01:00
|
|
|
namespace Icinga\Forms;
|
2013-08-26 16:56:23 +02:00
|
|
|
|
|
|
|
use Icinga\Web\Form;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Form for confirming removal of an object
|
|
|
|
*/
|
|
|
|
class ConfirmRemovalForm extends Form
|
|
|
|
{
|
|
|
|
/**
|
2014-07-24 16:20:01 +02:00
|
|
|
* Initalize this form
|
2013-08-26 16:56:23 +02:00
|
|
|
*/
|
2014-07-24 16:20:01 +02:00
|
|
|
public function init()
|
2013-08-26 16:56:23 +02:00
|
|
|
{
|
2014-07-24 16:20:01 +02:00
|
|
|
$this->setName('form_confirm_removal');
|
2015-01-19 11:26:23 +01:00
|
|
|
$this->setSubmitLabel($this->translate('Confirm Removal'));
|
2013-08-26 16:56:23 +02:00
|
|
|
}
|
|
|
|
}
|