diff --git a/functions.js b/functions.js index 884256df9..f0135f76a 100644 --- a/functions.js +++ b/functions.js @@ -2248,3 +2248,34 @@ function feedArchiveRemove() { } } +function uploadIconHandler(iframe) { + try { + notify_info("Icon changed!"); + + alert("Icon changed, blah blah"); + + + } catch (e) { + exception_error("uploadIconHandler", e); + } +} + +function uploadFeedIcon() { + + try { + + var file = $("icon_file"); + + if (file.value.length == 0) { + alert(__("Please select an image file to upload.")); + return false; + } else { + notify_progress("Uploading, please wait...", true); + return true; + } + + } catch (e) { + exception_error("uploadFeedIcon", e); + } +} + diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 06a82ad57..25a6390a2 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -56,7 +56,7 @@ print ""; print ""; print ""; diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index e724125ec..85d1e3f7b 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -15,6 +15,13 @@ $quiet = $_REQUEST["quiet"]; $mode = $_REQUEST["mode"]; + if ($subop == "uploadicon") { + print ""; + return; + } + /* if ($subop == "massSubscribe") { $ids = split(",", db_escape_string($_REQUEST["ids"])); @@ -247,7 +254,7 @@ print ""; - + print ""; print "