国内流行的内容管理系统(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.

32 lines
866B

  1. <?php
  2. /**
  3. * 文件管理器
  4. *
  5. * @version $Id: templets_tagsource.php 1 23:44 2010年7月20日Z tianya $
  6. * @package DedeCMS.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. {
  22. return '该标签没帮助信息';
  23. }
  24. $fp = fopen($helpfile,'r');
  25. $helpinfo = fgets($fp,64);
  26. fclose($fp);
  27. return $helpinfo;
  28. }
  29. include DedeInclude('templets/templets_tagsource.htm');