2013-08-26 16:56:23 +02:00
|
|
|
<?php
|
2015-02-04 10:46:36 +01:00
|
|
|
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
|
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
|
|
|
|
{
|
|
|
|
/**
|
2015-05-19 17:24:05 +02:00
|
|
|
* Initialize 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-05-19 17:25:48 +02:00
|
|
|
$this->getSubmitLabel() ?: $this->setSubmitLabel($this->translate('Confirm Removal'));
|
2013-08-26 16:56:23 +02:00
|
|
|
}
|
|
|
|
}
|