Translation update done using Pootle.
[phpmyadmin/dkf.git] / js / password_generation.js
blob9153cc9b5a63ee16d6c0f7c51ec15bc5241ee3c2
1 /* vim: set expandtab sw=4 ts=4 sts=4: */
2 /**
3  * for libraries/display_change_password.lib.php 
4  *
5  */
7 $(document).ready(function() {
8     $('#tr_element_before_generate_password').parent().append('<tr><td>' + PMA_messages['strGeneratePassword'] + '</td><td><input type="button" id="button_generate_password" value="' + PMA_messages['strGenerate'] + '" onclick="suggestPassword(this.form)" /><input type="text" name="generated_pw" id="generated_pw" /></td></tr>');
9     $('#div_element_before_generate_password').parent().append('<div class="item"><label for="button_generate_password">' + PMA_messages['strGeneratePassword'] + ':</label><span class="options"><input type="button" id="button_generate_password" value="' + PMA_messages['strGenerate'] + '" onclick="suggestPassword(this.form)" /></span><input type="text" name="generated_pw" id="generated_pw" /></div>');
10 });