From: Andrew Dolgov Date: Fri, 23 Jan 2009 18:54:57 +0000 (+0100) Subject: use popup feedbrowser for main UI (incomplete) X-Git-Tag: git2svn-syncpoint-master~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b56465dd56772efb80ef251d8d19f7177b244d57;p=tt-rss.git use popup feedbrowser for main UI (incomplete) --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index bc8171c6..0bdaf4e5 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -60,66 +60,33 @@ return; } - print "
".__('Other feeds: Top 25')."
"; + print "
".__('Feed Browser')."
"; print "
"; - print "

".__("Showing top 25 registered feeds, sorted by popularity:")."

"; - $owner_uid = $_SESSION["uid"]; - -/* $result = db_query($link, "SELECT feed_url,COUNT(id) AS subscribers - FROM ttrss_feeds WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf - WHERE tf.feed_url = ttrss_feeds.feed_url - AND owner_uid = '$owner_uid') GROUP BY feed_url - ORDER BY subscribers DESC LIMIT 25"); */ - - $result = db_query($link, "SELECT feed_url, subscribers FROM - ttrss_feedbrowser_cache WHERE (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf - WHERE tf.feed_url = ttrss_feedbrowser_cache.feed_url - AND owner_uid = '$owner_uid') ORDER BY subscribers DESC LIMIT 25"); - - print "