summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-06-05 09:33:19 +0100
committerAndrew Dolgov <[email protected]>2006-06-05 09:33:19 +0100
commitc9268ed5996a2d61cd6b8d389ce27cfe12b0e4f4 (patch)
tree9870dab1be2ece92043da677cafe45fad7e50888 /functions.php
parentb2caf812fbefca175dc60176084eb296cc0b9aa2 (diff)
sort feedlist by unread articles (closes #66)
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 3d6078b14..6bcebe598 100644
--- a/functions.php
+++ b/functions.php
@@ -1718,6 +1718,9 @@
print "<param key=\"hide_read_feeds\" value=\"" .
sprintf("%d", get_pref($link, "HIDE_READ_FEEDS")) . "\"/>";
+ print "<param key=\"feeds_sort_by_unread\" value=\"" .
+ sprintf("%d", get_pref($link, "FEEDS_SORT_BY_UNREAD")) . "\"/>";
+
print "</init-params>";
}