ajaxcustom.html.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. /**
  3. * The ajaxCustom view file of programplan 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 programplan
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. formPanel
  12. (
  13. setID('ajaxCustomForm'),
  14. set::title($lang->programplan->settingGantt),
  15. formGroup
  16. (
  17. set::label($lang->execution->gantt->format),
  18. radioList
  19. (
  20. set::name('zooming'),
  21. set::items($lang->execution->gantt->zooming),
  22. set::value($zooming ? $zooming : 'day'),
  23. set::inline(true)
  24. )
  25. ),
  26. formGroup
  27. (
  28. set::label($lang->programplan->viewSetting),
  29. checkList
  30. (
  31. set::name('stageCustom[]'),
  32. set::items($lang->programplan->stageCustom),
  33. set::value($stageCustom),
  34. set::inline(true)
  35. )
  36. ),
  37. formGroup
  38. (
  39. setClass('customField'),
  40. set::label($lang->customField),
  41. checkList
  42. (
  43. set::name('ganttFields[]'),
  44. set::items($customFields),
  45. set::value($showFields),
  46. set::inline(true)
  47. )
  48. )
  49. );