]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
get rid of vf_hreadf cookie, move data to init-param
[tt-rss.git] / functions.php
index 99f749e1ca88bf7cd249a9ccf2163d1f87d1ca7e..5ec8d45f464a3662ac23baa3b98fdee044907959 100644 (file)
                print "<param key=\"on_catchup_show_next_feed\" value=\"" . 
                        get_pref($link, "ON_CATCHUP_SHOW_NEXT_FEED") . "\"/>";
 
+               print "<param key=\"hide_read_feeds\" value=\"" . 
+                       sprintf("%d", get_pref($link, "HIDE_READ_FEEDS")) . "\"/>";
+
                print "</init-params>";
        }
 ?>