create.html.php 799 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * The create view file of tree 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 Yuting Wang<wangyuting@easycorp.ltd>
  7. * @package tree
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. formPanel
  12. (
  13. setID('createForm'),
  14. set::title($title),
  15. set::labelWidth('120px'),
  16. formGroup
  17. (
  18. set::required(true),
  19. set::label($lang->tree->name),
  20. set::name('name'),
  21. set::control('input')
  22. ),
  23. formGroup
  24. (
  25. set::label($lang->tree->short),
  26. set::name('short'),
  27. set::control('input')
  28. )
  29. );