7年前 (2011-03-21)  Wordpress 评论关闭  0 
文章评分 0 次,平均分 0.0

原作:http://www.discuz.net/thread-1599442-1-1.html
打开:/source/admincp/admincp_forums.php
查找:

  1. showsetting('forums_edit_basic_description', 'descriptionnew', html2bbcode($forum['description']), 'textarea');

复制代码

改成:

  1. showsetting('forums_edit_basic_description', 'descriptionnew', $forum['description'], 'textarea');

复制代码

查找:

  1. showsetting('forums_edit_basic_rules', 'rulesnew', html2bbcode($forum['rules']), 'textarea');

复制代码

改成:

  1. showsetting('forums_edit_basic_rules', 'rulesnew', $forum['rules'], 'textarea');

复制代码

查找:

  1. $descriptionnew = addslashes(preg_replace('/on(mousewheel|mouseover|click|load|onload|submit|focus|blur)="[^"]*"/i', '', discuzcode(dstripslashes($_G['gp_descriptionnew']), 1, 0, 0, 0, 1, 1, 0, 0, 1)));

复制代码

改成:

  1. $descriptionnew = addslashes(dstripslashes($_G['gp_descriptionnew']));

复制代码

查找:

  1. $rulesnew = addslashes(preg_replace('/on(mousewheel|mouseover|click|load|onload|submit|focus|blur)="[^"]*"/i', '', discuzcode(dstripslashes($_G['gp_rulesnew']), 1, 0, 0, 0, 1, 1, 0, 0, 1)));

复制代码

改成:

  1. $rulesnew = addslashes(dstripslashes($_G['gp_rulesnew']));

复制代码

一朋友要求移植到DX上,研究了下,共享办法吧.

  
 

除特别注明外,本站所有文章均为零度工作室原创,转载请注明出处来自http://ldww.cn/1196.html

关于
切换注册

登录

忘记密码 ?

切换登录

注册

扫一扫二维码分享