print "<param key=\"hide_read_feeds\" value=\"" .
(int) get_pref($link, "HIDE_READ_FEEDS") . "\"/>";
+ print "<param key=\"enable_feed_cats\" value=\"" .
+ (int) get_pref($link, "ENABLE_FEED_CATS") . "\"/>";
+
print "<param key=\"feeds_sort_by_unread\" value=\"" .
(int) get_pref($link, "FEEDS_SORT_BY_UNREAD") . "\"/>";
function render_offline_feedlist() {
try {
- var cats_enabled = 1;
+ var cats_enabled = getInitParam("enable_feed_cats") == "1";
var tmp = "<ul class=\"feedList\" id=\"feedList\">";