set feed editor password fields to autocomplete=off

master
Andrew Dolgov 9 years ago
parent aa4ab8e0bc
commit fa0e0ef315

@ -641,6 +641,7 @@ class Pref_Feeds extends Handler_Protected {
print "<input dojoType=\"dijit.form.TextBox\" id=\"feedEditDlg_login\" print "<input dojoType=\"dijit.form.TextBox\" id=\"feedEditDlg_login\"
placeHolder=\"".__("Login")."\" placeHolder=\"".__("Login")."\"
autocomplete=\"off\"
name=\"auth_login\" value=\"$auth_login\"><hr/>"; name=\"auth_login\" value=\"$auth_login\"><hr/>";
$auth_pass = $this->dbh->fetch_result($result, 0, "auth_pass"); $auth_pass = $this->dbh->fetch_result($result, 0, "auth_pass");
@ -653,6 +654,7 @@ class Pref_Feeds extends Handler_Protected {
$auth_pass = htmlspecialchars($auth_pass); $auth_pass = htmlspecialchars($auth_pass);
print "<input dojoType=\"dijit.form.TextBox\" type=\"password\" name=\"auth_pass\" print "<input dojoType=\"dijit.form.TextBox\" type=\"password\" name=\"auth_pass\"
autocomplete=\"off\"
placeHolder=\"".__("Password")."\" placeHolder=\"".__("Password")."\"
value=\"$auth_pass\">"; value=\"$auth_pass\">";
@ -878,11 +880,13 @@ class Pref_Feeds extends Handler_Protected {
print "<input dojoType=\"dijit.form.TextBox\" print "<input dojoType=\"dijit.form.TextBox\"
placeHolder=\"".__("Login")."\" disabled=\"1\" placeHolder=\"".__("Login")."\" disabled=\"1\"
autocomplete=\"off\"
name=\"auth_login\" value=\"\">"; name=\"auth_login\" value=\"\">";
$this->batch_edit_cbox("auth_login"); $this->batch_edit_cbox("auth_login");
print "<hr/> <input dojoType=\"dijit.form.TextBox\" type=\"password\" name=\"auth_pass\" print "<hr/> <input dojoType=\"dijit.form.TextBox\" type=\"password\" name=\"auth_pass\"
autocomplete=\"off\"
placeHolder=\"".__("Password")."\" disabled=\"1\" placeHolder=\"".__("Password")."\" disabled=\"1\"
value=\"\">"; value=\"\">";
@ -1840,6 +1844,7 @@ class Pref_Feeds extends Handler_Protected {
" <input " <input
placeHolder=\"".__("Password")."\" placeHolder=\"".__("Password")."\"
dojoType=\"dijit.form.TextBox\" type='password' dojoType=\"dijit.form.TextBox\" type='password'
autocomplete=\"off\"
style=\"width : 10em;\" name='pass'\">". style=\"width : 10em;\" name='pass'\">".
"</div>"; "</div>";

Loading…
Cancel
Save