create.html.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * The create view file of gitea module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  6. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Ke Zhao<zhaoke@easycorp.ltd>
  8. * @package gitea
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. formPanel
  13. (
  14. set::id('giteaCreateForm'),
  15. set::title($lang->gitea->lblCreate),
  16. formRow
  17. (
  18. formGroup
  19. (
  20. set::name('name'),
  21. set::label($lang->gitea->name),
  22. set::value($gitea->name)
  23. )
  24. ),
  25. formRow
  26. (
  27. formGroup
  28. (
  29. set::name('url'),
  30. set::label($lang->gitea->url),
  31. set::value($gitea->url)
  32. )
  33. ),
  34. formRow
  35. (
  36. formGroup
  37. (
  38. set::name('token'),
  39. set::label($lang->gitea->token),
  40. set::value($gitea->token)
  41. )
  42. )
  43. );