Upgrade do tema 1.1.2 SMF 1.1.5

Iniciado por candidosa2, 17 de Novembro de 2008, 02:25

Tópico anterior - Tópico seguinte

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

candidosa2

Agora com a versão 1.1.6 tem que actualizar o themes para Suporte que fica 1.1.5

index.template.php

Pesquisar
// Version: 1.1; index

Trocar por
// Version: 1.1.5; index


Pesquisar
if ($context['user']['is_guest'])
      $options['collapse_header'] = !empty($_COOKIE['upshrink']);



Trocar por
if ($context['user']['is_guest'])
   {
      $options['collapse_header'] = !empty($_COOKIE['upshrink']);
      $options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']);
   }




Post.template.php

Pesquisar
// Version: 1.1; Post

Alterar por
// Version: 1.1.5; Post

Pesquisar
<td class="windowbg" width="100%">
                  <div id="preview_body" class="post">', empty($context['preview_message']) ? '' : $context['preview_message'], '</div>



Alterar por
<td class="post" width="100%" id="preview_body">
                  ', empty($context['preview_message']) ? str_repeat('<br />', 5) : $context['preview_message'], '




Recent.template.php
Pesquisar
// Version: 1.1; Recent

Trocar por
// Version: 1.1.5; Recent

Pesquisar por
$button_set['delete'] = array('text' => 31, 'image' => 'delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt[154] . '?\');"', 'url' => $scripturl . '?action=recent;delete=' . $post['id'] . ';sesc=' . $context['session_id']);


Trocar por
$button_set['delete'] = array('text' => 31, 'image' => 'delete.gif', 'lang' => true, 'custom' => 'onclick="return confirm(\'' . $txt[154] . '?\');"', 'url' => $scripturl . '?action=deletemsg2;msg=' . $post['id'] . ';topic=' . $post['topic'] . ';recent;sesc=' . $context['session_id']);



Register.template.php

Pesquisar
// Version: 1.1.2; Register


Trocar por
// Version: 1.1.5; Register

Pesquisar
<td width="40%" align="top">

Trocar por
<td width="40%" valign="top">



style.css

Pesquisar
.windowbg
{



Trocar por
.windowbg, #preview_body
{



[informacao]o Themes do Joomlamz Foi actualizado Manualmente o themes..por isso temos aqui a dica funciona 100%[/informacao]

ferr@ri

isto funciona para qualquer theme?? 

por exemplo se uso o SMF 1.1.10 tenho de actualizar o theme para 1.1.10?

candidosa2

sim para o tema tem que colocar 1.1.9
essa e ultima versão suporte themes