source/
Subs.phpPesquisar
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr />',
'block_level' => true,
),
Adicionar por Baixo
array(
'tag' => 'bgcolor',
'type' => 'unparsed_equals',
'test' => '(#[\da-fA-F]{3}|#[\da-fA-F]{6}|[A-Za-z]{1,12})\]',
'before' => '<span style="background-color:$1;">',
'after' => '</span>',
),
Post.template.phpPesquisar
// Now start printing all of the smileys.
if (!empty($context['smileys']['postform']))
{
Adicionar antes desse código este abaixo
// if both color and bgcolor are disabled
if (!isset($context['disabled_tags']['color']) || !isset($context['disabled_tags']['bgcolor'])) {
echo '<tr>
<td align="right"></td>
<td valign="middle">
<script language="javascript" type="text/javascript">';
// define the image dir
echo 'var cbid = "', $settings['default_theme_url'],'/images/bbc/";';
// define the settings for javascript purposes
if (!isset($context['disabled_tags']['color'])) { echo 'var usecolor = 1;'; } else { echo 'var usecolor=0;';}
if (!isset($context['disabled_tags']['bgcolor'])) { echo 'var usebgcolor = 1;'; } else { echo 'var usebgcolor = 0;';}
// call colorbar.js which has the javascript in
echo '</script>
<script language="javascript" src="', $settings['default_theme_url'], '/color.js" type="text/javascript"></script>
</td>
</tr>';
}
default/
style.cssPesquisar
/* Normal, standard links. */
a:link
{
color: #476C8E;
text-decoration: none;
}
Adicionar por baixo
/* Color Bar CSS Class */
.colorbar {
width:450px;
}
.colorcell {
height:18px;
}
.colorbox {
border-color:#808080;
border-width:1px;
border-style:solid;
width:18px;
height:18px;
overflow:hidden;
}
.colorboxspacer {
width:18px;
height:18px;
}
os ficheiros anexo colocar no default as imagens no BBC