From e12184804870f08a61f671a6d6afba32ffe93fca Mon Sep 17 00:00:00 2001
From: Andrew Dolgov
Date: Sun, 21 Nov 2010 18:01:14 +0300
Subject: [PATCH] rework OPML import process
---
modules/popup-dialog.php | 16 ++++-----------
modules/pref-feeds.php | 15 +++++++-------
prefs.js | 43 +++++++++++++++++++++++++---------------
tt-rss.css | 6 +++++-
4 files changed, 44 insertions(+), 36 deletions(-)
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 "";
-
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 "
";
- print "";
print "