summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-28 16:23:33 +0400
committerAndrew Dolgov <[email protected]>2013-02-28 16:23:33 +0400
commitb999f4c75a677a4eb3debcb0b4639a75833a9196 (patch)
treeabe8f7bfc22214d5bc087c4885e3a954d0710167 /classes
parentb389aeb7fce00c2436f8c54dbd873f8d48c63da7 (diff)
slightly better article note display in CDM
Diffstat (limited to 'classes')
-rw-r--r--classes/feeds.php13
1 files changed, 7 insertions, 6 deletions
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'] .= "<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>";