From: Andrew Dolgov Date: Sun, 21 Nov 2010 15:01:14 +0000 (+0300) Subject: rework OPML import process X-Git-Tag: 1.5.0~81 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e12184804870f08a61f671a6d6afba32ffe93fca;p=tt-rss.git rework OPML import process --- diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 67177419..ec41ec4e 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -6,10 +6,8 @@ print ""; if ($id == "importOpml") { - print "".__('OPML Import').""; - print ""; + print ""; + header("Content-Type: text/html"); # required for iframe $owner_uid = $_SESSION["uid"]; @@ -50,18 +48,12 @@ print ""; print ""; - - print "". + print "". __('Close this window').""; - print ""; - print ""; - print ""; - print "]]>"; //return; } diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 2b279d2d..859b11ee 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -601,12 +601,12 @@ print ""; print " - - + ". + __('Save')." + ". + __('Cancel')." "; return; @@ -1246,7 +1246,8 @@ print "