summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-21 18:01:14 +0300
committerAndrew Dolgov <[email protected]>2010-11-21 18:01:14 +0300
commite12184804870f08a61f671a6d6afba32ffe93fca (patch)
tree396420a7f240a13c36fd8a0f0cdcc452cd2b4224 /modules/popup-dialog.php
parent9fe80bcdadfbc318c2f6e0ee1b8957b3275d0817 (diff)
rework OPML import process
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php16
1 files changed, 4 insertions, 12 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index 671774195..ec41ec4ee 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -6,10 +6,8 @@
print "<dlg id=\"$id\">";
if ($id == "importOpml") {
- print "<title>".__('OPML Import')."</title>";
- print "<content><![CDATA[";
-
- print "<div class=\"prefFeedCatHolder\">";
+ print "<div class=\"prefFeedOPMLHolder\">";
+ header("Content-Type: text/html"); # required for iframe
$owner_uid = $_SESSION["uid"];
@@ -50,18 +48,12 @@
print "</div>";
print "<div align='center'>";
-
- print "<button onclick=\"return opmlImportDone()\">".
+ print "<button dojoType=\"dijit.form.Button\"
+ onclick=\"dijit.byId('opmlImportDlg').hide()\">".
__('Close this window')."</button>";
-
print "</div>";
- print "<script type=\"text/javascript\">";
- print "parent.opmlImportHandler(this)";
- print "</script>";
-
print "</div>";
- print "]]></content>";
//return;
}