diff --git a/_extensions/s2_blog/views/post.php b/_extensions/s2_blog/views/post.php index 66bdce59..88bca4d4 100644 --- a/_extensions/s2_blog/views/post.php +++ b/_extensions/s2_blog/views/post.php @@ -44,8 +44,13 @@ $footer['tags'] = Lang::get('Tags') . ': ' . implode(', ', $tags); } - if ($commented && S2_SHOW_COMMENTS) - $footer['comments'] = ''.($comment_num ? sprintf(Lang::get('Comments', 's2_blog'), $comment_num) : (S2_ENABLED_COMMENTS ? Lang::get('Post comment', 's2_blog') : '')).''; + if ($commented && S2_SHOW_COMMENTS) { + if ($comment_num) { + $footer['comments'] = ''. sprintf(Lang::get('Comments', 's2_blog'), $comment_num) .''; + } else { + $footer['comments'] = '' . (S2_ENABLED_COMMENTS ? Lang::get('Post comment', 's2_blog') : '') . ''; + } + } echo implode(' | ', $footer); ?>