From: Andrew Dolgov Date: Sun, 12 Aug 2007 13:44:41 +0000 (+0100) Subject: enable collapsing of virtual category X-Git-Tag: 1.2.14~52 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3b08617610056ac0674304fa61e43405db73ae97;p=tt-rss.git enable collapsing of virtual category --- diff --git a/feedlist.js b/feedlist.js index af792ccf..04fab589 100644 --- a/feedlist.js +++ b/feedlist.js @@ -246,6 +246,14 @@ function toggleCollapseCat(cat) { } } + if (cat == -1) { + if (Element.visible("FCATLIST-" + cat)) { + setCookie("ttrss_vf_vclps", "1"); + } else { + setCookie("ttrss_vf_vclps", "0"); + } + } + Effect.toggle('FCATLIST-' + cat, 'blind', { duration: 0.5, afterFinish: toggleCollapseCat_af }); diff --git a/functions.php b/functions.php index 115bb347..04594f9d 100644 --- a/functions.php +++ b/functions.php @@ -3249,8 +3249,24 @@ /* virtual feeds */ if (get_pref($link, 'ENABLE_FEED_CATS')) { - print "
  • ".__('Special')."
  • "; - print "