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

23 lines
750B

  1. <?php
  2. if (!defined('DEDEINC')) exit ('dedebiz');
  3. /**
  4. * 演示标签
  5. *
  6. * @version $id:demotag.lib.php 9:29 2010年7月6日 tianya $
  7. * @package DedeBIZ.Taglib
  8. * @copyright Copyright (c) 2022 DedeBIZ.COM
  9. * @license GNU GPL v2 (https://www.dedebiz.com/license)
  10. * @link https://www.dedebiz.com
  11. */
  12. function lib_demotag(&$ctag, &$refObj)
  13. {
  14. global $dsql, $envs;
  15. $attlist = "row|10,titlelen|24";
  16. FillAttsDefault($ctag->CAttribute->Items, $attlist);
  17. extract($ctag->CAttribute->Items, EXTR_SKIP);
  18. $revalue = '';
  19. //您需编写的代码,不能用echo之类语法,把最终返回值传给$revalue
  20. $revalue = '您好,欢迎使用DedeBIZ';
  21. return $revalue;
  22. }
  23. ?>