setstoryconcept.html.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * The setStoryConcept view file of custom 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 custom
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. formBatchPanel
  12. (
  13. set::formClass('border-0'),
  14. set::title($lang->custom->setStoryConcept),
  15. set::minRows(1),
  16. set::maxRows(1),
  17. $config->enableER ? formBatchItem
  18. (
  19. set::width('1/3'),
  20. set::label($lang->custom->ERConcept),
  21. set::name('ERName')
  22. ) : null,
  23. $config->URAndSR ? formBatchItem
  24. (
  25. set::width('1/3'),
  26. set::label($lang->custom->URConcept),
  27. set::name('URName')
  28. ) : null,
  29. formBatchItem
  30. (
  31. set::width('1/3'),
  32. set::label($lang->custom->SRConcept),
  33. set::name('SRName')
  34. )
  35. );
  36. /* ====== Render page ====== */
  37. render();