|
@@ -181,16 +181,9 @@ function template_main()
|
|
|
</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>';
|
|
|
+ <p>', $board['last_post']['last_post_message'], '</p>';
|
|
|
echo '
|
|
|
</td>
|
|
|
</tr>';
|
|
@@ -398,7 +391,7 @@ function template_info_center()
|
|
|
</h4>
|
|
|
</div>
|
|
|
<p>
|
|
|
- ', $context['common_stats']['total_posts'], ' ', $txt['posts_made'], ' ', $txt['in'], ' ', $context['common_stats']['total_topics'], ' ', $txt['topics'], ' ', $txt['by'], ' ', $context['common_stats']['total_members'], ' ', $txt['members'], '. ', !empty($settings['show_latest_member']) ? $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br />
|
|
|
+ ', $context['common_stats']['boardindex_total_posts'], ' ', !empty($settings['show_latest_member']) ? $txt['latest_member'] . ': <strong> ' . $context['common_stats']['latest_member']['link'] . '</strong>' : '', '<br />
|
|
|
', (!empty($context['latest_post']) ? $txt['latest_post'] . ': <strong>"' . $context['latest_post']['link'] . '"</strong> ( ' . $context['latest_post']['time'] . ' )<br />' : ''), '
|
|
|
<a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a>', $context['show_stats'] ? '<br />
|
|
|
<a href="' . $scripturl . '?action=stats">' . $txt['more_stats'] . '</a>' : '', '
|