欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Discuz5.5.0代碼高亮顯示+運(yùn)行代碼框合成插件 下載第1/4頁(yè)

 更新時(shí)間:2007年07月17日 00:00:00   作者:  
主要功能:
1.幾乎支持所有程序代碼的高亮顯示,包括以下語(yǔ)言:Actionscript、ADA、Apache Log、AppleScript、ASM、ASP、AutoIT、Backus-Naur form、Bash、BlitzBasic、C、C for Macs、C#、C++、CAD DCL、CadLisp、CFDG、CFDG、ColdFusion、CSS、Delphi、DIV、DOS、Eiffel、Fortran、Fortran、FreeBasic、GML、Groovy、HTML、Inno、IO、Java、Java 5、Javascript、LaTeX、Lisp、Lua、Microprocessor ASM、mIRC、MySQL、NSIS、Objective C、OCaml、OpenOffice BASIC、Oracle 8 SQL、Pascal、Perl、PHP、PL/SQL、Python、Q(uick)BASIC、robots.txt、Ruby、SAS、Scheme、SDLBasic、Smalltalk、Smarty、SQL、T-SQL、TCL、thinBasic、Uno IDL、VB.NET、Visual BASIC、Visual Fox Pro、Winbatch、X++、XML、Z80 ASM等等。
2.代碼運(yùn)行框,含復(fù)制代碼、運(yùn)行代碼、另存代碼三項(xiàng)功能。

使用方法:
1.如果你想高亮一種語(yǔ)言代碼,可以使用下面的格式:
[languge=html]這里是HTML代碼[/language]
[languge=xml]這里是XML代碼[/language]
[languge=css]這里是CSS代碼[/language]
[languge=javascript]這里是Javascript代碼[/language]
[languge=asp]這里是ASP代碼[/language]
[languge=php]這里是PHP代碼[/language]
[languge=java]這里是Java代碼[/language]
[languge=cpp]這里是C++代碼[/language]
[languge=csharp]這里是C#代碼[/language]
[languge=mysql]這里是Mysql代碼[/language]
2.如果你只是想一段代碼可以運(yùn)行,則可以使用默認(rèn)的
復(fù)制代碼 代碼如下:
格式。

安裝方法:
1.下載解壓壓縮包,如果你使用的是默認(rèn)模板,并且以前沒(méi)有修改過(guò)以下幾個(gè)文件:
/viewthread.php
/include/discuzcode.func.php
/include/global.func.php
/include/javascript/common.js
那么,您可以直接將其解壓縮后的文件上傳到網(wǎng)站根目錄即可,其他模板可以參照后面的修改方法進(jìn)行修改。
2.如果您以前修改過(guò)其中的一些或所有文件,你可以按照以下的說(shuō)明,修改你以前修改過(guò)的文件,沒(méi)有修改過(guò)的就直接上傳覆蓋就可以了:
(1)/viewthread.php
找到:
[code]
$post['message'] = discuzcode($post['message'], $post['smileyoff'], $post['bbcodeoff'], $post['htmlon'], $forum['allowsmilies'], $forum['allowbbcode'], ($forum['allowimgcode'] && $showimages ? 1 : 0), $forum['allowhtml'], ($forum['jammer'] && $post['authorid'] != $discuz_uid ? 1 : 0), $pasetype, $post['authorid']);

改為
復(fù)制代碼 代碼如下:

$post['message'] = discuzcode($post['message'], $post['smileyoff'], $post['bbcodeoff'], $post['htmlon'], $forum['allowsmilies'], $forum['allowbbcode'], ($forum['allowimgcode'] && $showimages ? 1 : 0), $forum['allowhtml'], ($forum['jammer'] && $post['authorid'] != $discuz_uid ? 1 : 0), $pasetype, $post['authorid'],$thread['subject']);                        //-----zouql代碼運(yùn)行開(kāi)始------                        $post['message'] = preg_replace("/\s*id=\"cmsmb_htmlcode\"(.+?)textarea\s*/ies", "cmsmb_no_br('$1')", $post['message']);                        //----------------------------

相關(guān)文章

最新評(píng)論