]> git.wh0rd.org Git - tt-rss.git/commitdiff
add share-by-url button in combined mode
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 27 Nov 2011 08:08:39 +0000 (12:08 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 27 Nov 2011 08:08:39 +0000 (12:08 +0400)
functions.php

index 0f910f2f76ee488f2e00ce1da778fb58660787d4..d7fe05932c67b296eebce995b0833bda0d0a7bea 100644 (file)
                                                note,
                                                num_comments,
                                                comments,
+                                               int_id,
                                                unread,feed_id,marked,published,link,last_read,orig_feed_id,
                                                ".SUBSTRING_FOR_DATE."(last_read,1,19) as last_read_noms,
                                                $vfeed_query_part
                                                        alt='Zoom' title='".__('Share on Twitter')."'>";
                                        }
 
+                                       $reply['content'] .= "<img src=\"".theme_image($link, 'images/art-share.png')."\"
+                                               class='tagsPic' style=\"cursor : pointer\"
+                                               onclick=\"shareArticle(".$line['int_id'].")\"
+                                               alt='Zoom' title='".__('Share by URL')."'>";
+
                                        $reply['content'] .= "<img src=\"images/digest_checkbox.png\"
                                                style=\"cursor : pointer\" style=\"cursor : pointer\"
                                                onclick=\"dismissArticle($id)\"