(http://i275.photobucket.com/albums/jj306/plilisilva/sshot-4-5.png)
Boardindex.template.php
Pesquisar por
// Here's where the "Info Center" starts...
colocar Antes dele este codigo
// Mensage by s a s u k e Translate By Candidosa2
echo '
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<br />
<tr>
<td>
<table border="1" align=center bordercolor="#6C6C6C">
<tr>
<td bgcolor="white"><img src="', $settings['images_url'], '/on.gif" alt="Há novas mensagensr" align="center" border="0" /></td>
<td bgcolor="white" class="smallfont" align="center">Há novas mensagens</td>
</tr>
<tr><td bgcolor="white"><img src="', $settings['images_url'], '/off.gif" alt="Não há novas mensagens" border="0" /></td>
<td bgcolor="white" class="smallfont" align="center">Não há novas mensagens</td></tr>
</tr>
</table>
</td>
</tr>
</table>';
(http://i275.photobucket.com/albums/jj306/plilisilva/sshot-1-10.png)
no teu board index ....
pesquisar por
/* 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 '
<b>', $txt[22], '</b> ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];
echo '
</span>
</td>
</tr>';
}
echo '
</table>';
}
echo '
</div>';
}
if ($context['user']['is_logged'])
{
echo '
<table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td align="', !$context['right_to_left'] ? 'left' : 'right', '" class="smalltext">
<img src="' . $settings['images_url'] . '/'. $settings['theme_main_color'] . '/new_some.gif" alt="" align="middle" /> ', $txt[333], '
<img src="' . $settings['images_url'] . '/'. $settings['theme_main_color'] . '/new_none.gif" alt="" align="middle" style="margin-left: 4ex;" /> ', $txt[334], '
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '">';
// Mark read button.
$mark_read_button = array('markread' => array('text' => 452, 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;sesc=' . $context['session_id']));
// Show the mark all as read button?
if ($settings['show_mark_read'] && !empty($context['categories']))
echo '
<table cellpadding="0" cellspacing="0" border="0" style="position: relative; top: 0px;">
<tr>
', template_button_strip($mark_read_button, 'top'), '
</tr>
</table>';
echo '
</td>
</tr>
</table>';
}
// Mensage by s a s u k e Translate By Candidosa2
echo '
<table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td align="', !$context['right_to_left'] ? 'left' : 'right', '" class="smalltext">
<img src="' . $settings['images_url'] . '/'. $settings['theme_main_color'] . '/new_some.gif" alt="" align="middle" /> ', $txt[333], '
<img src="' . $settings['images_url'] . '/'. $settings['theme_main_color'] . '/new_none.gif" alt="" align="middle" style="margin-left: 4ex;" /> ', $txt[334], '
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '">';
Alterar e colocar assim este codigo como ve na imagem
/* 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 '
<strong>', $txt[22], '</strong> ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $board['last_post']['time'];
echo '
</span>
</td>
</tr>';
}
echo '
</table>';
}
echo '
</div>';
}
if ($context['user']['is_logged'])
{
echo '
<table style="border:0 none;width:100%" cellspacing="0" cellpadding="5">
<tr style="float:', !$context['right_to_left'] ? 'right' : 'left', '">
<td>';
// Mark read button. By Candidosa2
$mark_read_button = array('markread' => array('text' => 452, 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;sesc=' . $context['session_id']));
// Show the mark all as read button?
if ($settings['show_mark_read'] && !empty($context['categories']))
echo '
<table cellpadding="0" cellspacing="0" style="border:0 none;position: relative; top: 0px;">
<tr>
', template_button_strip($mark_read_button, 'top'), '
</tr>
</table>';
echo '
</td>
</tr>
<tr align="center">
<td class="smalltext">
<img src="' . $settings['images_url'] . '/'. $settings['theme_main_color'] . '/on.gif" alt="" align="middle" /> ', $txt[333], '
<img src="' . $settings['images_url'] . '/off.gif" alt="" align="middle" style="margin-left: 4ex;" /> ', $txt[334], '
</td>
</tr>
</table>
';
}