diff options
author | Cesar G <prototech91@gmail.com> | 2014-05-06 17:52:12 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-05-08 08:35:38 -0700 |
commit | d95164e64155ea3bdbca69532af5dd49c093b351 (patch) | |
tree | 89cbbb3a81774662c84f75fe1e31c3665a1ea660 /phpBB/includes/acp | |
parent | 2e025f1655293d3032f04907e5d74a812e1a659a (diff) | |
download | forums-d95164e64155ea3bdbca69532af5dd49c093b351.tar forums-d95164e64155ea3bdbca69532af5dd49c093b351.tar.gz forums-d95164e64155ea3bdbca69532af5dd49c093b351.tar.bz2 forums-d95164e64155ea3bdbca69532af5dd49c093b351.tar.xz forums-d95164e64155ea3bdbca69532af5dd49c093b351.zip |
[ticket/9388] Display only the settings for the auth method that's selected.
PHPBB3-9388
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r-- | phpBB/includes/acp/acp_board.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index cf0f23a16e..f054e82de3 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -363,7 +363,7 @@ class acp_board 'title' => 'ACP_AUTH_SETTINGS', 'vars' => array( 'legend1' => 'ACP_AUTH_SETTINGS', - 'auth_method' => array('lang' => 'AUTH_METHOD', 'validate' => 'string', 'type' => 'select', 'method' => 'select_auth_method', 'explain' => false), + 'auth_method' => array('lang' => 'AUTH_METHOD', 'validate' => 'string', 'type' => 'select:1:toggable', 'method' => 'select_auth_method', 'explain' => false), ) ); break; @@ -715,7 +715,7 @@ class acp_board foreach ($auth_plugins as $method) { $selected = ($selected_method == $method) ? ' selected="selected"' : ''; - $auth_select .= '<option value="' . $method . '"' . $selected . '>' . ucfirst($method) . '</option>'; + $auth_select .= "<option value=\"$method\"$selected data-toggle-setting=\"#auth_{$method}_settings\">" . ucfirst($method) . '</option>'; } return $auth_select; |