From 3c696512fcf85331158f26078616e5684f46a68e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 26 Dec 2011 13:11:08 +0400 Subject: universal image caching and automatic cache directories maintenance --- classes/pref_feeds.php | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to 'classes/pref_feeds.php') diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index b83abd789..5937bfc8a 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -448,12 +448,10 @@ class Pref_Feeds extends Protected_Handler { $checked = ""; } - if (SIMPLEPIE_CACHE_IMAGES) { - print "
 "; - } + __('Cache images locally').""; $mark_unread_on_update = sql_bool_to_bool(db_fetch_result($result, 0, "mark_unread_on_update")); @@ -655,16 +653,13 @@ class Pref_Feeds extends Protected_Handler { print " "; $this->batch_edit_cbox("always_display_enclosures", "always_display_enclosures_l"); - if (SIMPLEPIE_CACHE_IMAGES) { - print "
 "; + print "
 "; - - print " "; $this->batch_edit_cbox("cache_images", "cache_images_l"); - } + print " "; $this->batch_edit_cbox("cache_images", "cache_images_l"); print "