browsebackup.html.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * The browsebackup view file of system 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 Zeng Gang<zenggang@easycorp.ltd>
  7. * @package system
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. $backups = initTableData($backups, $config->system->dtable->backup->fieldList, $this->system);
  12. panel
  13. (
  14. set::size('lg'),
  15. set::title($lang->backup->history),
  16. to::headingActions
  17. (
  18. a
  19. (
  20. setClass('btn primary'),
  21. icon('copy'),
  22. set::href($this->createLink('system', 'backupPlatform')),
  23. set::target('hiddenwin'),
  24. $lang->backup->backup,
  25. set('data-toggle', 'modal')
  26. )
  27. ),
  28. div
  29. (
  30. setStyle('width', '66.6%'),
  31. dtable
  32. (
  33. set::cols($config->system->dtable->backup->fieldList),
  34. set::data($backups)
  35. )
  36. )
  37. );
  38. render();