mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Empty commit
This commit is contained in:
parent
d9b66d41ad
commit
d4724365ea
@ -26,8 +26,6 @@
|
|||||||
case 'Forums':
|
case 'Forums':
|
||||||
$FileName = 'forums.class';
|
$FileName = 'forums.class';
|
||||||
break;
|
break;
|
||||||
case 'ForumsView':
|
|
||||||
$FileName = 'forumsview.class';
|
|
||||||
case 'Forum':
|
case 'Forum':
|
||||||
$FileName = 'forum.class';
|
$FileName = 'forum.class';
|
||||||
break;
|
break;
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
CHANGELOG
|
CHANGELOG
|
||||||
|
|
||||||
|
2013-07-23 by draculesti
|
||||||
|
New mod button to generate random user passwords
|
||||||
|
|
||||||
2013-07-13 by draculesti
|
2013-07-13 by draculesti
|
||||||
Ability to quote locked and trashed threads
|
Ability to quote locked and trashed threads
|
||||||
|
|
||||||
|
@ -1120,6 +1120,7 @@ function check_paranoia_here($Setting) {
|
|||||||
<td class="label">New password:</td>
|
<td class="label">New password:</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" size="30" id="change_password" name="ChangePassword" />
|
<input type="text" size="30" id="change_password" name="ChangePassword" />
|
||||||
|
<button type="button" id="random_password">Generate</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
@ -217,3 +217,15 @@ function displayCommStats(stats) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$("#random_password").click(function() {
|
||||||
|
var length = 15,
|
||||||
|
charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+-=<>?",
|
||||||
|
password = "";
|
||||||
|
for (var i = 0, n = charset.length; i < length; ++i) {
|
||||||
|
password += charset.charAt(Math.floor(Math.random() * n));
|
||||||
|
}
|
||||||
|
$('#change_password').val(password);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user