discuz最简单的运行代码方法 % z. t/ D* F7 E5 _
打开source/language/forum/lang_template.php
4 t; L9 o2 v# _) f
, k- o+ H" T* {查找 discuzcode_copyclipboard' => '复制代码',
8 t1 y! f9 H/ w- \/ U
8 G1 o9 y& G. q t T替换为 discuzcode_copyclipboard' => '复制代码 <a href="html.html" target="_blank"><u><b>运行代码</b></u></a>', 3 J) x t( f2 s
5 T; y$ C$ d/ Y- x) t
然后上传html.html到论坛根目录 更新缓存即可 2 @' w' v* d2 v( F9 A3 j
0 r2 ?- e& V x6 f2 P5 r4 [/ K+ A" x* A& ^/ w6 ~( s" y5 |
html.html
(1.88 KB, 下载次数: 11)
|