|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?会员注册
x
 | |  | | 找到source/admincp/admincp_forums.php,打开
2 {+ Y; c% d9 w. k3 a' \4 k1、查找: - showsetting('forums_edit_basic_description', 'descriptionnew', str_replace('&', '&', html2bbcode($forum['description'])), 'textarea');
复制代码修改为: - showsetting('forums_edit_basic_description', 'descriptionnew', str_replace('&', '&', $forum['description']), 'textarea');
复制代码2、再查找: - showsetting('forums_edit_basic_rules', 'rulesnew', str_replace('&', '&', html2bbcode($forum['rules'])), 'textarea');
复制代码修改为: - showsetting('forums_edit_basic_rules', 'rulesnew', str_replace('&', '&', $forum['rules']), 'textarea');
复制代码3、再查找: - $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)));
复制代码修改为: - $descriptionnew = addslashes(dstripslashes($_G['gp_descriptionnew']));
复制代码4、再查找: - $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)));
复制代码修改为: - $rulesnew = addslashes(dstripslashes($_G['gp_rulesnew']));
复制代码完成
5 E7 w5 l3 ]6 i5 w4 T | |  |  |  | CooL.泪猪说: |
|