DX1.5论坛版块简介支持html的修改方法
找到source/admincp/admincp_forums.php,打开1、查找showsetting('forums_edit_basic_description', 'descriptionnew', str_replace('&', '&', html2bbcode($forum['description'])), 'textarea');修改为:showsetting('forums_edit_basic_description', 'descriptionnew', str_replace('&', '&', $forum['description']), 'textarea');在查找showsetting('forums_edit_basic_rules', 'rulesnew', str_replace('&', '&', html2bbcode($forum['rules'])), 'textarea');修改为:showsetting('forums_edit_basic_rules', 'rulesnew', str_replace('&', '&', $forum['rules']), 'textarea');在查找$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']));在查找$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']));**** Hidden Message *****
页:
[1]