batchedit.html.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. /* ====== Define the page structure with zin widgets ====== */
  12. formBatchPanel
  13. (
  14. set::id('gapanalysisBatchEditForm'),
  15. set::title($lang->gapanalysis->batchEdit),
  16. set::mode('edit'),
  17. set::data(array_values($gapanalysises)),
  18. formBatchItem
  19. (
  20. set::name('id'),
  21. set::label($lang->idAB),
  22. set::control('hidden'),
  23. set::hidden(true)
  24. ),
  25. formBatchItem
  26. (
  27. set::name('id'),
  28. set::label($lang->idAB),
  29. set::control('index'),
  30. set::width('64px')
  31. ),
  32. formBatchItem
  33. (
  34. set::name('realname'),
  35. set::label($lang->gapanalysis->account),
  36. set::disabled(true)
  37. ),
  38. formBatchItem
  39. (
  40. set::name('account'),
  41. set::label($lang->gapanalysis->account),
  42. set::hidden(true)
  43. ),
  44. formBatchItem
  45. (
  46. set::name('role'),
  47. set::label($lang->gapanalysis->role),
  48. set::disabled(true)
  49. ),
  50. formBatchItem
  51. (
  52. set::name('needTrain'),
  53. set::label($lang->gapanalysis->needTrain),
  54. set::control('picker'),
  55. set::items($lang->gapanalysis->needTrainList)
  56. )
  57. );
  58. /* ====== Render page ====== */
  59. render();