create.html.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * The create view file of gitlab 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 gitlab
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. formPanel
  13. (
  14. set::id('gitlabCreateForm'),
  15. set::title($lang->gitlab->lblCreate),
  16. formRow
  17. (
  18. formGroup
  19. (
  20. set::name('name'),
  21. set::label($lang->gitlab->name),
  22. set::value($gitlab->name),
  23. set::placeholder($lang->gitlab->placeholder->name)
  24. )
  25. ),
  26. formRow
  27. (
  28. formGroup
  29. (
  30. set::name('url'),
  31. set::label($lang->gitlab->url),
  32. set::value($gitlab->url),
  33. set::placeholder($lang->gitlab->placeholder->url)
  34. )
  35. ),
  36. formRow
  37. (
  38. formGroup
  39. (
  40. set::name('token'),
  41. set::label($lang->gitlab->token),
  42. set::value($gitlab->token),
  43. set::placeholder($lang->gitlab->placeholder->token)
  44. )
  45. )
  46. );