processstorychange.html.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * The UI file of story 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 Wang Yidong <yidong@easycorp.ltd>
  8. * @package story
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. modalHeader(set::title($lang->story->URChanged));
  13. div(setClass('text-gray mb-2'), icon(setClass('text-warning pr-2'), 'exclamation'), $lang->story->changeTips);
  14. foreach($changedStories as $story)
  15. {
  16. div
  17. (
  18. setClass('changedStoryBox'),
  19. entityLabel(set(array('entityID' => $story->id, 'level' => 3, 'text' => $story->title))),
  20. div
  21. (
  22. setClass('p-3'),
  23. p(setClass('text-gray pb-3'), "[{$lang->story->legendSpec}]"),
  24. html($story->spec),
  25. p(setClass('text-gray pb-3 pt-3'), "[{$lang->story->legendVerify}]"),
  26. html($story->verify)
  27. )
  28. );
  29. }
  30. div
  31. (
  32. on::click('.changeBtn', 'closeModal'),
  33. setClass('actions text-center mt-3'),
  34. btn(set::url(inlink('processstorychange', "id=$storyID&result=no")), setClass('secondary changeBtn mr-5 btn-wide ajax-submit'), $lang->story->changeList['no']),
  35. btn(set::url(inlink('change', "id=$storyID")), setClass('primary changeBtn btn-wide'), $lang->story->changeList['yes'])
  36. );
  37. render();