From: Andrew Dolgov Date: Sat, 17 May 2008 15:40:44 +0000 (+0100) Subject: misc code cleanup X-Git-Tag: 1.2.23-final~84 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c771953ddfb1450989d7405d38aff81129c0182a;p=tt-rss.git misc code cleanup --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index e4f6b60d..44a345e2 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -61,11 +61,6 @@ print "

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

"; -# $result = db_query($link, "SELECT feed_url,count(id) AS subscribers -# FROM ttrss_feeds -# WHERE auth_login = '' AND auth_pass = '' AND private = false -# GROUP BY feed_url ORDER BY subscribers DESC LIMIT 25"); - $owner_uid = $_SESSION["uid"]; $result = db_query($link, "SELECT feed_url,COUNT(id) AS subscribers @@ -859,14 +854,6 @@ onclick=\"javascript:updateFeedList()\" value=\"".__('Search')."\"> "; -/* print " - "; */ - print ""; @@ -1128,26 +1115,6 @@ } print ""; - - /* print " - "; */ - -// if (get_pref($link, 'ENABLE_FEED_CATS')) { - -/* print " "; */ - -# print " | "; - -// } - } else { - -// print "

No feeds defined.

"; - } print "

".__('OPML')."

diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 4fb59d4a..b7f29705 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -27,8 +27,6 @@ print ""; print ""; print ""; - -// print "
Note: filter will only apply to new articles.
"; $result = db_query($link, "SELECT id,description FROM ttrss_filter_types ORDER BY description"); @@ -374,7 +372,6 @@ $onclick = "onclick='editFilter($filter_id)' title='".__('Click to edit')."'"; print "" . $line["reg_exp"] . ""; - print "" . $line["feed_title"] . ""; $inverse_label = ""; @@ -383,11 +380,7 @@ $inverse_label = " ".__('(Inverse)').""; } - print "" . $line["filter_type_descr"] . "$inverse_label"; - -/* print "" . - $line["action_description"].""; */ - + print "" . $line["filter_type_descr"] . "$inverse_label"; print "" . $line["action_param"] . ""; print "";