diff options
Diffstat (limited to 'classes')
-rwxr-xr-x | classes/article.php | 6 | ||||
-rwxr-xr-x | classes/feeds.php | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/classes/article.php b/classes/article.php index 09bd6d7dc..43bcb5049 100755 --- a/classes/article.php +++ b/classes/article.php @@ -620,13 +620,13 @@ class Article extends Handler_Protected { } else { $comments_url = htmlspecialchars($line["link"]); } - $entry_comments = "<a class=\"postComments\" + $entry_comments = "<a class=\"comments\" target='_blank' rel=\"noopener noreferrer\" href=\"$comments_url\">$num_comments ". _ngettext("comment", "comments", $num_comments)."</a>"; } else { if ($line["comments"] && $line["link"] != $line["comments"]) { - $entry_comments = "<a class=\"postComments\" target='_blank' rel=\"noopener noreferrer\" href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>"; + $entry_comments = "<a class=\"comments\" target='_blank' rel=\"noopener noreferrer\" href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>"; } } @@ -720,7 +720,7 @@ class Article extends Handler_Protected { if (!$entry_comments) $entry_comments = " "; # placeholder - $rv['content'] .= "<div class='postTags' style='float : right'> + $rv['content'] .= "<div class='tags' style='float : right'> <img src='images/tag.png' class='tagsPic' alt='Tags' title='Tags'> "; diff --git a/classes/feeds.php b/classes/feeds.php index 7da3f6f4d..c8152b9e2 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -634,13 +634,13 @@ class Feeds extends Handler_Protected { } else { $comments_url = htmlspecialchars($line["link"]); } - $entry_comments = "<a class=\"postComments\" + $entry_comments = "<a class=\"comments\" target='_blank' rel='noopener noreferrer' href=\"$comments_url\">$num_comments ". _ngettext("comment", "comments", $num_comments)."</a>"; } else { if ($line["comments"] && $line["link"] != $line["comments"]) { - $entry_comments = "<a class=\"postComments\" target='_blank' rel='noopener noreferrer' href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>"; + $entry_comments = "<a class=\"comments\" target='_blank' rel='noopener noreferrer' href=\"".htmlspecialchars($line["comments"])."\">".__("comments")."</a>"; } } |