Discuz X2.5 更新0518造成DIY 模块模板 [order=N]...[/order] 输出错误问题解决方法
找到以下文件 source\function\function_block.php在这个文件中的function block_template($bid)方法中最后面找到 |
- $template = preg_replace('/\s*\[(order\d+)=\w+\](.*?)\[\/\\1\]\s*/is', '', $template);
- $template = preg_replace('/\s*\[(index\d+)=\w+\](.*?)\[\/\\1\]\s*/is', '', $template);
- $template = preg_replace('/\s*\[(order\d*)=\w+\](.*?)\[\/\\1\]\s*/is', '', $template);
- $template = preg_replace('/\s*\[(index\d*)=\w+\](.*?)\[\/\\1\]\s*/is', '', $template);
家装活动
- 家装攻略 | 装饰你美丽的卫生间05-26
- 家装攻略 | 高层住宅几层最好 <四>05-27
- 家装攻略 | 你家的庭院也可以这样設計噢07-08