Mr.Ip
Administrator
Installation:
Add the following code to additional.css
Change the following template codes with the original:
bbcode_code:
bbcode_html:
bbcode_php:
Sample Image
Add the following code to additional.css
Mã:
.bbcquote{
background: #FFFFFF;
border: 1px solid #C2CFDF;
border-top: 4px solid #C2CFDF;
color: #333366;
padding: 5px;
font-size: 12px;
}
.bbcquotetitle{
font-weight: bold;
font-size: 10px;
border: 0px;
border-bottom: 1px dashed #003366;
color: #003366;
padding-bottom: 3px;
margin-bottom: 5px;
}
.bbcphp{
background: #FFFFFF;
border: 1px solid #FFCC33;
border-top: 4px solid #FFCC33;
color: #333366;
padding: 5px;
font-size: 12px;
}
.bbcphptitle{
font-weight: bold;
font-size: 10px;
border: 0px;
border-bottom: 1px dashed #FF9900;
color: #FF9900;
padding-bottom: 3px;
margin-bottom: 5px;
}
.bbchtml{
background: #FFFFFF;
border: 1px solid #339900;
border-top: 4px solid #339900;
color: #000000;
padding: 5px;
font-size: 12px;
}
.bbchtmltitle{
font-weight: bold;
font-size: 10px;
border: 0px;
border-bottom: 1px dashed #006600;
color: #006600;
padding-bottom: 3px;
margin-bottom: 5px;
}
.bbccode{
background: #FFFFFF;
border: 1px solid #FF3300;
border-top: 4px solid #FF3300;
color: #000000;
padding: 5px;
font-size: 12px;
}
.bbccodetitle{
font-weight: bold;
font-size: 10px;
border: 0px;
border-bottom: 1px dashed #CC0000;
color: #CC0000;
padding-bottom: 3px;
margin-bottom: 5px;
}
Change the following template codes with the original:
bbcode_code:
Mã:
<div class="bbccode" style="width:$stylevar[codeblockwidth];">
<div class="bbccodetitle">$vbphrase[ code]:</div>
<pre style="margin:0px; padding:$stylevar[codeblockwidth]px; width:$stylevar[codeblockwidth]; overflow:auto"><div dir="ltr">$code</div></pre>
</div>
<br />
bbcode_html:
HTML:
<div class="bbchtml" style="width:$stylevar[codeblockwidth];">
<div class="bbchtmltitle">$vbphrase[html_code]:</div>
<pre style="margin:0px; padding:$stylevar[codeblockwidth]px; width:$stylevar[codeblockwidth]; overflow:auto"><div dir="ltr">$code</div></pre>
</div><br />
bbcode_php:
PHP:
<div class="bbcphp" style="width:$stylevar[codeblockwidth];">
<div class="bbcphptitle">$vbphrase[php_code]:</div>
<pre style="margin:0px; padding:$stylevar[codeblockwidth]px; width:$stylevar[codeblockwidth]; overflow:auto"><div dir="ltr"><code style="white-space:nowrap"><!-- php buffer start -->$code<!-- php buffer end -->
</code>
</div></pre>
</div>
<br />
Sample Image