]> git.wh0rd.org Git - tt-rss.git/commitdiff
batch feed editor: add support for always_display_enclosures option
authorAndrew Dolgov <fox@bah.org.ru>
Tue, 6 Oct 2009 10:36:25 +0000 (14:36 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Tue, 6 Oct 2009 10:36:25 +0000 (14:36 +0400)
modules/pref-feeds.php

index b30b6db6f45cf96ff41a932003d3c5e4f4391dc5..ce12806ee9e025b4de02ccd853124f7bdc96ea06 100644 (file)
 
                        print "&nbsp;"; batch_edit_cbox("include_in_digest", "include_in_digest_l");
 
+                       print "<br/><input disabled type=\"checkbox\" id=\"always_display_enclosures\" 
+                               name=\"always_display_enclosures\" 
+                               $checked>&nbsp;<label id=\"always_display_enclosures_l\" class='insensitive' for=\"always_display_enclosures\">".__('Always display image attachments')."</label>";
+
+                       print "&nbsp;"; batch_edit_cbox("always_display_enclosures", "always_display_enclosures_l");
+
                        print "<br/><input disabled type=\"checkbox\" id=\"cache_images\" 
                                name=\"cache_images\" 
                                $checked>&nbsp;<label class='insensitive' id=\"cache_images_l\" 
                                                        $qpart = "include_in_digest = '$include_in_digest'";
                                                        break;
 
+                                               case "always_display_enclosures":
+                                                       $qpart = "always_display_enclosures = '$always_display_enclosures'";
+                                                       break;
+
                                                case "cache_images":
                                                        $qpart = "cache_images = '$cache_images'";
                                                        break;