]> git.wh0rd.org Git - tt-rss.git/commitdiff
some feed browser detail improvements
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 30 Aug 2006 04:05:43 +0000 (05:05 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 30 Aug 2006 04:05:43 +0000 (05:05 +0100)
backend.php

index 27351c42d4678fd7aa113232264c8f014d0eaa6a..77ef03cc147038eb82d9cac4716231c6512039cf 100644 (file)
                                $last_updated = date($short_date, strtotime($last_updated));
                        }
 
-                       print "Site: <a href='$site_url'>$site_url</a> ".
-                               "(<a href='$feed_url'>feed</a>), ".
+                       print "Site: <a target=\"_new\" href='$site_url'>$site_url</a> ".
+                               "(<a target=\"_new\" href='$feed_url'>feed</a>), ".
                                "Last updated: $last_updated";
 
                        print "</div>";
 
                        $result = db_query($link, "SELECT 
                                        ttrss_entries.title,
-                                       content,
+                                       content,link,
                                        substring(date_entered,1,19) as date_entered,
                                        substring(updated,1,19) as updated
                                FROM ttrss_entries,ttrss_user_entries
                                                $entry_dt = date($short_date, strtotime($line["updated"]));
                                        }                               
                
-                                       print "<li>" . $line["title"] . 
+                                       print "<li><a target=\"_new\" href=\"" . $line["link"] . "\">" . $line["title"] . "</a>" .
                                                "&nbsp;<span class=\"insensitive\">($entry_dt)</span></li>";    
                                }               
                                print "</ul></div>";