]> git.wh0rd.org - tt-rss.git/blobdiff - classes/dlg.php
minor css fixes (mostly for zoom mode)
[tt-rss.git] / classes / dlg.php
index 324b741fae960db4e9441b5be8f95553da4f810e..9ac5cd12fef16f8a1bcec52a7ab24edec59aa239 100644 (file)
@@ -18,16 +18,12 @@ class Dlg extends Handler_Protected {
 
                print "<div class=\"prefFeedOPMLHolder\">";
 
-               $this->pdo->beginTransaction();
-
                print "<ul class='nomarks'>";
 
                $opml = new Opml($_REQUEST);
 
                $opml->opml_import($_SESSION["uid"]);
 
-               $this->pdo->commit();
-
                print "</ul>";
                print "</div>";
 
@@ -189,4 +185,16 @@ class Dlg extends Handler_Protected {
                //return;
        }
 
+       function defaultPasswordWarning() {
+
+       print_warning(__("You are using default tt-rss password. Please change it in the Preferences (Personal data / Authentication)."));
+
+               print "<div align='center'>";
+               print "<button dojoType=\"dijit.form.Button\" onclick=\"gotoPreferences()\">".
+                       __('Open Preferences')."</button> ";
+               print "<button dojoType=\"dijit.form.Button\"
+                       onclick=\"return closeInfoBox()\">".
+                       __('Close this window')."</button>";
+               print "</div>";
+       }
 }
\ No newline at end of file