Simple code box

A perfect place for code snippets to small to be a MOD or a library.
Or for examples on how to use our libraries.
Post Reply
User avatar
bonelifer
Administrator
Administrator
Posts: 476
Joined: 24 Jun 2006, 17:48
Real name: William
Location: htpc.MythBuntu

Simple code box

Post by bonelifer »

This post was originally posted by Kenny at 6 String MODs.

Requested by [url=http://www.phpbb.com/community/memberlist.php?mode=viewprofile&u=755505]ProAktiv[/url] in [url=http://www.phpbb.com/community/viewtopic.php?f=72&t=1483145]this topic[/url] on phpbb.com
Simply removes the header on the code box. Saves a bit of space :)

OPEN: styles/prosilver/template/bbcode.html
FIND:

Code: Select all

<!-- BEGIN code_open --><dl class="codebox"><dt>{L_CODE}: <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></dt><dd><code><!-- END code_open -->
<!-- BEGIN code_close --></code></dd></dl><!-- END code_close -->

REPLACE WITH:

Code: Select all

<!-- BEGIN code_open --><dl class="codebox"><dd><code><!-- END code_open -->
<!-- BEGIN code_close --></code></dd></dl><!-- END code_close -->
Post Reply