discuz最简单的运行代码方法
% X; `2 ~4 E Q/ G: a打开source/language/forum/lang_template.php
+ n- K2 K# P, w/ v- _% p5 E) {7 F. ~( y' g+ I" k+ m, X, s; ^* {" p
查找 discuzcode_copyclipboard' => '复制代码',
2 I8 ?4 S6 j. W( b! p7 e3 z T5 s S* Q
替换为 discuzcode_copyclipboard' => '复制代码 <a href="html.html" target="_blank"><u><b>运行代码</b></u></a>',) R+ J) _0 q- w% r- g2 C
5 X' j& V1 ^! h/ o& p& L% Y& \. k6 [+ [然后上传html.html到论坛根目录 更新缓存即可
/ t% j5 ]! d! {9 H, \
: x |: U; S! H2 X; K3 y4 T7 r9 T8 |( X; Q7 c* O
html.html
(1.88 KB, 下载次数: 11)
|
|