copy.html.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * The copy view file of group 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 Yanyi Cao<caoyanyi@easycorp.ltd>
  8. * @package group
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. modalHeader(set::title($lang->group->copy));
  13. formPanel
  14. (
  15. formGroup
  16. (
  17. set::label($lang->group->name),
  18. set::required(true),
  19. input
  20. (
  21. set::name('name'),
  22. set::value($group->name)
  23. )
  24. ),
  25. formGroup
  26. (
  27. set::label($lang->group->desc),
  28. textarea
  29. (
  30. set::name('desc'),
  31. set::value($group->desc),
  32. set::rows('5')
  33. )
  34. ),
  35. formGroup
  36. (
  37. set::label($lang->group->option),
  38. checkList
  39. (
  40. set::name('options[]'),
  41. set::inline(true),
  42. set::items($lang->group->copyOptions)
  43. )
  44. )
  45. );