license.html.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. /**
  3. * The license 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. jsVar('nextLink', $config->inQuickon ? inlink('step5') : inlink('step1'));
  13. div
  14. (
  15. setID('main'),
  16. setClass('flex justify-center'),
  17. div
  18. (
  19. setID('mainContent'),
  20. setClass('px-1 mt-2 w-full max-w-7xl'),
  21. panel
  22. (
  23. setClass('p-8'),
  24. set::title($lang->install->license),
  25. set::titleClass('text-xl'),
  26. h::textarea
  27. (
  28. setClass('form-control'),
  29. setStyle(array('background-color' => 'unset')),
  30. set::rows('10'),
  31. set::readonly('readonly'),
  32. $license
  33. ),
  34. div
  35. (
  36. setClass('mt-2 mb-2'),
  37. checkbox
  38. (
  39. on::change('agreeChange'),
  40. set::primary(false),
  41. set::checked(true),
  42. html($lang->agreement)
  43. )
  44. ),
  45. div
  46. (
  47. setClass('text-center'),
  48. btn
  49. (
  50. setClass('px-6 btn-install'),
  51. $config->inQuickon ? set::url(inlink('step5')) : set::url(inlink('step1')),
  52. set::type('primary'),
  53. $lang->install->next
  54. )
  55. )
  56. )
  57. )
  58. );
  59. render('pagebase');