aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/index.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-06-09 12:55:04 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-06-09 12:55:04 +0200
commitc6e946c65ff03f374261977fecd18656022759e2 (patch)
tree69f3f82f64d9d3911166900eb67bc539adf1f828 /phpBB/adm/index.php
parentf7578e29b3c4c4b7b66226f8c159e5e40363162f (diff)
parentf11ef89c657b0386ea5686dd8cc35dff79690adb (diff)
downloadforums-c6e946c65ff03f374261977fecd18656022759e2.tar
forums-c6e946c65ff03f374261977fecd18656022759e2.tar.gz
forums-c6e946c65ff03f374261977fecd18656022759e2.tar.bz2
forums-c6e946c65ff03f374261977fecd18656022759e2.tar.xz
forums-c6e946c65ff03f374261977fecd18656022759e2.zip
Merge remote-tracking branch 'naderman/ticket/8138' into develop-olympus
* naderman/ticket/8138: [ticket/8138] Add autocomplete="off" to acp_board and ldap settings [ticket/8138] Add autocomplete="off" to a user and forum ACP.
Diffstat (limited to 'phpBB/adm/index.php')
-rw-r--r--phpBB/adm/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php
index 74e51a8696..68508bc353 100644
--- a/phpBB/adm/index.php
+++ b/phpBB/adm/index.php
@@ -276,7 +276,7 @@ function build_cfg_template($tpl_type, $key, &$new, $config_key, $vars)
$size = (int) $tpl_type[1];
$maxlength = (int) $tpl_type[2];
- $tpl = '<input id="' . $key . '" type="' . $tpl_type[0] . '"' . (($size) ? ' size="' . $size . '"' : '') . ' maxlength="' . (($maxlength) ? $maxlength : 255) . '" name="' . $name . '" value="' . $new[$config_key] . '" />';
+ $tpl = '<input id="' . $key . '" type="' . $tpl_type[0] . '"' . (($size) ? ' size="' . $size . '"' : '') . ' maxlength="' . (($maxlength) ? $maxlength : 255) . '" name="' . $name . '" value="' . $new[$config_key] . '"' . (($tpl_type[0] === 'password') ? ' autocomplete="off"' : '') . ' />';
break;
case 'dimension':