batchedit.html.php 1.1 KB

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * The batchEdit view file of process 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 Guangming Sun <sunguangming@easycorp.ltd>
  7. * @package process
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. $items = array();
  12. $items[] = array('name' => 'id', 'label' => $lang->idAB, 'width' => '32px', 'control' => 'index');
  13. $items[] = array('name' => 'module', 'label' => $lang->process->module, 'width' => '200px', 'control' => 'picker', 'items' => $modules, 'required' => true);
  14. $items[] = array('name' => 'name', 'label' => $lang->process->name, 'width' => '240px', 'required' => true);
  15. $items[] = array('name' => 'abbr', 'label' => $lang->process->abbr, 'width' => '200px');
  16. formBatchPanel
  17. (
  18. to::heading(div
  19. (
  20. setClass('panel-title text-lg'),
  21. $lang->process->batchEdit
  22. )),
  23. set::mode('edit'),
  24. set::items($items),
  25. set::data(array_values($processes))
  26. );