If you are like me and have updated your themes from 9.0 to 9.1 and found that your quoting format is borked it's because they've introduced new css classes into 9.1 that must be added.
In your theme's style.css file replace all of this:
Code:
.code,.quote {
border: #D1D7DC;
border-style: solid;
border-width: 1px;
background: #FAFAFA;
}
.code {
color: #060;
font: 11px Courier, 'Courier New', sans-serif;
}
.quote {
color: #444;
font: 11px/125%;
}
with this:
Code:
.bbhead, .bbchead, .bbphphead {
color:#006699;
background-color: #66ccff;
font: bold 12px Verdana, Helvetica, sans-serif;
border-left: 1px solid #000;
border-right: 1px solid #000;
border-top: 1px solid #000;
display:inline;
padding:0px 4px 0px 4px;
margin: 0px 20px 0px 20px;
position:relative;
text-align:left;
}
.code, .quote, .bbcontent, .bbccontent, .bbphpcontent {
color: #000;
background-color: #FAFAFA;
border: 1px solid #000;
padding:4px;
overflow: auto;
max-height: 250px;
margin: 0px 20px 0px 20px;
}
Please note that I'm not including the rounded corners of the quote labels as seen in the base Dragonfly Theme because it's non-compliant code.
You'll also need the bbcode.inc file. If you can't find one from another theme then put this in a blank file and rename it bbcode.inc. The file goes in your theme's root directory. Such as themes/TCD_Default/bbcode.inc. Notice there is no ending php tag in that file. It's supposed to be that way.
PHP:
<?php
/*********************************************
CPG Dragonfly™ CMS
********************************************
Copyright © 2004 - 2005 by CPG-Nuke Dev Team
dragonflycms.org
Dragonfly is released under the terms and conditions
of the GNU GPL version 2 or any later version
$Source: /cvs/html/themes/dragonfly/bbcode.inc,v $
$Revision: 9.3 $
$Author: djmaze $
$Date: 2005/12/17 04:05:51 $
**********************************************/
if (!defined('CPG_NUKE')) { exit; }
$bb_codes['quote'] = '<div class="bbquote">
<div class="bbhead">Quote:</div>
<div class="bbcontent">';
$bb_codes['quote_name'] = '<div class="bbquote">
<div class="bbhead">\\1 wrote:</div>
<div class="bbcontent">';
$bb_codes['quote_close'] = '</div></div>';
$bb_codes['code_start'] = '<div>
<div class="bbchead">Code:</div>
<div class="bbccontent"><code>';
$bb_codes['code_end'] = '</code></div></div>';
$bb_codes['php_start'] = '<div>
<div class="bbphphead">PHP:</div>
<div class="bbphpcontent">';
$bb_codes['php_end'] = '</div></div>';