step6.html.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?php
  2. /**
  3. * The step6 view file of install 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 Mengyi Liu <liumengyi@easycorp.ltd>
  7. * @package install
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. set::zui(true);
  12. $isVIP = $config->edition == 'biz' ? 'VIP' : '';
  13. $joinZentao = ($installFileDeleted ? $lang->install->successLabel : $lang->install->successNoticeLabel) . $lang->install->joinZentao;
  14. $joinZentao = nl2br(sprintf($joinZentao, $isVIP, $config->version, $this->createLink('admin', 'register'), $this->createLink('admin', 'bind'), inlink('step6')));
  15. div
  16. (
  17. set::id('main'),
  18. div
  19. (
  20. set::id('mainContent'),
  21. panel
  22. (
  23. setClass('p-2'),
  24. set::title($lang->install->success),
  25. cell
  26. (
  27. setClass('flex mb-4'),
  28. icon
  29. (
  30. setClass('text-success mx-4'),
  31. set::size('3x'),
  32. 'check-circle'
  33. ),
  34. cell
  35. (
  36. html($joinZentao)
  37. )
  38. ),
  39. cell
  40. (
  41. setClass('flex justify-center'),
  42. btn
  43. (
  44. setClass('px-4'),
  45. set::url($lang->install->officeDomain),
  46. set::type('success'),
  47. $lang->install->register
  48. ),
  49. cell
  50. (
  51. setClass('flex items-center text-gray px-2'),
  52. $lang->install->or
  53. ),
  54. btn
  55. (
  56. setClass('px-4'),
  57. set::target('_self'),
  58. set::url('index.php'),
  59. set::type('primary'),
  60. $lang->install->login
  61. )
  62. )
  63. )
  64. )
  65. );
  66. render('pagebase');