Remoção Última Mensagens

Iniciado por candidosa2, 20 de Novembro de 2010, 07:07

Tópico anterior - Tópico seguinte

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

candidosa2

Boardindex.template.php

            <tbody class="header">
                <tr>
                    <td colspan="4" class="catbg"><span class="left"></span>';


<tbody class="header">
                <tr>
                    <td colspan="5" class="catbg"><span class="left"></span>';



<td class="stats windowbg">
                        <p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], ' <br />
                        ', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
                        </p>
                    </td>


<td class="stats windowbg">
                        ', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], '
</td><td class="stats windowbg">
                        ', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
                    </td>


<td colspan="3" class="children windowbg">
                            <strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '
                        </td>


<td colspan="4" class="children windowbg">
                            <strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '
                        </td>




index.css

table.table_list tbody.content td.stats
{
    font-size: 90%;
    width: 15%;
    text-align: center;
}


table.table_list tbody.content td.stats
{
    font-size: 150%;
    width: 7%;
    text-align: center;
}



Boardindex.template.php

            // Show some basic information about the number of posts, etc.
               echo '
               </td>
<td class="stats windowbg">
                        ', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], '
</td><td class="stats windowbg">
                        ', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
                    </td>
               <td class="lastpost">';

            /* 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 '
                  <p><strong>', $txt['last_post'], '</strong>  ', $txt['by'], ' ', $board['last_post']['member']['link'] , '<br />
                  ', $txt['in'], ' ', $board['last_post']['link'], '<br />
                  ', $txt['on'], ' ', $board['last_post']['time'],'
                  </p>';
            echo '
               </td>
            </tr>';


            // Show some basic information about the number of posts, etc.
               echo '
               </td>
<td class="stats windowbg">
                        ', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], '
</td><td class="stats windowbg">
                        ', $board['is_redirect'] ? '' : comma_format($board['topics']) . ' ' . $txt['board_topics'], '
                    </td>';
            echo '
               </td>
            </tr>';



index.portuguese_pt.php

$txt['posts'] = 'Poste';

$txt['board_topics'] = 'Topico';

$txt['posts'] = '';

$txt['board_topics'] = '';

index.css

table.table_list tbody.content td.stats
{
    font-size: 150%;
    width: 7%;
    text-align: center;
}



largura: 7%; parte  Ajustavel de acordo com o seu próprio tema.