batchcreate.html.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. /**
  3. * The batchCreate view file of design 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 design
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. jsVar('type', strtolower($type));
  12. /* ====== Define the page structure with zin widgets ====== */
  13. formBatchPanel
  14. (
  15. formBatchItem
  16. (
  17. set::name('id'),
  18. set::label($lang->idAB),
  19. set::control('index'),
  20. set::width('32px')
  21. ),
  22. formBatchItem
  23. (
  24. set::name('story'),
  25. set::label($lang->design->story),
  26. set::control('picker'),
  27. set::items($stories),
  28. set::width('200px'),
  29. set::ditto(true)
  30. ),
  31. formBatchItem
  32. (
  33. set::name('type'),
  34. set::label($lang->design->type),
  35. set::control('picker'),
  36. set::items($lang->design->typeList),
  37. set::width('200px'),
  38. set::ditto(true)
  39. ),
  40. formBatchItem
  41. (
  42. set::name('name'),
  43. set::label($lang->design->name),
  44. set::width('240px')
  45. ),
  46. formBatchItem
  47. (
  48. set::name('desc'),
  49. set::label($lang->design->desc),
  50. set::control('textarea'),
  51. set::width('240px')
  52. )
  53. );
  54. /* ====== Render page ====== */
  55. render();