create.html.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * The create file of process module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  6. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Yuting Wang<wangyuting@easycorp.ltd>
  8. * @package process
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. formPanel
  13. (
  14. set::title($title),
  15. set::layout('horz'),
  16. formGroup
  17. (
  18. set::label($lang->process->module),
  19. set::width('1/2'),
  20. picker
  21. (
  22. set::name('module'),
  23. set::items($modules),
  24. set::value($moduleID),
  25. set::required(false)
  26. )
  27. ),
  28. formGroup
  29. (
  30. set::label($lang->process->name),
  31. set::name('name'),
  32. set::width('1/2')
  33. ),
  34. formGroup(set::label($lang->process->abbr), set::name('abbr'), set::width('1/2')),
  35. formGroup
  36. (
  37. set::label($lang->process->desc),
  38. set::name('desc'),
  39. set::control('editor')
  40. )
  41. );