safe.html.php 723 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * The safe view file of extension 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 Tingting Dai <daitingting@easycorp.ltd>
  7. * @package extension
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. panel
  12. (
  13. p
  14. (
  15. setClass('text-danger mb-3'),
  16. html($error)
  17. ),
  18. btn
  19. (
  20. on::click(isInModal() ? "loadModal('', '', {loadingClass: ''})" : "loadCurrentPage"),
  21. set::type('primary'),
  22. $lang->extension->refreshPage
  23. )
  24. );
  25. render();