only show cache images option in feed editor when SIMPLEPIE_CACHE_IMAGES is enabled
This commit is contained in:
parent
ce72cb956d
commit
0900727a8b
|
@ -443,11 +443,12 @@
|
||||||
$checked = "";
|
$checked = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"cache_images\"
|
if (SIMPLEPIE_CACHE_IMAGES) {
|
||||||
|
print "<hr/><input dojoType=\"dijit.form.CheckBox\" type=\"checkbox\" id=\"cache_images\"
|
||||||
name=\"cache_images\"
|
name=\"cache_images\"
|
||||||
$checked> <label for=\"cache_images\">".
|
$checked> <label for=\"cache_images\">".
|
||||||
__('Cache images locally (SimplePie only)')."</label>";
|
__('Cache images locally (SimplePie only)')."</label>";
|
||||||
|
}
|
||||||
|
|
||||||
# print "</div>";
|
# print "</div>";
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
@ -609,14 +610,16 @@
|
||||||
|
|
||||||
print " "; batch_edit_cbox("always_display_enclosures", "always_display_enclosures_l");
|
print " "; batch_edit_cbox("always_display_enclosures", "always_display_enclosures_l");
|
||||||
|
|
||||||
print "<br/><input disabled=\"1\" type=\"checkbox\" id=\"cache_images\"
|
if (SIMPLEPIE_CACHE_IMAGES) {
|
||||||
name=\"cache_images\"
|
print "<br/><input disabled=\"1\" type=\"checkbox\" id=\"cache_images\"
|
||||||
dojoType=\"dijit.form.CheckBox\"> <label class='insensitive' id=\"cache_images_l\"
|
name=\"cache_images\"
|
||||||
|
dojoType=\"dijit.form.CheckBox\"> <label class='insensitive' id=\"cache_images_l\"
|
||||||
for=\"cache_images\">".
|
for=\"cache_images\">".
|
||||||
__('Cache images locally')."</label>";
|
__('Cache images locally')."</label>";
|
||||||
|
|
||||||
|
|
||||||
|
print " "; batch_edit_cbox("cache_images", "cache_images_l");
|
||||||
print " "; batch_edit_cbox("cache_images", "cache_images_l");
|
}
|
||||||
|
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue