]> git.wh0rd.org - tt-rss.git/blobdiff - modules/backend-rpc.php
obsolete cookie storage for collapsed status of feedlist and special categories ...
[tt-rss.git] / modules / backend-rpc.php
index 1a65efc025f06277db552e6e10ec3c3d03fd1ce3..686602d6f80d2c016b9e90d540b5624137d55a89 100644 (file)
                                        ttrss_feed_categories WHERE owner_uid = ".$_SESSION["uid"]);
 
                                        print "<category id=\"0\" collapsed=\"".
-                                               (int)$_COOKIE["ttrss_vf_uclps"]."\"><![CDATA[";
+                                               (int)get_pref($link, "_COLLAPSED_UNCAT")."\"><![CDATA[";
                                        print __("Uncategorized");
                                        print "]]></category>";
 
                                        print "<category id=\"-1\" collapsed=\"".
-                                               (int)$_COOKIE["ttrss_vf_vclps"]."\"><![CDATA[";
+                                               (int)get_pref($link, "_COLLAPSED_SPECIAL")."\"><![CDATA[";
                                        print __("Special");
                                        print "]]></category>";
 
                                        print "<category id=\"-2\" collapsed=\"".
-                                               (int)$_COOKIE["ttrss_vf_lclps"]."\"><![CDATA[";
+                                               (int)get_pref($link, "_COLLAPSED_LABELS")."\"><![CDATA[";
                                        print __("Labels");
                                        print "]]></category>";