domainview.html.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * The domainview view file of system module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Zeng Gang<zenggang@easycorp.ltd>
  7. * @package system
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. include 'sidebar.html.php';
  12. $expiredDate = !empty($cert) ? zget($cert, 'expiredDate', '') : '';
  13. panel
  14. (
  15. set::size('lg'),
  16. set::title($lang->system->domain->common),
  17. to::headingActions
  18. (
  19. btn
  20. (
  21. setClass('primary'),
  22. setData('toggle', 'modal'),
  23. $lang->system->domain->editDomain,
  24. set::url($this->createLink('system', 'editDomain'))
  25. )
  26. ),
  27. tableData
  28. (
  29. item
  30. (
  31. set::name($lang->system->domain->currentDomain),
  32. zget($domainSettings, 'customDomain', '')
  33. ),
  34. item
  35. (
  36. set::name($lang->system->domain->expiredDate),
  37. $expiredDate
  38. )
  39. )
  40. );