limittaskdate.html.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * The limitTaskDate 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('limitTaskDateForm'),
  19. set::actions(array('submit')),
  20. set::actionsClass('w-2/3'),
  21. setClass('flex-auto ml-4'),
  22. span
  23. (
  24. setClass('text-md font-bold'),
  25. $lang->custom->$module->fields['limitTaskDate']
  26. ),
  27. formGroup
  28. (
  29. set::width('2/3'),
  30. set::label($lang->custom->beginAndEndDateRange),
  31. radioList
  32. (
  33. set::name('limitTaskDate'),
  34. set::items($lang->custom->limitTaskDate),
  35. set::value(isset($config->limitTaskDate) ? $config->limitTaskDate : 0),
  36. set::inline(true)
  37. )
  38. )
  39. )
  40. );
  41. /* ====== Render page ====== */
  42. render();