diff --git a/functions.php b/functions.php index 881130fc0..388d71530 100644 --- a/functions.php +++ b/functions.php @@ -6353,9 +6353,9 @@ db_query($link, "COMMIT"); - if (file_exists(ICONS_DIR . "/$id.ico")) { +/* if (file_exists(ICONS_DIR . "/$id.ico")) { unlink(ICONS_DIR . "/$id.ico"); - } + } */ ccache_remove($link, $id, $owner_uid); diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index bfc1f2483..00efdcb74 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -128,6 +128,9 @@ + + "; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 835b45041..5330a4ffa 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1135,11 +1135,11 @@ type=\"submit\" id=\"subscribe_to_feed_btn\" class=\"button\" value=\"".__('Subscribe to feed')."\">"; - if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) { +/* if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) { print " "; - } + } */ $feeds_sort = db_escape_string($_REQUEST["sort"]); @@ -1533,7 +1533,16 @@ } else if ($mode == 2) { $feed_url = $line["feed_url"]; + + $icon_file = ICONS_DIR . "/" . $line["id"] . ".ico"; + if (file_exists($icon_file) && filesize($icon_file) > 0) { + $feed_icon = ""; + } else { + $feed_icon = ""; + } + $check_box = ""; @@ -1547,7 +1556,7 @@ } print "