summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-11-30 17:22:30 +0300
committerAndrew Dolgov <[email protected]>2018-11-30 17:22:30 +0300
commit07fd4f8d9d4f301f5ad88ff9e80f042fc3eb0c36 (patch)
tree7560386a48681e19b4e4bcce00f3c3f4f42eb97d /classes
parentadd558e7e53fb9ab2e0e3186573bdb90d0e910ff (diff)
minor css fixes (mostly for zoom mode)
Diffstat (limited to 'classes')
-rwxr-xr-xclasses/article.php6
-rwxr-xr-xclasses/feeds.php4
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 = "&nbsp;"; # 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'>&nbsp;";
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>";
}
}