addcategory.html.php 927 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * The addCategory view file of weekly module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2025 禅道软件(青岛)有限公司(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@chandao.com>
  7. * @package weekly
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. formPanel
  12. (
  13. detailHeader
  14. (
  15. to::title
  16. (
  17. entityLabel
  18. (
  19. setClass('text-xl font-black'),
  20. set::level(1),
  21. set::text($lang->weekly->addCategory)
  22. )
  23. )
  24. ),
  25. setID('addForm'),
  26. set::submitBtnText($lang->save),
  27. formGroup
  28. (
  29. set::required(true),
  30. set::name('name'),
  31. set::label($lang->weekly->categoryName),
  32. set::control('input')
  33. )
  34. );