Skip to content

Commit

Permalink
Update Themes/default/BoardIndex.template.php
Browse files Browse the repository at this point in the history
- removed timeformat() as this change will be for another PR

Signed-off-by: Underdog-01 <[email protected]>
  • Loading branch information
Underdog-01 authored and live627 committed Feb 18, 2019
1 parent aa7bdca commit 2c354e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Themes/default/BoardIndex.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ function template_ic_block_recent()
// latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
echo '
<p id="infocenter_onepost" class="inline">
<a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a> ', sprintf($txt['is_recent_updated'], '&quot;' . $context['latest_post']['link'] . '&quot;'), ' (', timeformat($context['latest_post']['time']), ')<br>
<a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a> ', sprintf($txt['is_recent_updated'], '&quot;' . $context['latest_post']['link'] . '&quot;'), ' (', $context['latest_post']['time'], ')<br>
</p>';
}
// Show lots of posts.
Expand Down Expand Up @@ -475,7 +475,7 @@ function template_ic_block_stats()
</div>
<p class="inline">
', $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>&quot;' . $context['latest_post']['link'] . '&quot;</strong> (' . timeformat($context['latest_post']['time']) . ')<br>' : ''), '
', (!empty($context['latest_post']) ? $txt['latest_post'] . ': <strong>&quot;' . $context['latest_post']['link'] . '&quot;</strong> (' . $context['latest_post']['time'] . ')<br>' : ''), '
<a href="', $scripturl, '?action=recent">', $txt['recent_view'], '</a>
</p>';
}
Expand Down

0 comments on commit 2c354e9

Please sign in to comment.