diff --git a/backend.php b/backend.php index 545541cb..9b0ce8f5 100644 --- a/backend.php +++ b/backend.php @@ -211,7 +211,7 @@ print "
"; - print "
"; + print "
"; $entry_author = $line["author"]; @@ -219,19 +219,17 @@ $entry_author = " - by $entry_author"; } - if ($line["link"]) { - print "
"; - } else { - print ""; - } - $parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'), strtotime($line["updated"])); - print ""; - - print ""; + print "
$parsed_updated
"; + + if ($line["link"]) { + print "
" . + $line["title"] . "$entry_author
"; + } else { + print "
" . $line["title"] . "$entry_author
"; + } $tmp_result = db_query($link, "SELECT DISTINCT tag_name FROM ttrss_tags WHERE post_int_id = " . $line["int_id"] . " @@ -247,9 +245,9 @@ $tag = $tmp_line["tag_name"]; $tag_str = "$tag, "; - if ($num_tags == 3) { + if ($num_tags == 6) { $tags_str .= "..."; - } else if ($num_tags < 3) { + } else if ($num_tags < 6) { $tags_str .= $tag_str; } $f_tags_str .= $tag_str; @@ -258,15 +256,13 @@ $tags_str = preg_replace("/, $/", "", $tags_str); $f_tags_str = preg_replace("/, $/", "", $f_tags_str); -// $truncated_link = truncate_string($line["link"], 60); + if (!$entry_comments) $entry_comments = " "; # placeholder -# if ($tags_str || $entry_comments) { - print " - "; -# } + print "
$tags_str + (+)
+
$entry_comments
"; - print "
" . - $line["title"] . "$entry_author
" . $line["title"] . "$entry_author$parsed_updated
- $entry_comments$tags_str (+)
"; + print "
"; print "
" . $feed_icon . "
"; print "
"; diff --git a/tt-rss.css b/tt-rss.css index f2a1aaed..a6d283c1 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -713,16 +713,22 @@ table.headlinesList tr td { padding : 2px 0px 2px 0px; } -div.postHeader td.postDate { +div.postHeader div.postDate { font-size : x-small; text-align : right; color : gray; + float : right; } -div.postHeader td.postDateRTL { +div.postHeader div.postDateRTL { font-size : x-small; text-align : left; color : gray; + float : right; +} + +div.postHeader div { + padding-bottom : 3px; } #feedUpdateErrors {