ChangePasswordButton.php 914 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Buttons;
  3. use ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Modals\ChangePasswordModal;
  4. use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
  5. use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;
  6. use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\DropdawnButtonWrappers\ButtonDropdownItem;
  7. /**
  8. *
  9. * Created by PhpStorm.
  10. * User: Tomasz Bielecki ( tomasz.bi@thurdata.com )
  11. * Date: 08.11.19
  12. * Time: 12:07
  13. * Class ChangePassword
  14. */
  15. class ChangePasswordButton extends ButtonDropdownItem implements ClientArea
  16. {
  17. protected $id = 'changePassword';
  18. protected $title = 'changePassword';
  19. protected $icon = 'lu-dropdown__link-icon lu-btn__icon lu-zmdi lu-zmdi-lock';
  20. public function initContent()
  21. {
  22. $this->initLoadModalAction(new ChangePasswordModal());
  23. }
  24. }