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

  1. <?php
  2. /**
  3. * 文件管理器
  4. *
  5. * @version $id:templets_tagsource.php 23:44 2010年7月20日 tianya $
  6. * @package DedeBIZ.Administrator
  7. * @copyright Copyright (c) 2022 DedeBIZ.COM
  8. * @license https://www.dedebiz.com/license
  9. * @link https://www.dedebiz.com
  10. */
  11. require_once(dirname(__FILE__).'/config.php');
  12. if (DEDEBIZ_SAFE_MODE) {
  13. die(DedeAlert("系统已启用安全模式,无法使用当前功能",ALERT_DANGER));
  14. }
  15. CheckPurview('plus_文件管理器');
  16. $libdir = DEDEINC.'/taglib';
  17. $helpdir = DEDEINC.'/taglib/help';
  18. //获取默认文件说明信息
  19. function GetHelpInfo($tagname)
  20. {
  21. global $helpdir;
  22. $helpfile = $helpdir.'/'.$tagname.'.txt';
  23. if (!file_exists($helpfile)) {
  24. return '该标签没帮助信息';
  25. }
  26. $fp = fopen($helpfile, 'r');
  27. $helpinfo = fgets($fp, 64);
  28. fclose($fp);
  29. return $helpinfo;
  30. }
  31. include DedeInclude('templets/templets_tagsource.htm');
  32. ?>