]> git.wh0rd.org Git - tt-rss.git/commitdiff
somewhat friendlier purge/update names in feed editor
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 20 May 2006 09:50:24 +0000 (10:50 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 20 May 2006 09:50:24 +0000 (10:50 +0100)
backend.php

index 6a3f7ecf3aeb92ca555898a933f8b0e1fb12a7b6..6e7136e2a9e694386aebd15e349f28d1e9c862f8 100644 (file)
        }
 
        $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");
 
                        $purge_interval = db_fetch_result($result, 0, "purge_interval");
 #                      $row_class = toggleEvenOdd($row_class);
 
-                       print "<tr class='$row_class'><td>Purge Days:</td>";
+                       print "<tr class='$row_class'><td>Article purging:</td>";
 //                     print "<td><input id=\"iedit_purgintl\" 
 //                             value=\"$purge_interval\"></td></tr>";
 
                        print "<div id=\"infoBoxTitle\">Create filter</div>";
                        print "<div class=\"infoBoxContents\">";
 
+//                     print "<div class=\"notice\"><b>Note:</b> filter will only apply to new articles.</div>";
+                       
                        $result = db_query($link, "SELECT description 
                                FROM ttrss_filter_types ORDER BY description");