]> git.wh0rd.org - tt-rss.git/commitdiff
display feed url in feed browser
authorAndrew Dolgov <fox@bah.org.ru>
Mon, 18 Jan 2010 12:10:37 +0000 (15:10 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Mon, 18 Jan 2010 12:10:37 +0000 (15:10 +0300)
modules/pref-feeds.php

index bfb178c2c47bb6c3f553fda5b10baa350bae8aa8..0329a129893fd8127ab8f3474bd809c2cbe2bec8 100644 (file)
                                        } else {
                                                $site_url = "";
                                        }
-       
+
+                                       $feed_url = "<a target=\"_blank\" href=\"$feed_url\"><img 
+                                               style='border-width : 0px; vertical-align : middle' 
+                                               src='images/feed-icon-12x12.png'></a>";
+
                                        print "<li title=\"".htmlspecialchars($details["site_url"])."\" 
                                                class='$class' id=\"FBROW-".$details["id"]."\">$check_box".
-                                               "$feed_icon " . htmlspecialchars($details["title"]) . 
+                                               "$feed_icon $feed_url " . htmlspecialchars($details["title"]) . 
                                                "&nbsp;<span class='subscribers'>($subscribers)</span>
                                                $site_url</li>";
        
                                        } else {
                                                $site_url = "";
                                        }
-       
+
+                                       $feed_url = "<a target=\"_blank\" href=\"$feed_url\"><img 
+                                               style='border-width : 0px; vertical-align : middle' 
+                                               src='images/feed-icon-12x12.png'></a>";
+
                                        print "<li title='".$line['site_url']."' class='$class' 
                                                id=\"FBROW-".$line["id"]."\">".
-                                               $check_box . "$feed_icon " . $title . $archived . $site_url . "</li>";
+                                               $check_box . "$feed_icon $feed_url " . $title . 
+                                               $archived . $site_url . "</li>";
 
 
                                }