SimplePortal
Development => Bugs => Fixed or Bogus Bugs => Topic started by: Eliana Tamerin on August 19, 2008, 01:22:14 AM
-
If an article is locked (topic is locked), the block still shows the vertical (|) separator.
0 comments | Write Comment
0 comments |
-
Alright, I fixed it.Open ./Themes/[your_theme_or_default]/SPortal.template.phpFind:
<div style="float: right; padding: 5px;" >', $article['article']['link'], ' | ', $article['article']['new_comment'], '</div>
Replace with:<div style="float: right; padding: 5px;" >', $article['article']['link'], ' ', $article['article']['new_comment'], '</div>
Open ./Sources/SPortal.phpFind:'comment_link' => !empty($row['locked']) ? '' : '<a href="' . $scripturl . '?action=post;topic=' . $row['ID_TOPIC'] . '.' . $row['numReplies'] . ';num_replies=' . $row['numReplies'] . '">' . $txt['smf_news_3'] . '</a>',
Replace with:'comment_link' => !empty($row['locked']) ? '' : ' | <a href="' . $scripturl . '?action=post;topic=' . $row['ID_TOPIC'] . '.' . $row['numReplies'] . ';num_replies=' . $row['numReplies'] . '">' . $txt['smf_news_3'] . '</a>',
-
Could it be the bug is still there?
When I take a look at the locked article in my Portal it shows me still
0 comments |