From c4c74732db6b4ee63d970af29d1abfc692a17d7c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 22 Dec 2011 16:45:19 +0400 Subject: [PATCH] fix OPML import --- classes/dlg.php | 21 +++++---------------- classes/pref_feeds.php | 2 +- include/login_form.php | 2 +- 3 files changed, 7 insertions(+), 18 deletions(-) diff --git a/classes/dlg.php b/classes/dlg.php index b0cfe445..a72683ef 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -40,22 +40,11 @@ class Dlg extends Protected_Handler { /* Handle OPML import by DOMXML/DOMDocument */ - if (function_exists('domxml_open_file')) { - print ""; - } else if (PHP_VERSION >= 5) { - print ""; - } else { - print_error(__("DOMXML extension is not found. It is required for PHP versions below 5.")); - } - + print ""; print ""; print "
"; diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index eebd25c6..5df5eb93 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -1419,7 +1419,7 @@ class Pref_Feeds extends Protected_Handler { action=\"backend.php\">   - + "; diff --git a/include/login_form.php b/include/login_form.php index 04ca3e6d..2650a46c 100644 --- a/include/login_form.php +++ b/include/login_form.php @@ -8,7 +8,7 @@ - + -- 2.39.5