activate.html.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. /**
  3. * The activate view file of project 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 Shujie Tian<tianshujie@easycorp.ltd>
  7. * @package project
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader();
  12. formPanel
  13. (
  14. formRow
  15. (
  16. formGroup
  17. (
  18. set::width('1/2'),
  19. set::label($lang->execution->beginAndEnd),
  20. inputGroup
  21. (
  22. datePicker
  23. (
  24. set::name('begin'),
  25. set::value($newBegin)
  26. ),
  27. $lang->execution->to,
  28. datePicker
  29. (
  30. set::control('date'),
  31. set::name('end'),
  32. set::value($newEnd)
  33. )
  34. )
  35. ),
  36. formGroup
  37. (
  38. set::width('1/2'),
  39. setClass('items-center'),
  40. checkbox(
  41. set::name('readjustTask'),
  42. set::text($lang->execution->readjustTask),
  43. set::value(1),
  44. set::rootClass('ml-4')
  45. )
  46. )
  47. ),
  48. formGroup
  49. (
  50. set::label($lang->comment),
  51. editor
  52. (
  53. set::name('comment'),
  54. set::rows('6')
  55. )
  56. )
  57. );
  58. hr();
  59. history();
  60. /* ====== Render page ====== */
  61. render();