batch feed editor: add support for always_display_enclosures option

This commit is contained in:
Andrew Dolgov 2009-10-06 14:36:25 +04:00
parent ef1dad57fb
commit c9f185bd28
1 changed files with 10 additions and 0 deletions

View File

@ -527,6 +527,12 @@
print " "; 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\"
@ -678,6 +684,10 @@
$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;