discuz最简单的运行代码方法
% g l- H& [8 K+ }: L6 i e* {打开source/language/forum/lang_template.php
. m1 N. l( l9 o8 S7 W1 t% v) x2 z. B; D+ b8 {7 |
查找 discuzcode_copyclipboard' => '复制代码',
' @& V1 }3 k- ^# j5 b, x/ y3 M/ [1 ]9 n: ?' `
替换为 discuzcode_copyclipboard' => '复制代码 <a href="html.html" target="_blank"><u><b>运行代码</b></u></a>', ! l* ~3 e! o; T2 p! t( k' G" x
+ W3 f8 X# E( m; _' r然后上传html.html到论坛根目录 更新缓存即可 7 } N0 X. I& J+ P
( Z: w' ]4 m( d! m
. y5 J- x1 E, h. B; @& W
html.html
(1.88 KB, 下载次数: 11)
|