diff options
author | Andrew Dolgov <[email protected]> | 2017-01-28 12:45:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-01-28 12:45:49 +0300 |
commit | 24c7e4132d4212e996de251c6e0fb313ea34b4c3 (patch) | |
tree | 04d0b5fd86331ae91c1f68f51c16cb432e6a0333 /classes/feeds.php | |
parent | 80fbc1fdc43746ee210a9aaaa5e01c6603f8e665 (diff) |
subscribe dialog: do not report errors via alert()
fetch_file_contents: reset all globals on start, return error message body when not using curl
subscribe_to_feed: report if cloudflare is in the error message
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-x | classes/feeds.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/feeds.php b/classes/feeds.php index 4a34945cd..1375f0c37 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -1030,6 +1030,8 @@ class Feeds extends Handler_Protected { print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"op\" value=\"rpc\">"; print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"addfeed\">"; + print "<div id='fadd_error_message' style='display : none' class='alert alert-danger'></div>"; + print "<div id='fadd_multiple_notify' style='display : none'>"; print_notice("Provided URL is a HTML page referencing multiple feeds, please select required feed from the dropdown menu below."); print "<p></div>"; |