From b56465dd56772efb80ef251d8d19f7177b244d57 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 23 Jan 2009 19:54:57 +0100 Subject: use popup feedbrowser for main UI (incomplete) --- modules/pref-feeds.php | 114 +++++++++++++++++++++++++++---------------------- 1 file changed, 64 insertions(+), 50 deletions(-) (limited to 'modules') diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index bc8171c6d..0bdaf4e55 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 "