discuz最简单的运行代码方法 9 s8 t2 v4 l( u5 l
打开source/language/forum/lang_template.php 0 K0 q) |/ u; T \; c
3 M& U8 `( T( f: J) W* ?
查找 discuzcode_copyclipboard' => '复制代码', " j- b1 d E/ Z3 @0 o. P, b0 }
4 J' K4 n- M& `/ w: P( \
替换为 discuzcode_copyclipboard' => '复制代码 <a href="html.html" target="_blank"><u><b>运行代码</b></u></a>',
7 ?* P% P9 u n) X) q; }- c
9 n, p# I3 q' F4 U8 d: _7 J; Q: L然后上传html.html到论坛根目录 更新缓存即可 : a$ N8 m, n8 \# a" ^% W
& x# q/ ]6 k9 X+ p1 ]
7 n, I5 w2 U9 w, s
html.html
(1.88 KB, 下载次数: 11)
|