From: Andrew Dolgov Date: Thu, 28 Feb 2013 12:23:33 +0000 (+0400) Subject: slightly better article note display in CDM X-Git-Tag: 1.7.1~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b999f4c75a677a4eb3debcb0b4639a75833a9196;p=tt-rss.git slightly better article note display in CDM --- diff --git a/cdm.css b/cdm.css index 0e9b0468..78d919ae 100644 --- a/cdm.css +++ b/cdm.css @@ -96,3 +96,7 @@ div.cdmFeedTitle { background-repeat : repeat-x; } +div.articleNote { + border-style : dashed none dashed none; +} + diff --git a/classes/feeds.php b/classes/feeds.php index 2cef8f75..b57f66a6 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -581,6 +581,13 @@ class Feeds extends Handler_Protected { onclick=\"return cdmClicked(event, $id);\" id=\"CICD-$id\">"; + $reply['content'] .= "
"; + if ($line['note']) { + $reply['content'] .= format_article_note($id, $line['note']); + } + $reply['content'] .= "
"; + + $reply['content'] .= "
"; if ($line["orig_feed_id"]) { @@ -616,12 +623,6 @@ class Feeds extends Handler_Protected { $line["content_preview"] =& $line["cached_content"]; } - $reply['content'] .= "
"; - if ($line['note']) { - $reply['content'] .= format_article_note($id, $line['note']); - } - $reply['content'] .= "
"; - $reply['content'] .= ""; $reply['content'] .= $line["content"]; $reply['content'] .= "";