SMFPT - Suporte e Manutenção de Fórum em Português

SMF 2.0.x (Módulos Manual) => SMF 2.x Módulos Manual => Categoria => Tópico iniciado por: candidosa2 em 17 de Agosto de 2013, 00:50

Título: Subseção Negrito / on - off gif
Enviado por: candidosa2 em 17 de Agosto de 2013, 00:50

(http://aplicimagens.info/image-C2AE_520E9E51.jpg) (http://aplicimagens.info/share-C2AE_520E9E51.html)




Abrir o ficheiro.......BoardIndex.template.php


Pesquisar por



Código: [Seleccione]

foreach ($board['children'] as $child)
{
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
}


echo '
<tr>
  <td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</span>
</td>


Substituir por este aqui


Código: [Seleccione]
$sayac=0;
foreach ($board['children'] as $child)
{
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>' . ' (' . $txt[335] . '' . $child['topics'] . '/' . $txt[336] . '' . $child['posts'] . ')';  ;
//interaktif altbolum logosu Translate By Candidosa2
$children[] = $child['new'] ? '<img align="absmiddle" src="http://img218.imageshack.us/img218/3355/alton7ab.gif"/>' . '<b>' . $child['link'] . '</b>' . '' : '<img align="absmiddle" src="http://img218.imageshack.us/img218/3105/altoff1ad.gif"/>' .$child['link'];


$sayac++;
}


echo '
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<table><tr><td valign="top">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>:<br/>';
for($sayac2 = 0 ; $sayac2 < ceil($sayac/2);$sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td><td width="30"> </td><td valign="top"><span class="smalltext"><br/>';
for(; $sayac2 < $sayac ; $sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td></tr></table>
</td>


Imagens em anexo se os Links nao funcionar