Autor Tópico: Imagens Horas e data  (Lida 6497 vezes)

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

Offline candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Imagens Horas e data
« em: 13 de Janeiro de 2008, 01:50 »

boardindex.template.php

Pesquisar por

Código: [Seleccione]
/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<img align="absmiddle" src="', $settings['images_url'], '/post/xx.gif" alt="Icon" /><font style="font-size: 9pt">', $txt['smf88'], ' <b>', $board['last_post']['link'], '</b></font><br />
', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
<div style="float: right">
 ', $txt[30], ' ', $board['last_post']['time'], '<a href="', $board['last_post']['href'], '"><img alt="Son Mesaja Git" align="absmiddle" src="', $settings['images_url'], '/newmark.gif" align="right" hspace="3" border="0" /></a></div>' ;

Trocar colocar este aqui

Código: [Seleccione]
/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<img align="absmiddle" src="', $settings['images_url'], '/post/xx.gif" alt="Icon" /><font style="font-size: 9pt">', $txt['smf88'], ' <b>', $board['last_post']['link'], '</b></font><br />
', $txt[525], ' <img src="', $settings['images_url'], '/icons/boneco.gif" /> ', $board['last_post']['member']['link'] , '<br />
<div style="float: right">
<img src="', $settings['images_url'], '/icons/hora.gif" /> ', $txt[30], ' ', $board['last_post']['time'], '<a href="', $board['last_post']['href'], '"><img alt="Ultima Mensagem" align="absmiddle" src="', $settings['images_url'], '/newmark.gif" align="right" hspace="3" border="0" /></a></div>' ;

Por fim colocar as imagens no teu tema.....images/icons

MessageIndex.template.php

Pesquisar por
Código: [Seleccione]
<a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a>
<span class="smalltext">
', $topic['last_post']['time'], '<br />
', $txt[525], ' ', $topic['last_post']['member']['link'], '
</span>
</td>';

depois trocar por

Código: [Seleccione]
<a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a>
<span class="smalltext">
<img src="', $settings['images_url'], '/icons/hora.gif" /> ', $topic['last_post']['time'], '<br />
', $txt[525], ' <img src="', $settings['images_url'], '/icons/boneco.gif" /> ', $topic['last_post']['member']['link'], '
</span>
</td>';



« Última modificação: 13 de Janeiro de 2008, 01:56 por candidosa2 »