From 741b60909ffcf67475c5ea7f66c6e870584d2b59 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 29 Nov 2010 20:25:51 +0300 Subject: tweak article notes --- functions.php | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 01785e38c..7c12d538d 100644 --- a/functions.php +++ b/functions.php @@ -4617,12 +4617,12 @@ onclick=\"postOpenInNewTab(event, $id)\" alt='Zoom' title='".__('Open article in new tab')."'>"; - $note_escaped = htmlspecialchars($line['note'], ENT_QUOTES); + //$note_escaped = htmlspecialchars($line['note'], ENT_QUOTES); print "PubNote"; + onclick=\"editArticleNote($id)\" + alt='PubNote' title='".__('Edit article note')."'>"; if (DIGEST_ENABLE) { print "". $feed_icon . ""; - print "
"; - - $article_content = sanitize_rss($link, $line["content"], false, false, - $feed_site_url); - print "
"; if ($line['note']) { print format_article_note($id, $line['note']); } print "
"; + print "
"; + + $article_content = sanitize_rss($link, $line["content"], false, false, + $feed_site_url); + print $article_content; print_article_enclosures($link, $id, $always_display_enclosures, @@ -5234,12 +5234,12 @@ alt='Zoom' title='".__('Open article in new tab')."'>"; - $note_escaped = htmlspecialchars($line['note'], ENT_QUOTES); + //$note_escaped = htmlspecialchars($line['note'], ENT_QUOTES); print "PubNote"; + onclick=\"editArticleNote($id)\" + alt='PubNote' title='".__('Edit article note')."'>"; if (DIGEST_ENABLE) { print "". - __('edit note').""; - $str .= "
"; - $str .= "
"; + $str = "
$note
"; return $str; } -- cgit v1.2.3-54-g00ecf