1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 19:05:55 +00:00

use dojo stuff for user details

This commit is contained in:
Andrew Dolgov
2013-06-11 12:11:02 +04:00
parent 808ef3d4fc
commit d9afd9b2b5
3 changed files with 19 additions and 23 deletions

View File

@@ -12,7 +12,7 @@ class Pref_Users extends Handler_Protected {
}
function csrf_ignore($method) {
$csrf_ignored = array("index", "edit");
$csrf_ignored = array("index", "edit", "userdetails");
return array_search($method, $csrf_ignored) !== false;
}
@@ -92,7 +92,7 @@ class Pref_Users extends Handler_Protected {
print "</ul>";
print "<div align='center'>
<button onclick=\"closeInfoBox()\">".__("Close this window").
<button dojoType=\"dijit.form.Button\" type=\"submit\">".__("Close this window").
"</button></div>";
return;