mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Move content of .js.html files to .html
This commit is contained in:
parent
61e556ae11
commit
1fa3c4b3fb
43 changed files with 550 additions and 507 deletions
|
@ -169,3 +169,23 @@
|
|||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php insert_scripts(); ?>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#v_email').change(function() {
|
||||
document.getElementById('v_notify').value = document.getElementById('v_email').value;
|
||||
});
|
||||
});
|
||||
|
||||
function randomString() {
|
||||
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz';
|
||||
var string_length = 10;
|
||||
var randomstring = '';
|
||||
for (var i = 0; i < string_length; i++) {
|
||||
var rnum = Math.floor(Math.random() * chars.length);
|
||||
randomstring += chars.substr(rnum, 1);
|
||||
}
|
||||
document.v_add_user.v_password.value = randomstring;
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue