Mohammad Kamal
01-14-2013, 11:00 PM
Hello,
Here is a new simple design for [php] tags
Hope you like it!
Screenshot:
https://vborg.vbsupport.ru/attachment.php?attachmentid=143316&stc=1&d=1358249392
*Take a backup before editing any template.
open bbcode_code template, and replace it with:
[CODE]<div style="margin:20px; margin-top:5px">
<strong style="color:#8CC8FF; padding:6px; display:block; font-size:10px; border: 1px solid; background-color: #CDE7FF; width: 700px; font-size: 13px;">CODE:</strong>
<pre class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px solid #8CC8FF;
width: 700px;
max-height: 400px;
text-align: left;
font-size: 13px;
background-color: #CDE7FF;
overflow: auto">$code</pre>
</div>
then open bbcode_php template and replace it with:
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="color:#34C200; padding:6px; display:block; font-size:10px; border: 1px solid; background-color: #A5EB8B; width: 700px; font-size: 13px;">$vbphrase[php_code]:</div>
<div class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px solid #34C200;
width: 700px;
max-height: 400px;
text-align: left;
font-size: 13px;
background-color: #A5EB8B;
overflow: auto">
<code style="white-space:nowrap">
<!-- php buffer start -->$code<!-- php buffer end -->
</code>
</div>
</div>
Here is a new simple design for [php] tags
Hope you like it!
Screenshot:
https://vborg.vbsupport.ru/attachment.php?attachmentid=143316&stc=1&d=1358249392
*Take a backup before editing any template.
open bbcode_code template, and replace it with:
[CODE]<div style="margin:20px; margin-top:5px">
<strong style="color:#8CC8FF; padding:6px; display:block; font-size:10px; border: 1px solid; background-color: #CDE7FF; width: 700px; font-size: 13px;">CODE:</strong>
<pre class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px solid #8CC8FF;
width: 700px;
max-height: 400px;
text-align: left;
font-size: 13px;
background-color: #CDE7FF;
overflow: auto">$code</pre>
</div>
then open bbcode_php template and replace it with:
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="color:#34C200; padding:6px; display:block; font-size:10px; border: 1px solid; background-color: #A5EB8B; width: 700px; font-size: 13px;">$vbphrase[php_code]:</div>
<div class="alt2" dir="ltr" style="
margin: 0px;
padding: $stylevar[cellpadding]px;
border: 1px solid #34C200;
width: 700px;
max-height: 400px;
text-align: left;
font-size: 13px;
background-color: #A5EB8B;
overflow: auto">
<code style="white-space:nowrap">
<!-- php buffer start -->$code<!-- php buffer end -->
</code>
</div>
</div>