discuz最简单的运行代码方法
: S; e# j( r: w( }$ P, o5 _9 N打开source/language/forum/lang_template.php . }! s& o4 g5 d. ~
6 t2 t% r# \$ [% H& e0 p查找 discuzcode_copyclipboard' => '复制代码', . `! P5 N. n2 }, j
! Z6 l, D; O2 ?! e3 H2 _替换为 discuzcode_copyclipboard' => '复制代码 <a href="html.html" target="_blank"><u><b>运行代码</b></u></a>',
/ o8 ^% \% n7 R4 e0 l+ D$ G& X4 e7 x5 y1 p, n: f+ H) B
然后上传html.html到论坛根目录 更新缓存即可
* i$ e& K7 g' t9 y
8 h6 G2 Z1 n* p% M9 S( ]% Y' n* h1 O6 ~
html.html
(1.88 KB, 下载次数: 11)
|