downloadmobile.html.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /**
  3. * The download mobile view file of block 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 Yuting Wang <wangyuting@easycorp.ltd>
  7. * @package block
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. /**
  12. * 展示移动端下载页面。
  13. * Print app download page.
  14. */
  15. function printDownloadMobile()
  16. {
  17. global $lang, $config;
  18. return div
  19. (
  20. set('class', 'download-client p-4'),
  21. div
  22. (
  23. div(span($lang->block->zentaoapp->common)),
  24. div(span(set('class', 'text-sm text-gray'), $lang->block->zentaoapp->desc)),
  25. div
  26. (
  27. set('class','flex py-4'),
  28. cell
  29. (
  30. set('width', '67%'),
  31. div
  32. (
  33. set('class', 'flex'),
  34. div(img(set('src', $config->webRoot . 'theme/default/images/guide/app_index.png')), set('class', 'flex-1 pr-2')),
  35. div(img(set('src', $config->webRoot . 'theme/default/images/guide/app_execution.png')), set('class', 'flex-1 pr-2')),
  36. div(img(set('src', $config->webRoot . 'theme/default/images/guide/app_statistic.png')), set('class', 'flex-1 pr-2'))
  37. )
  38. ),
  39. cell
  40. (
  41. set('width', '32%'),
  42. div(img(set('src', $config->webRoot . 'theme/default/images/main/mobile_qrcode.png'))),
  43. div(span($lang->block->zentaoapp->downloadTip))
  44. )
  45. )
  46. )
  47. );
  48. }