this is my first modification which i have rewritten the CODE tag as DOWNLOAD tag...
the reason is simple, many warez sites basically CODE the download links to prevent URL tag and to show download links in clear manner. but after looking at DOWNLOAD bbcode, i decided to modify existing CODE bbcode as DOWNLOAD bbcode and modified it....
1. open up your style manager and click on edit templates
2. expand BBCODE Layout templates and open bbcode_code template
3. Find
and Replace with
4. that's all...
the reason is simple, many warez sites basically CODE the download links to prevent URL tag and to show download links in clear manner. but after looking at DOWNLOAD bbcode, i decided to modify existing CODE bbcode as DOWNLOAD bbcode and modified it....
1. open up your style manager and click on edit templates
2. expand BBCODE Layout templates and open bbcode_code template
3. Find
PHP:
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div>
<pre class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px inset;
width: $stylevar[codeblockwidth];
height: {$blockheight}px;
text-align: left;
overflow: auto">$code</pre>
</div>
PHP:
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="39" colspan="3">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="113" background="images/misc/down1.gif" height="39">
</td>
<td background="images/misc/down2.gif"> </td>
<td width="48" style="background: url(images/misc/down3.gif) repeat-x;" height="39">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#C0DDFF" width="10"> </td>
<td bgcolor="#C0DDFF">
<table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #007FD8" bgcolor="#FFFFFF">
<tr>
<td style="font-family: Arial; font-size: 12px; color: #707070; text-align: center">
<pre class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px inset;
width: $stylevar[codeblockwidth];
height: {$blockheight}px;
text-align: left;
background-color: #FFFFFF;
overflow: auto">$code</pre>
</td>
</tr>
</table>
</td>
<td bgcolor="#C0DDFF" width="10"> </td>
</tr>
<tr>
<td colspan="3">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td background="images/misc/down4.gif" height="11" width="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
<td bgcolor="#C0DDFF" height="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
<td background="images/misc/down5.gif" height="11" width="11">
<img border="0" src="images/misc/space.gif" width="1" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>