edit.html.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. /**
  3. * The select template view file of doc module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2026 禅道软件(青岛)有限公司(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 Yue Liu<liuyue@chandao.com>
  7. * @package gapanalysis
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. formPanel
  12. (
  13. set::title($lang->gapanalysis->edit),
  14. formRow
  15. (
  16. formGroup
  17. (
  18. set::width('1/2'),
  19. set::label($lang->gapanalysis->account),
  20. set::control('picker'),
  21. set::items($users),
  22. set::name('account'),
  23. set::disabled(true),
  24. set::value($gapanalysis->account)
  25. )
  26. ),
  27. formRow
  28. (
  29. formGroup
  30. (
  31. set::width('1/2'),
  32. set::label($lang->gapanalysis->role),
  33. set::disabled(true),
  34. set::name('role'),
  35. set::value($gapanalysis->role)
  36. )
  37. ),
  38. formRow
  39. (
  40. formGroup
  41. (
  42. set::label($lang->gapanalysis->analysis),
  43. editor
  44. (
  45. set::name('analysis'),
  46. set::rows('6'),
  47. set::value($gapanalysis->analysis)
  48. )
  49. )
  50. ),
  51. formRow
  52. (
  53. formGroup
  54. (
  55. set::width('1/2'),
  56. set::label($lang->gapanalysis->needTrain),
  57. radioList
  58. (
  59. set::name('needTrain'),
  60. set::items($lang->gapanalysis->needTrainList),
  61. set::value($gapanalysis->needTrain),
  62. set::inline(true)
  63. )
  64. )
  65. )
  66. );
  67. render();