start.html.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /**
  3. * The start view file of execution module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(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 Shujie Tian<tianshujie@easycorp.ltd>
  7. * @package execution
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. $space = common::checkNotCN() ? ' ' : '';
  12. modalHeader(set::title($lang->execution->start . $space . $lang->executionCommon));
  13. formPanel
  14. (
  15. set::submitBtnText($lang->execution->start . $space . $lang->executionCommon),
  16. formGroup
  17. (
  18. set::width('1/2'),
  19. set::label($lang->execution->realBegan),
  20. set::name('realBegan'),
  21. set::control('date'),
  22. set::value(!helper::isZeroDate($execution->realBegan) ? $execution->realBegan : helper::today())
  23. ),
  24. formGroup
  25. (
  26. set::label($lang->comment),
  27. editor
  28. (
  29. set::name('comment'),
  30. set::rows('6')
  31. )
  32. )
  33. );
  34. hr();
  35. history();
  36. /* ====== Render page ====== */
  37. render();