From b999f4c75a677a4eb3debcb0b4639a75833a9196 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 28 Feb 2013 16:23:33 +0400 Subject: slightly better article note display in CDM --- cdm.css | 4 ++++ classes/feeds.php | 13 +++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/cdm.css b/cdm.css index 0e9b0468e..78d919aea 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 2cef8f750..b57f66a6f 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'] .= ""; -- cgit v1.2.3