added button to generate random password
This commit is contained in:
parent
057997970d
commit
3ee6d00a8a
1 changed files with 5 additions and 1 deletions
|
@ -207,7 +207,11 @@
|
|||
<input name="savemode" type="hidden" value="<?php if(isset($mode)){echo $mode;} ?>"/>
|
||||
<input name="id" class="sendbutton" type="hidden" value="<?php if(isset($id)){echo $id;} ?>"/>
|
||||
|
||||
<p>
|
||||
<input type="button" class="button button-small" name="Text 1" value="Generate password"
|
||||
onclick="pass=generatePassword();this.form.password.value=pass;this.form.password_rep.value=pass;this.form.password.type='text';this.form.password_rep.type='text'">
|
||||
</p>
|
||||
<p>
|
||||
<input type="submit" class="button button-small" value="Save settings">
|
||||
</p>
|
||||
</form>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Reference in a new issue