]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix feed-details title unescaping, pref-feeds Link->Feed
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 11 Dec 2005 07:36:40 +0000 (08:36 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 11 Dec 2005 07:36:40 +0000 (08:36 +0100)
backend.php

index efb583258fa9fec6b727970fcf4d60721d168eff..9e206c93bdf1cbfc0ff25c33535aaa72b19ef95f 100644 (file)
                                print "<tr class=\"title\">
                                        <td width='5%' align='center'></td>
                                        <td width='30%'><a href=\"javascript:updateFeedList('title')\">Title</a></td>
-                                       <td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Link</a></td>
+                                       <td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Feed</a></td>
                                        <td width='15%'><a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a></td>
                                        <td width='15%'><a href=\"javascript:updateFeedList('purge_interval')\">Purge Days</a></td></tr>";
                        }
                                        print "<tr class=\"title\">
                                                <td width='5%' align='center'></td>
                                                <td width='30%'><a href=\"javascript:updateFeedList('title')\">Title</a></td>
-                                               <td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Link</a></td>
+                                               <td width='30%'><a href=\"javascript:updateFeedList('feed_url')\">Feed</a></td>
                                                <td width='15%'><a href=\"javascript:updateFeedList('update_interval')\">Update Interval</a></td>
                                                <td width='15%'><a href=\"javascript:updateFeedList('purge_interval')\">Purge Days</a></td></tr>";
 
 
                if (db_num_rows($result) == 0) return;
 
-               $title = db_fetch_result($result, 0, "title");
+               $title = db_unescape_string(db_fetch_result($result, 0, "title"));
                $last_updated = date(get_pref($link, 'LONG_DATE_FORMAT'),
                        strtotime(db_fetch_result($result, 0, "last_updated")));
                $feed_url = db_fetch_result($result, 0, "feed_url");