slightly better article note display in CDM

This commit is contained in:
Andrew Dolgov 2013-02-28 16:23:33 +04:00
parent b389aeb7fc
commit b999f4c75a
2 changed files with 11 additions and 6 deletions

View File

@ -96,3 +96,7 @@ div.cdmFeedTitle {
background-repeat : repeat-x;
}
div.articleNote {
border-style : dashed none dashed none;
}

View File

@ -581,6 +581,13 @@ class Feeds extends Handler_Protected {
onclick=\"return cdmClicked(event, $id);\"
id=\"CICD-$id\">";
$reply['content'] .= "<div id=\"POSTNOTE-$id\">";
if ($line['note']) {
$reply['content'] .= format_article_note($id, $line['note']);
}
$reply['content'] .= "</div>";
$reply['content'] .= "<div class=\"cdmContentInner\">";
if ($line["orig_feed_id"]) {
@ -616,12 +623,6 @@ class Feeds extends Handler_Protected {
$line["content_preview"] =& $line["cached_content"];
}
$reply['content'] .= "<div id=\"POSTNOTE-$id\">";
if ($line['note']) {
$reply['content'] .= format_article_note($id, $line['note']);
}
$reply['content'] .= "</div>";
$reply['content'] .= "<span id=\"CWRAP-$id\">";
$reply['content'] .= $line["content"];
$reply['content'] .= "</span>";