From 6f3976c9a3a0409b16d1125802b88651213b0aae Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Nov 2010 14:43:43 +0300 Subject: support opening articles in new tab, misc fixes --- functions.php | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 63f440999..08d3edfcf 100644 --- a/functions.php +++ b/functions.php @@ -4577,8 +4577,10 @@ "; } + print "
" . + truncate_string(strip_tags($line['title']), 15) . "
"; - print "
"; + print "
"; print "
"; $entry_author = $line["author"]; @@ -4615,7 +4617,7 @@ print "Zoom"; + alt='Zoom' title='".__('Open article in new tab')."'>"; $note_escaped = htmlspecialchars($line['note'], ENT_QUOTES); @@ -4631,6 +4633,11 @@ alt='Zoom' title='".__('Forward by email')."'>"; } + print "Zoom"; + } else { $tags_str = strip_tags($tags_str); print "$tags_str"; @@ -5083,7 +5090,8 @@ onmouseout='postMouseOut($id)'"; print "
"; print "
"; @@ -5108,7 +5116,7 @@ print "$published_pic"; print " ".$line["title"]." @@ -5123,13 +5131,11 @@ $excerpt_hidden = "style=\"display : none\""; print " - $content_preview"; print "
"; print "
"; print "
"; @@ -5220,7 +5226,7 @@ onclick=\"zoomToArticle($id)\" style=\"cursor : pointer\" alt='Zoom' - title='".__('Show article summary in new window')."'>"; + title='".__('Open article in new tab')."'>"; if (DIGEST_ENABLE) { print "