| 1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace ThurData\Servers\KerioEmail\App\UI\Client\Setting\Modals;
- use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Forms\InfoForm;
- use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
- use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ModalActionButtons\BaseCancelButton;
- use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseEditModal;
- class InfoModal extends BaseEditModal implements ClientArea
- {
- protected $id = 'infoModal';
- protected $name = 'infoModal';
- protected $title = 'infoModal';
- public function initContent()
- {
- $this->initIds('infoModal');
- $this->addForm(new InfoForm());
- }
- protected function initActionButtons()
- {
- if (!empty($this->actionButtons))
- {
- return $this;
- }
- $this->addActionButton(new BaseCancelButton());
- return $this;
- }
- }
|