2012-12-03 Hirofumi Kosaka <kosaka@rworks.jp>

* include/functions_html.php: Use "autocomplete=off" in all
	password fields (this is re-apply of rev5823, that was
	dropped at rev6607).  Merged from branch 4.x.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2012-12-03 03:29:29 +00:00
parent b7027b986e
commit bc61c0c412
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-12-03 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_html.php: Use "autocomplete=off" in all
password fields (this is re-apply of rev5823, that was
dropped at rev6607). Merged from branch 4.x.
2012-12-03 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/setup.php: Changed not to depend on DateTimeZone

View File

@ -579,7 +579,7 @@ function html_print_input_text_extended ($name, $value, $id, $alt, $size, $maxle
"onmouseup", "onmouseover", "onmousemove", "onmouseout",
"onkeypress", "onkeydown", "onkeyup");
$output = '<input '.($password ? 'type="password" ' : 'type="text" ');
$output = '<input '.($password ? 'type="password" autocomplete="off" ' : 'type="text" ');
if ($disabled && (!is_array ($attributes) || !array_key_exists ("disabled", $attributes))) {
$output .= 'readonly="readonly" ';