diff options
Diffstat (limited to 'classes/dlg.php')
-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>"; |