create.html.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * The create view file of screen module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(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 Chenxuan Song <songchenxuan@easycorp.ltd>
  7. * @package screen
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. $biPath = $this->app->getModuleExtPath('bi', 'ui');
  12. include $biPath['common'] . 'aclbox.html.php';
  13. formPanel
  14. (
  15. setID('createForm'),
  16. set::title($title),
  17. set::submitBtnText($lang->screen->next),
  18. formRow
  19. (
  20. formGroup
  21. (
  22. set::width('1/2'),
  23. set::name('name'),
  24. set::label($lang->screen->name),
  25. set::required(true)
  26. )
  27. ),
  28. formRow
  29. (
  30. formGroup
  31. (
  32. set::label($lang->screen->desc),
  33. textarea
  34. (
  35. set::name('desc'),
  36. set::rows('5')
  37. )
  38. )
  39. ),
  40. $fnAclBox($lang->screen->aclList, 'open')
  41. );
  42. render();