From: Andrew Dolgov Date: Fri, 6 Feb 2009 06:36:46 +0000 (+0300) Subject: offline: disable categories in feedlist when not enabled in tt-rss main X-Git-Tag: 1.3.1~72 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=1c980681442731d713fc01aad7e7ec56997ac797;p=tt-rss.git offline: disable categories in feedlist when not enabled in tt-rss main --- diff --git a/functions.php b/functions.php index ec814a35..7d3bae49 100644 --- a/functions.php +++ b/functions.php @@ -2958,6 +2958,9 @@ print ""; + print ""; + print ""; diff --git a/offline.js b/offline.js index 3bcf695d..5d92e08d 100644 --- a/offline.js +++ b/offline.js @@ -412,7 +412,7 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off function render_offline_feedlist() { try { - var cats_enabled = 1; + var cats_enabled = getInitParam("enable_feed_cats") == "1"; var tmp = "