structure.html.php 803 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * The structure 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. $appRoot = $this->app->getAppRoot();
  12. $files = json_decode($extension->files);
  13. $fileItems = array();
  14. foreach($files as $file => $md5) $fileItems[] = $appRoot . $file . "</br>";
  15. set::title($extension->name . '[' . $extension->code . ']' . $lang->extension->structure . ':');
  16. div
  17. (
  18. setClass('border bg-surface p-2'),
  19. html($fileItems)
  20. );
  21. render();