- Added "Generate Password" function to all modules.
- Random password length: by default, generated passwords will have a length between 10 and 15 characters (instead of a fixed length of 10 characters).
| | |
| | | $wb['DNS srv functions'] = 'DNS srv Funktionen'; |
| | | $wb['DNS txt functions'] = 'DNS txt Funktionen'; |
| | | $wb['Mail mailing list functions'] = 'Mail mailinglist functions'; |
| | | $wb['generate_password_txt'] = 'Passwort erzeugen'; |
| | | ?> |
| | |
| | | $wb['username_unique'] = 'Es gibt bereits einen Benutzer mit diesem Namen'; |
| | | $wb['startmodule_err'] = 'Start Modul ist nicht innerhalb der Module.'; |
| | | $wb['password_strength_txt'] = 'Passwortkomplexität'; |
| | | $wb['generate_password_txt'] = 'Passwort erzeugen'; |
| | | ?> |
| | |
| | | $wb['DNS rp functions'] = 'DNS rp functions'; |
| | | $wb['DNS srv functions'] = 'DNS srv functions'; |
| | | $wb['DNS txt functions'] = 'DNS txt functions'; |
| | | $wb['generate_password_txt'] = 'Generate Password'; |
| | | ?> |
| | |
| | | $wb["groups_txt"] = 'Groups'; |
| | | $wb["default_group_txt"] = 'Default Group'; |
| | | $wb["startmodule_err"] = 'Start module is not within modules.'; |
| | | $wb['generate_password_txt'] = 'Generate Password'; |
| | | ?> |
| | |
| | | |
| | | <div class="ctrlHolder"> |
| | | <label for="remote_password">{tmpl_var name='password_txt'}</label> |
| | | <input name="remote_password" id="password" value="{tmpl_var name='remote_password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> |
| | | <input name="remote_password" id="password" value="{tmpl_var name='remote_password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='password_strength_txt'}</p> |
| | |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="passwort">{tmpl_var name='passwort_txt'}</label> |
| | | <input name="passwort" id="passwort" value="{tmpl_var name='passwort'}" size="15" maxlength="100" type="password" class="textInput" onkeyup="pass_check(this.value)"/> |
| | | <input name="passwort" id="passwort" value="{tmpl_var name='passwort'}" size="15" maxlength="100" type="password" class="textInput" onkeyup="pass_check(this.value)"/> <a href="javascript:void(0);" onClick="generatePassword('passwort');">{tmpl_var name='generate_password_txt'}</a> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='password_strength_txt'}</p> |
| | |
| | | $wb["cron_job_limits_txt"] = 'Cron Job-Limits'; |
| | | $wb["dns_limits_txt"] = 'DNS-Limits'; |
| | | $wb["virtualization_limits_txt"] = 'Virtualisierungs-Limits'; |
| | | $wb['generate_password_txt'] = 'Passwort erzeugen'; |
| | | ?> |
| | |
| | | $wb["cron_job_limits_txt"] = 'Cron Job-Limits'; |
| | | $wb["dns_limits_txt"] = 'DNS-Limits'; |
| | | $wb["virtualization_limits_txt"] = 'Virtualisierungs-Limits'; |
| | | $wb['generate_password_txt'] = 'Passwort erzeugen'; |
| | | ?> |
| | |
| | | $wb["cron_job_limits_txt"] = 'Cron Job Limits'; |
| | | $wb["dns_limits_txt"] = 'DNS Limits'; |
| | | $wb["virtualization_limits_txt"] = 'Virtualization Limits'; |
| | | $wb['generate_password_txt'] = 'Generate Password'; |
| | | ?> |
| | |
| | | $wb["cron_job_limits_txt"] = 'Cron Job Limits'; |
| | | $wb["dns_limits_txt"] = 'DNS Limits'; |
| | | $wb["virtualization_limits_txt"] = 'Virtualization Limits'; |
| | | $wb['generate_password_txt'] = 'Generate Password'; |
| | | ?> |
| | |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="password">{tmpl_var name='password_txt'}</label> |
| | | <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> |
| | | <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='password_strength_txt'}</p> |
| | |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="password">{tmpl_var name='password_txt'}</label> |
| | | <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> |
| | | <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='password_strength_txt'}</p> |
| | |
| | | return rv; |
| | | } |
| | | |
| | | function password(length, special) { |
| | | function password(minLength, special){ |
| | | var iteration = 0; |
| | | var password = ""; |
| | | var randomNumber; |
| | | length = length || 10; |
| | | minLength = minLength || 10; |
| | | var maxLength = minLength + 5; |
| | | var length = getRandomInt(minLength, maxLength); |
| | | if(special == undefined){ |
| | | var special = false; |
| | | } |
| | |
| | | oldPWField.remove(); |
| | | newPWField.attr('id', passwordFieldID).val(password(10, true)).trigger('keyup'); |
| | | } |
| | | |
| | | function getRandomInt(min, max){ |
| | | return Math.floor(Math.random() * (max - min + 1)) + min; |
| | | } |
| | | |
| | |
| | | $wb['client_txt'] = 'Client'; |
| | | $wb['email_txt'] = 'Email'; |
| | | $wb['password_txt'] = 'Password'; |
| | | $wb['generate_password_txt'] = 'Passwort erzeugen'; |
| | | ?> |
| | |
| | | $wb['error_login_email_txt'] = 'Dieser Loginname ist nicht zulässig. Bitte verwenden Sie einen anderen Loginnamen oder die E-Mail-Adresse als Login.'; |
| | | $wb['domain_txt'] = 'Domain'; |
| | | $wb['now_txt'] = 'Now'; |
| | | $wb['generate_password_txt'] = 'Passwort erzeugen'; |
| | | ?> |
| | |
| | | $wb["client_txt"] = 'Client'; |
| | | $wb["email_txt"] = 'Email'; |
| | | $wb["password_txt"] = 'Password'; |
| | | $wb['generate_password_txt'] = 'Generate Password'; |
| | | ?> |
| | |
| | | $wb['login_error_regex'] = 'Valid characters are A-Z, a-z, 0-9, ., _ and -.'; |
| | | $wb['login_txt'] = 'Login'; |
| | | $wb['error_login_email_txt'] = 'This login is not allowed. Please enter a different login or use the mail address as login.'; |
| | | $wb['generate_password_txt'] = 'Generate Password'; |
| | | ?> |
| | |
| | | </tmpl_if> |
| | | <div class="ctrlHolder"> |
| | | <label for="password">{tmpl_var name='password_txt'}</label> |
| | | <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> |
| | | <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='password_strength_txt'}</p> |
| | |
| | | </div></tmpl_if> |
| | | <div class="ctrlHolder"> |
| | | <label for="password">{tmpl_var name='password_txt'}</label> |
| | | <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> |
| | | <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" onkeyup="pass_check(this.value)" /> <a href="javascript:void(0);" onClick="generatePassword('password');">{tmpl_var name='generate_password_txt'}</a> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='password_strength_txt'}</p> |
| | |
| | | $wb['password_strength_txt'] = 'Passwortkomplexität'; |
| | | $wb['Form to edit the user password and language.'] = 'Formular, um das Benutzerpasswort und die Sprache zu bearbeiten.'; |
| | | $wb['Settings'] = 'Einstellungen'; |
| | | $wb['generate_password_txt'] = 'Passwort erzeugen'; |
| | | ?> |
| | |
| | | $wb["password_mismatch"] = 'The password in the second password field does not match the first password.'; |
| | | $wb["Form to edit the user password and language."] = 'Form to edit the user password and language.'; |
| | | $wb["Settings"] = 'Settings'; |
| | | $wb['generate_password_txt'] = 'Generate Password'; |
| | | ?> |
| | |
| | | <fieldset class="inlineLabels"> |
| | | <div class="ctrlHolder"> |
| | | <label for="passwort">{tmpl_var name='passwort_txt'}</label> |
| | | <input name="passwort" id="passwort" value="{tmpl_var name='passwort'}" size="15" maxlength="100" type="password" class="textInput" onkeyup="pass_check(this.value)"/> |
| | | <input name="passwort" id="passwort" value="{tmpl_var name='passwort'}" size="15" maxlength="100" type="password" class="textInput" onkeyup="pass_check(this.value)"/> <a href="javascript:void(0);" onClick="generatePassword('passwort');">{tmpl_var name='generate_password_txt'}</a> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='password_strength_txt'}</p> |
| | |
| | | $wb['template_nameserver_error_empty'] = 'Nameserver ist leer.'; |
| | | $wb['Virtual server'] = 'Virtueller Server'; |
| | | $wb['Advanced'] = 'Erweitert'; |
| | | $wb['generate_password_txt'] = 'Passwort erzeugen'; |
| | | ?> |
| | |
| | | $wb["template_nameserver_error_empty"] = 'Nameserver(s) is empty.'; |
| | | $wb["Virtual server"] = 'Virtual server'; |
| | | $wb["Advanced"] = 'Advanced'; |
| | | $wb['generate_password_txt'] = 'Generate Password'; |
| | | ?> |
| | |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="vm_password">{tmpl_var name='vm_password_txt'}</label> |
| | | <input name="vm_password" id="vm_password" value="{tmpl_var name='vm_password'}" size="30" maxlength="255" type="text" class="textInput" /> |
| | | <input name="vm_password" id="vm_password" value="{tmpl_var name='vm_password'}" size="30" maxlength="255" type="text" class="textInput" /> <a href="javascript:void(0);" onClick="generatePassword('vm_password');">{tmpl_var name='generate_password_txt'}</a> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='start_boot_txt'}</p> |