| 1234567891011121314151617181920212223242526272829 |
- <?php
- namespace ThurData\Servers\KerioEmail\Core\UI\Widget\Modals;
- /**
- * Modal for confirmation of a dangerous action
- *
- * @autor ThurData <info@thurdata.ch>
- */
- class ModalConfirmDanger extends BaseModal
- {
- protected $id = 'modalConfirmDanger';
- protected $name = 'modalConfirmDanger';
- protected $title = 'modalConfirmDanger';
-
- public function __construct($baseId = null)
- {
- parent::__construct($baseId);
-
- $this->setModalTitleTypeDanger();
- }
-
- public function preInitContent()
- {
- parent::preInitContent();
- $this->initActionButtons();
- $this->setSubmitButtonClassesDanger();
- }
- }
|