From 4062022e0fd5eda07e4230cc3f39b91e77465ff2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 16 Nov 2005 18:09:27 +0100 Subject: sql-ize tt-rss.php prefs --- tt-rss.php | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'tt-rss.php') diff --git a/tt-rss.php b/tt-rss.php index 2d29d4455..a6a1842c6 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -1,13 +1,17 @@ - - + Tiny Tiny RSS - + @@ -28,7 +32,7 @@ - +
@@ -39,7 +43,7 @@ - +
@@ -69,7 +73,7 @@ src="backend.php?op=error&msg=Loading,%20please wait..." id="feeds-frame" name="feeds-frame" class="feedsFrame"> - +
All feeds: @@ -120,8 +124,12 @@ 15, 30 => 30, 60 => 60); - if (DEFAULT_ARTILE_LIMIT >= 0) { - $limits[DEFAULT_ARTICLE_LIMIT] = DEFAULT_ARTICLE_LIMIT; + $def_art_limit = get_pref($link, 'DEFAULT_ARTICLE_LIMIT'); + + print $def_art_limit; + + if ($def_art_limit >= 0) { + $limits[$def_art_limit] = $def_art_limit; } asort($limits); @@ -130,14 +138,14 @@ foreach ($limits as $key) { print ""; if ($limits[$key] == 0) { print "All"; } else { print $limits[$key]; } print ""; } ?> - +  Feed:
- +