国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
880B

  1. <?php
  2. /**
  3. * 文件管理器
  4. *
  5. * @version $Id: templets_tagsource.php 1 23:44 2010年7月20日Z tianya $
  6. * @package DedeBIZ.Administrator
  7. * @copyright Copyright (c) 2020, DedeBIZ.COM
  8. * @license https://www.dedebiz.com/license
  9. * @link https://www.dedebiz.com
  10. */
  11. require_once(dirname(__FILE__) . '/config.php');
  12. CheckPurview('plus_文件管理器');
  13. $libdir = DEDEINC . '/taglib';
  14. $helpdir = DEDEINC . '/taglib/help';
  15. //获取默认文件说明信息
  16. function GetHelpInfo($tagname)
  17. {
  18. global $helpdir;
  19. $helpfile = $helpdir . '/' . $tagname . '.txt';
  20. if (!file_exists($helpfile)) {
  21. return '该标签没帮助信息';
  22. }
  23. $fp = fopen($helpfile, 'r');
  24. $helpinfo = fgets($fp, 64);
  25. fclose($fp);
  26. return $helpinfo;
  27. }
  28. include DedeInclude('templets/templets_tagsource.htm');