ganttsetting.html.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * The ganttsetting view file of execution module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2026 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license ZPL (http://zpl.pub/page/zplv12.html)
  7. * @author Hao Sun <sunhao@chandao.com>
  8. * @package execution
  9. * @version $Id: editrelation.html.php 935 2024-08-08 15:14:24Z $
  10. * @link https://www.zentao.net
  11. */
  12. namespace zin;
  13. modalHeader(set::title($lang->execution->ganttSetting));
  14. formPanel
  15. (
  16. formGroup
  17. (
  18. set::name('zooming'),
  19. set::label($lang->execution->gantt->format),
  20. set::value($zooming ? $zooming : 'day'),
  21. set::control(['control' => 'radioList', 'inline' => true]),
  22. set::items($lang->execution->gantt->zooming)
  23. ),
  24. formGroup
  25. (
  26. set::name('ganttFields[]'),
  27. set::label($lang->customField),
  28. set::value(explode(',', $showFields)),
  29. set::control(['control' => 'checkList', 'inline' => true]),
  30. set::items($customFields)
  31. )
  32. );