diff --git a/ChangeLog b/ChangeLog index bc5320fe9..48c7719dd 100755 --- a/ChangeLog +++ b/ChangeLog @@ -17,9 +17,10 @@ $Source$ - display default engine in footer * libraries/common.lib.php: added PMA_getDbLink * libraries/display_create_table.lib.php: use fieldset - * server_privilegs.php: - db with only table specific rights where not displayed if there was not at - least one db with db specfic rights + * server_privilegs.php, libraries/server_privilegs.js: + - db with only table specific rights where not displayed if there was not + at least one db with db specfic rights + - javascript errors 2005-11-08 Sebastian Mendel * Documentation.html, browse_foreigners.php, error.php, diff --git a/libraries/server_privileges.js b/libraries/server_privileges.js index 3dc35056d..bc3a74f1e 100644 --- a/libraries/server_privileges.js +++ b/libraries/server_privileges.js @@ -99,19 +99,16 @@ function setCheckboxes(the_form, the_checkboxes, do_check) * * @return boolean always true */ -function suggestPassword(the_form) -{ - var pwchars = "abcdefhjmnpqrstuvwxyz23456789ABCDEFGHJKLMNPQRSTUVWYXZ.,:"; - var passwordlength = 16; // do we want that to be dynamic? no, keep it simple :) - var passwd = ''; +function suggestPassword() { + var pwchars = "abcdefhjmnpqrstuvwxyz23456789ABCDEFGHJKLMNPQRSTUVWYXZ.,:"; + var passwordlength = 16; // do we want that to be dynamic? no, keep it simple :) + var passwd = document.getElementById('generated_pw'); + passwd.value = ''; - for (i=0;i' . $GLOBALS['strZeroRemovesTheLimit'] . '

' . "\n" . $spaces . '
' . "\n" . $spaces . ' ' . "\n" - . $spaces . ' ' . "\n" + . $spaces . ' ' . "\n" . $spaces . '
' . "\n" . $spaces . '
' . "\n" . $spaces . ' ' . "\n" - . $spaces . ' ' . "\n" + . $spaces . ' ' . "\n" . $spaces . '
' . "\n" . $spaces . '
' . "\n" . $spaces . ' ' . "\n" - . $spaces . ' ' . "\n" + . $spaces . ' ' . "\n" . $spaces . '
' . "\n"; if (PMA_MYSQL_INT_VERSION >= 50003) { echo $spaces . '
' . "\n" . $spaces . ' ' . "\n" - . $spaces . ' ' . "\n" + . $spaces . ' ' . "\n" . $spaces . '
' . "\n"; } echo $spaces . ' ' . "\n"; @@ -586,7 +586,7 @@ function PMA_displayLoginInformationFields($mode = 'new', $indent = 0 ) { . $spaces . ' ' . "\n" . $spaces . ' ' . "\n" . $spaces . '' . "\n" - . $spaces . '' . "\n" + . $spaces . '' . "\n" . $spaces . '' . "\n" . $spaces . '
' . "\n" . $spaces . '
' . "\n" . $spaces . '
' . "\n" . $spaces . '
' . "\n" . $spaces . '
' . "\n" . $spaces . '' . "\n" . $spaces . ' ' . "\n" - . $spaces . '' . "\n" + . $spaces . '' . "\n" . $spaces . '
' . "\n" . $spaces . '
' . "\n" . $spaces . '' . "\n" . $spaces . '' . "\n" - . $spaces . ' ' . "\n" + . $spaces . ' ' . "\n" . $spaces . ' ' . "\n" . $spaces . '' . "\n" - . $spaces . '' . "\n" + . $spaces . '' . "\n" . $spaces . '
' . "\n" . $spaces . '' . "\n"; } // end of the 'PMA_displayUserAndHostFields()' function @@ -1736,7 +1736,7 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) { } echo ' ' . "\n"; } - echo ' ' . "\n" + echo ' ' . "\n" .PMA_showHint( $GLOBALS['strEscapeWildcards'] ); } else { echo ' ' . "\n" @@ -1761,7 +1761,7 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) { } else { unset($res); } - echo ' ' . "\n"; + echo ' ' . "\n"; } echo '' . "\n"; echo '
' . "\n" @@ -1785,12 +1785,12 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) { . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" - . ' ' . "\n" + . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" - . ' ' . "\n" + . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . '
' . "\n"