(http://i276.photobucket.com/albums/kk39/apllic/sshot-4-10.png)
[completo]Temos o exemplo aqui mesmo no nosso fórum a funcionar 100%[/completo]
Style.css do teu themes
/* -----------------------------------------------
Update candidosa2 .
-------------------------------------------------- */
.erro, .aviso, .completo, .informacao {
margin-bottom: 1.5em;
padding: 1em 1.5em 1em 5.5em;
border-bottom: 2px solid #fff;
border-top: 2px solid #fff;
color: #444
}
.erro {background: #fbe3e4 url(images/mBox/erro.png) 2.2em center no-repeat; border-color: #e0011b}
.erro a {color: #d12f19}
.aviso {background: #fff6bf url(images/mBox/aviso.png) 2.2em center no-repeat; border-color: #ffd324}
.aviso a {color: #817134}
.completo {background: #e9ffdd url(images/mBox/completo.png) 2.2em center no-repeat; border-color: #72c868}
.completo a {color: #529214}
.informacao {background: #e2ecee url(images/mBox/informacao.png) 2.2em center no-repeat; border-color: #9ddae6}
.informacao a {color: #2d7ba2}
/* lister */
.erro ul, .aviso ul, .completo ul, .informacao ul {
list-style: none;
margin: 1.3em 1.5em
}
.erro ul li, .aviso ul li, .completo ul li, .informacao ul li {
padding-left: 1.3em
}
.erro ul li { background: url(images/mBox/erro-bullet.png) 0 0.55em no-repeat }
.aviso ul li { background: url(images/mBox/aviso-bullet.png) 0 0.55em no-repeat }
.completo ul li { background: url(images/mBox/completo-bullet.png) 0 0.55em no-repeat }
.informacao ul li { background: url(images/mBox/informacao-bullet.png) 0 0.55em no-repeat }
Subs.php
Pesquisar
array(
'tag' => 'white',
'before' => '<span style="color: white;">',
'after' => '</span>',
),
e colocar por Baixo
// !!! Not Plugin by Cazf Update Candidosa2
array(
'tag' => 'erro',
'before' => '<div class="erro">',
'after' => '</div>',
), array(
'tag' => 'aviso',
'before' => '<div class="aviso">',
'after' => '</div>',
), array(
'tag' => 'completo',
'before' => '<div class="completo">',
'after' => '</div>',
),
array(
'tag' => 'informacao',
'before' => '<div class="informacao">',
'after' => '</div>',
),
Actualizado
post.template.php que fica nas pasta default se nao tiver o teu themes
Pesquisar
'quote' => array('code' => 'quote', 'before' => '[quote]', 'after' => '[/quote]', 'description' => $txt[260]),
Colocar por Baixo o seguinte codigo
'erro' => array('code' => 'erro', 'before' => '[erro]', 'after' => '[/erro]', 'description' => $txt[2600]),
'aviso' => array('code' => 'aviso', 'before' => '[aviso]', 'after' => '[/aviso]', 'description' => $txt[2601]),
'completo' => array('code' => 'completo', 'before' => '[completo]', 'after' => '[/completo]', 'description' => $txt[2602]),
'informacao' => array('code' => 'informacao', 'before' => '[informacao]', 'after' => '[/informacao]', 'description' => $txt[2603]),
Na pasta Linguagem post.portuguese_pt.php que fica na pasta default se nao tiver no teu themes
Colocar antes
?>
O Seguinte codigo
$txt[2600] = 'Erro';
$txt[2601] = 'Aviso';
$txt[2602] = 'Completo';
$txt[2603] = 'Informaçao'
As imagens estao no anexo