From eedfb635ddde041201c6b5cd683c60cd6ba2ad12 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 Sep 2008 08:36:57 +0100 Subject: add function to open article summary in a popup window --- functions.php | 55 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 47 insertions(+), 8 deletions(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 0e34af34e..701d3ec57 100644 --- a/functions.php +++ b/functions.php @@ -4533,7 +4533,8 @@ return vsprintf(__(array_shift($args)), $args); } - function outputArticleXML($link, $id, $feed_id, $mark_as_read = true) { + function outputArticleXML($link, $id, $feed_id, $mark_as_read = true, + $zoom_mode = false) { /* we can figure out feed_id from article id anyway, why do we * pass feed_id here? */ @@ -4543,7 +4544,7 @@ $feed_id = db_fetch_result($result, 0, "feed_id"); - print "
+ Tiny Tiny RSS - ".$line["title"]." + + "; + } + + print "
"; print "
'; + if (!$tags_nolinks_str) $tags_nolinks_str = ''.__('no tags').''; print "
- Tags - $tags_str - (+)
-
$entry_comments
"; + Tags"; + + if (!$zoom_mode) { + print "$tags_str + (+) + Zoom"; + } else { + print "$tags_nolinks_str"; + } + print "
"; + print "
$entry_comments
"; print "
"; @@ -4750,7 +4775,16 @@ } - print "]]>
"; + if (!$zoom_mode) { + print "]]>"; + } else { + print " +
+
"; + print ""; + + } } @@ -5258,6 +5292,11 @@ print "$marked_pic "; print "$published_pic "; + print "Zoom"; $tags = get_article_tags($link, $id); -- cgit v1.2.3