mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
disable themes in safe mode; rework safe mode warning/login prompt
This commit is contained in:
@@ -202,6 +202,6 @@ class Dlg extends Handler_Protected {
|
||||
print "<button dojoType='dijit.form.Button'
|
||||
onclick=\"return dijit.byId('defaultPasswordDlg').hide();\">".
|
||||
__('Close this window')."</button>";
|
||||
print "</footeer>";
|
||||
print "</footer>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -454,6 +454,7 @@ class RPC extends Handler_Protected {
|
||||
$params[strtolower($param)] = (int) get_pref($param);
|
||||
}
|
||||
|
||||
$params["safe_mode"] = !empty($_SESSION["safe_mode"]);
|
||||
$params["check_for_updates"] = CHECK_FOR_UPDATES;
|
||||
$params["icons_url"] = ICONS_URL;
|
||||
$params["cookie_lifetime"] = SESSION_COOKIE_LIFETIME;
|
||||
|
||||
Reference in New Issue
Block a user