execution.html.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * The execution view file of custom 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 custom
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. include 'sidebar.html.php';
  12. div
  13. (
  14. setClass('flex'),
  15. $sidebarMenu,
  16. formPanel
  17. (
  18. setID('closedExecutionForm'),
  19. set::actions(array('submit')),
  20. set::actionsClass('w-2/3'),
  21. setClass('flex-auto'),
  22. $config->vision == 'lite' ? null : setClass('ml-4'),
  23. span
  24. (
  25. setClass('text-md font-bold'),
  26. $lang->custom->closeSetting
  27. ),
  28. formGroup
  29. (
  30. set::width('2/3'),
  31. setClass('closed-execution-box'),
  32. set::label($lang->custom->closedExecution),
  33. radioList
  34. (
  35. set::name('execution'),
  36. set::items($lang->custom->CRExecution),
  37. set::value(isset($config->CRExecution) ? $config->CRExecution : 0),
  38. set::inline(true)
  39. )
  40. ),
  41. formGroup
  42. (
  43. set::label(''),
  44. span
  45. (
  46. icon('info text-warning mr-2'),
  47. $lang->custom->notice->readOnlyOfExecution
  48. )
  49. )
  50. )
  51. );
  52. /* ====== Render page ====== */
  53. render();