diff options
Diffstat (limited to 'classes/dlg.php')
-rw-r--r-- | classes/dlg.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/classes/dlg.php b/classes/dlg.php index 6f22c81e6..9ac5cd12f 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -185,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 |