diff --git a/backend.php b/backend.php index c56e46c00..ec662d818 100644 --- a/backend.php +++ b/backend.php @@ -719,10 +719,10 @@ } else { $comments_url = $line["link"]; } - $entry_comments = "($num_comments comments)"; + $entry_comments = "$num_comments comments"; } else { if ($line["comments"] && $line["link"] != $line["comments"]) { - $entry_comments = "(Comments)"; + $entry_comments = "Comments"; } } @@ -730,7 +730,7 @@ print "
"; - print ""; + print ""; $parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'), strtotime($line["updated"])); @@ -764,15 +764,13 @@ $tags_str = preg_replace("/, $/", "", $tags_str); $f_tags_str = preg_replace("/, $/", "", $f_tags_str); - print " - "; +// $truncated_link = truncate_string($line["link"], 60); -/* if ($tags_str) { - print " - "; - } */ + if ($tags_str || $entry_comments) { + print " + "; + } print "
" . $line["title"] . "
" . $line["title"] . "
- ".$line["link"]." - $entry_comments$tags_str
Tags:$tags_str
+ $entry_comments$tags_str
";