diff --git a/pandora_console/include/javascript/jquery.timezone-picker.js b/pandora_console/include/javascript/jquery.timezone-picker.js index 61d0e049ee..df9178429d 100644 --- a/pandora_console/include/javascript/jquery.timezone-picker.js +++ b/pandora_console/include/javascript/jquery.timezone-picker.js @@ -43,7 +43,7 @@ maxDelta: 6, interval: 50 }, - zoomWheelEnabled: true + zoomWheelEnabled: false }), new OpenLayers.Control.Zoom(), new OpenLayers.Control.ZoomBox() diff --git a/pandora_console/operation/users/user_edit.php b/pandora_console/operation/users/user_edit.php index 89bb4d75dd..2637dc59a4 100644 --- a/pandora_console/operation/users/user_edit.php +++ b/pandora_console/operation/users/user_edit.php @@ -345,13 +345,12 @@ $double_auth_enabled = (bool) db_get_value('id', 'tuser_double_auth', 'id_user', if ($config['double_auth_enabled']) { $double_authentication = '
'.__('Double authentication').'
'; $double_authentication .= html_print_checkbox_switch('double_auth', 1, $double_auth_enabled, true); + // Dialog. + $double_authentication .= ' '; } if ($double_auth_enabled) { $double_authentication .= html_print_button(__('Show information'), 'show_info', false, 'javascript:show_double_auth_info();', '', true); - // Dialog. - $double_authentication .= ' '; - $double_authentication .= '