Back to vBulletin 3.8 Template Modifications

new simple design for [php] [code] tags
Mod Version: 1.00, by Mohammad Kamal

vB Version: 3.8.7 Rating: (1 vote - 5.00 average) Installs: 5
Released: 15 Jan 2013 Last Update: Never Downloads: 0
Not Supported Template Edits  

Hello,

Here is a new simple design for [php] [code] tags

Hope you like it!

Screenshot:



*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:

Code:
<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>

Download

No files for download.

Screenshots

Click image for larger version
Name:	1-15-2013 2-18-03 PM.png
Views:	500
Size:	4.6 KB
ID:	143316  


vblts.ru supports vBulletin®, 2022-2024