SMF Quick Theme Changer

Iniciado por candidosa2, 24 de Novembro de 2007, 09:32

Tópico anterior - Tópico seguinte

0 Membros e 1 Visitante estão a ver este tópico.

candidosa2

Nome: SMF Quick Theme Changer
Arquivo: SMF_Quick_Theme_Changer_1.0.0.zip  em En
Arquivo:mudar rapido.zip em Pt
Autor da Tradução: Candidosa2 ( http://candidosa2.apllic.net )
Tradução: Pt-Pt
Tradução: Pt-Br ainda não disponível
Versões: várias versões e as actuais, 1.1.2,1.1.3 E 1.1.4
Download em En - http://custom.simplemachines.org/mods/index.php?mod=746
download em Pt  - attach

Testado com tema default Funciona 100%

silva55

o que e necessario para aplicar a outros themas?

candidosa2

Tem que instalar depois ir em cada tema alem do default colocar manualmente
no index.template.php de cada tema...

pode ver nas imagens exemplo




o código que tem que colocar noutros temas e este

<!-- // Quick Theme Changer Start -->
<tr>
<td colspan="3" style="text-align: left;">
<select name="quick_theme_changer" onchange="quick_theme_changer(this)">
<optgroup label="', $txt['quick_theme_changer'], '">';
foreach ($context['themes'] as $theme)
{
echo '<option value="', $theme['id'], '"', (($settings['theme_id'] == $theme['id']) ? ' selected' : ''), '>', $theme['name'], '</option>';
}
echo '</optgroup>
</select>
</td>
</tr>
<!-- // Quick Theme Changer End -->


Mais antes tem que pesquisar por // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!

colocar depois do código  <table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">

Qualquer dificuldades coloca ai...