From 34aa9e20c7ff7d80094bef88b16299cd277a5c07 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov
Date: Tue, 27 Dec 2011 18:37:07 +0400
Subject: implement filter import
---
classes/dlg.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'classes/dlg.php')
diff --git a/classes/dlg.php b/classes/dlg.php
index 9565dff87..bd18f54dc 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -19,6 +19,8 @@ class Dlg extends Protected_Handler {
function importOpml() {
header("Content-Type: text/html"); # required for iframe
+ print __("If you have imported labels and/or filters, you might need to reload preferences to see your new data.") . "
";
+
print "";
$owner_uid = $_SESSION["uid"];
@@ -41,7 +43,6 @@ class Dlg extends Protected_Handler {
/* Handle OPML import by DOMXML/DOMDocument */
print "
";
- print "- ".__("Importing using DOMDocument.")."
";
require_once "opml.php";
opml_import_domdoc($this->link, $owner_uid);
print "
";
@@ -49,7 +50,7 @@ class Dlg extends Protected_Handler {
print "
";
print "";
print "
";
--
cgit v1.2.3