From c6932f8da234df5b53eef4b599fbcf6999f3c84b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 20 May 2006 10:50:24 +0100 Subject: [PATCH] somewhat friendlier purge/update names in feed editor --- backend.php | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/backend.php b/backend.php index 6a3f7ecf..6e7136e2 100644 --- a/backend.php +++ b/backend.php @@ -63,21 +63,21 @@ } $purge_intervals = array( - 0 => "Default", + 0 => "Use default", -1 => "Never purge", - 5 => "1 week", - 14 => "2 weeks", - 31 => "1 month", - 60 => "2 months", - 90 => "3 months"); + 5 => "1 week old", + 14 => "2 weeks old", + 31 => "1 month old", + 60 => "2 months old", + 90 => "3 months old"); $update_intervals = array( - 0 => "Default", + 0 => "Use default", -1 => "Disable updates", - 30 => "30 minutes", - 60 => "1 hour", - 240 => "4 hours", - 720 => "12 hours", + 30 => "Each 30 minutes", + 60 => "Hourly", + 240 => "Each 4 hours", + 720 => "Each 12 hours", 1440 => "Daily", 10080 => "Weekly"); @@ -1508,7 +1508,7 @@ $purge_interval = db_fetch_result($result, 0, "purge_interval"); # $row_class = toggleEvenOdd($row_class); - print "Purge Days:"; + print "Article purging:"; // print ""; @@ -2763,6 +2763,8 @@ print "
Create filter
"; print "
"; +// print "
Note: filter will only apply to new articles.
"; + $result = db_query($link, "SELECT description FROM ttrss_filter_types ORDER BY description");