andre 5 месяцев назад
Родитель
Сommit
1444a2aa0b

+ 5 - 22
app/UI/Client/Setting/Modals/InfoModal.php

@@ -1,28 +1,11 @@
 <?php
-/* * ********************************************************************
-*  ProxmoxVPS Product developed. (27.03.19)
-* *
-*
-*  CREATED BY MODULESGARDEN       ->       http://modulesgarden.com
-*  CONTACT                        ->       contact@modulesgarden.com
-*
-*
-* This software is furnished under a license and may be used and copied
-* only  in  accordance  with  the  terms  of such  license and with the
-* inclusion of the above copyright notice.  This software  or any other
-* copies thereof may not be provided or otherwise made available to any
-* other person.  No title to and  ownership of the  software is  hereby
-* transferred.
-*
-*
-* ******************************************************************** */
 
-namespace ModulesGarden\Servers\ProxmoxCloudVps\App\UI\TaskHistory\Modals;
+namespace ThurData\Servers\KerioEmail\App\UI\Client\Setting\Modals;
 
-use ModulesGarden\Servers\ProxmoxCloudVps\App\UI\TaskHistory\Forms\InfoForm;
-use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Interfaces\ClientArea;
-use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Buttons\ModalActionButtons\BaseCancelButton;
-use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Modals\ModalConfirmDanger;
+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\Modals\ModalConfirmDanger;
+use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ModalActionButtons\BaseCancelButton;
 
 class InfoModal extends ModalConfirmDanger implements ClientArea
 {

+ 2 - 0
app/UI/Client/Setting/Pages/Settings.php

@@ -12,6 +12,7 @@ use ThurData\Servers\KerioEmail\Core\UI\Widget\DataTable\DataProviders\Providers
 use ThurData\Servers\KerioEmail\Core\UI\Widget\DataTable\DataTable;
 use ThurData\Servers\KerioEmail\Api\KerioWhmcs;
 use ThurData\Servers\KerioEmail\App\Libs\Product\ProductManager;
+use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Buttons\InfoButton;
 use ThurData\Servers\KerioEmail\Core\Helper\DnsHelper;
 
 /**
@@ -130,6 +131,7 @@ class Settings extends DataTable implements ClientArea
      */
     public function initContent()
     {
+        $this->addActionButton(new InfoButton());
         $this->addActionButton(new EditSettingButton());
 
     }