confirmdemandunlink.html.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * The UI file of story module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(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 Hucheng Tang <tanghucheng@easycorp.ltd>
  8. * @package story
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. modalHeader(set::title(sprintf($lang->story->confirmUnlinkTip, $lang->$objectType->common)));
  13. foreach($stories as $story)
  14. {
  15. div
  16. (
  17. set::className('panal-body border border-gray-300'),
  18. div
  19. (
  20. set::className('bg-gray-400 p-4'),
  21. div
  22. (
  23. set::className('label label-id'),
  24. $story->id
  25. ),
  26. $story->title
  27. ),
  28. div
  29. (
  30. set::className('bg-gray-100 p-4'),
  31. p("[{$lang->story->legendSpec}]"),
  32. $story->spec,
  33. p("[{$lang->story->legendVerify}]"),
  34. $story->verify
  35. )
  36. );
  37. }
  38. formPanel(formGroup
  39. (
  40. set::name('confirm'),
  41. set::value('1'),
  42. set::hidden(true)
  43. ), set::submitBtnText($lang->confirm));