diff --git a/js/functions.js b/js/functions.js index 46fb5a0ee6..2bff2ac106 100644 --- a/js/functions.js +++ b/js/functions.js @@ -157,7 +157,7 @@ function PMA_current_version() function displayPasswordGenerateButton() { - $('#tr_element_before_generate_password').parent().append('' + PMA_messages['strGeneratePassword'] + ''); + $('#tr_element_before_generate_password').parent().append('' + PMA_messages['strGeneratePassword'] + ''); $('#div_element_before_generate_password').parent().append('
'); } @@ -2348,6 +2348,9 @@ $(document).ready(function() { }); $('#change_password_anchor.ajax').live('click', function(event) { event.preventDefault(); + + var $msgbox = PMA_ajaxShowMessage(); + $(this).removeClass('ajax').addClass('dialog_active'); /** * @var button_options Object containing options to be passed to jQueryUI's dialog @@ -2403,7 +2406,13 @@ $(document).ready(function() { } }) .append(data); + // for this dialog, we remove the fieldset wrapping due to double headings + $("fieldset#fieldset_change_password") + .find("legend").remove().end() + .find("table.noclick").unwrap().addClass("some-margin") + .find("input#text_pma_pw").focus(); displayPasswordGenerateButton(); + PMA_ajaxRemoveMessage($msgbox); }); // end $.get() }); // end handler for change password anchor diff --git a/js/server_privileges.js b/js/server_privileges.js index c1d55d73ac..7d9ee25626 100644 --- a/js/server_privileges.js +++ b/js/server_privileges.js @@ -368,17 +368,23 @@ $(document).ready(function() { button_options[PMA_messages['strCancel']] = function() {$(this).dialog("close");}; var token = $(this).parents('form').find('input[name="token"]').val(); - $.get($(this).attr('href'), {'ajax_request':true, 'edit_user_dialog': true, 'token': token}, function(data) { - var $div = $('
') - .append(data) - .dialog({ - width: 900, - height: 600, - buttons: button_options, - close: function () { - $(this).remove(); - } - }); //dialog options end + $.get($(this).attr('href'), + { + 'ajax_request':true, + 'edit_user_dialog': true, + 'token': token + }, + function(data) { + var $div = $('
') + .append(data) + .dialog({ + width: 900, + height: 600, + buttons: button_options, + close: function () { + $(this).remove(); + } + }); //dialog options end displayPasswordGenerateButton(); PMA_ajaxRemoveMessage($msgbox); PMA_convertFootnotesToTooltips($div); diff --git a/libraries/display_change_password.lib.php b/libraries/display_change_password.lib.php index c3d1f5a3d2..b9081b1b6a 100644 --- a/libraries/display_change_password.lib.php +++ b/libraries/display_change_password.lib.php @@ -25,44 +25,51 @@ $chg_evt_handler = (PMA_USR_BROWSER_AGENT == 'IE' && PMA_USR_BROWSER_VER >= 5) echo '' . "\n" . '' . "\n"; }?> - - - - - - + +
- - -
- - +
+ + + + + + + + + + + - - + + + - - - - - - -
+ + +
+ + + + ="nopass[1].checked = true" /> +    + :  + ="nopass[1].checked = true" /> +
+ : - ="nopass[1].checked = true" /> -    - :  - ="nopass[1].checked = true" /> + +
  - : - - - -
  - - -
+ + +
+ + diff --git a/libraries/tbl_properties.inc.php b/libraries/tbl_properties.inc.php index 3cbf3eadbd..284b190f8b 100644 --- a/libraries/tbl_properties.inc.php +++ b/libraries/tbl_properties.inc.php @@ -559,8 +559,9 @@ echo PMA_generate_common_hidden_inputs($_form_params); unset($_form_params); if ($action == 'tbl_create.php') { ?> - - + diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index 604c4faef5..7385f68840 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -374,15 +374,15 @@ th.right, td.right { text-align: right; } -tr.vtop, th.vtop, td.vtop { +tr.vtop th, tr.vtop td, th.vtop, td.vtop { vertical-align: top; } -tr.vmiddle, th.vmiddle, td.vmiddle { +tr.vmiddle th, tr.vmiddle td, th.vmiddle, td.vmiddle { vertical-align: middle; } -tr.vbottom, th.vbottom, td.vbottom { +tr.vbottom th, tr.vbottom td, th.vbottom, td.vbottom { vertical-align: bottom; } @@ -2268,13 +2268,6 @@ hr.enum_editor_no_js { bottom: .35em; } -/** - * Create table styles - */ -#create_table_form table.table-name td { - vertical-align: middle; -} - /** * Table structure styles */
+