diff options
author | Andrew Dolgov <[email protected]> | 2011-12-27 18:37:07 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-27 18:37:07 +0400 |
commit | 34aa9e20c7ff7d80094bef88b16299cd277a5c07 (patch) | |
tree | 6811c55907713fe545514543ccd35b912152cd0c /classes | |
parent | cfb665c01f3b0303515658f5569ac472a0970e21 (diff) |
implement filter import
Diffstat (limited to 'classes')
-rw-r--r-- | classes/dlg.php | 5 |
1 files changed, 3 insertions, 2 deletions
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.") . "</p>"; + print "<div class=\"prefFeedOPMLHolder\">"; $owner_uid = $_SESSION["uid"]; @@ -41,7 +43,6 @@ class Dlg extends Protected_Handler { /* Handle OPML import by DOMXML/DOMDocument */ print "<ul class='nomarks'>"; - print "<li>".__("Importing using DOMDocument.")."</li>"; require_once "opml.php"; opml_import_domdoc($this->link, $owner_uid); print "</ul>"; @@ -49,7 +50,7 @@ class Dlg extends Protected_Handler { print "<div align='center'>"; print "<button dojoType=\"dijit.form.Button\" - onclick=\"dijit.byId('opmlImportDlg').hide()\">". + onclick=\"dijit.byId('opmlImportDlg').execute()\">". __('Close this window')."</button>"; print "</div>"; |