activate.html.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. /**
  3. * The activate view file of bug 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 Gang Liu <liugang@easycorp.ltd>
  7. * @package bug
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. modalHeader();
  12. formPanel
  13. (
  14. formGroup
  15. (
  16. set::width('1/3'),
  17. set::label($lang->bug->assignedTo),
  18. picker
  19. (
  20. set::name('assignedTo'),
  21. set::value($bug->resolvedBy),
  22. set::items($users)
  23. )
  24. ),
  25. formGroup
  26. (
  27. set::width('1/2'),
  28. set::label($lang->bug->openedBuild),
  29. set::required(true),
  30. picker
  31. (
  32. set::name('openedBuild[]'),
  33. set::value($bug->openedBuild),
  34. set::items($builds),
  35. set::multiple(true)
  36. ),
  37. input
  38. (
  39. set::name('status'),
  40. set::value('active'),
  41. set::className('hidden')
  42. )
  43. ),
  44. formGroup
  45. (
  46. set::label($lang->comment),
  47. editor
  48. (
  49. set::name('comment'),
  50. set::rows(6)
  51. )
  52. ),
  53. formGroup
  54. (
  55. set::label($lang->bug->files),
  56. fileSelector()
  57. )
  58. );
  59. hr();
  60. history();
  61. render();