diff -r 2c9745b5c09d -r fb4f9e6f378f plugins/SpecialUserFuncs.php
--- a/plugins/SpecialUserFuncs.php Thu Feb 07 07:58:07 2008 -0500
+++ b/plugins/SpecialUserFuncs.php Thu Feb 07 15:45:44 2008 -0500
@@ -611,8 +611,8 @@
|
-
-
+ |
+
|
@@ -629,7 +629,7 @@
Loading...
-
+
|
@@ -674,7 +674,7 @@
-
+
|
@@ -862,11 +862,11 @@
var regex = new RegExp('^([^<>&\?]+){2,}$', 'ig');
if ( frm.username.value.match(regex) )
{
- document.getElementById('s_username').src='/images/unknown.gif';
+ document.getElementById('s_username').src='/images/checkunk.png';
document.getElementById('e_username').innerHTML = ' ';
} else {
failed = true;
- document.getElementById('s_username').src='/images/bad.gif';
+ document.getElementById('s_username').src='/images/checkbad.png';
document.getElementById('e_username').innerHTML = '
' + $lang.get('user_reg_err_username_invalid') + '';
}
}
@@ -881,7 +881,7 @@
{
if(frm.password.value.match(/^(.+){6,}$/ig) && frm.password_confirm.value.match(/^(.+){6,}$/ig) && frm.password.value == frm.password_confirm.value )
{
- document.getElementById('s_password').src='/images/good.gif';
+ document.getElementById('s_password').src='/images/check.png';
document.getElementById('e_password').innerHTML = '
' + $lang.get('user_reg_err_password_good') + '';
} else {
failed = true;
@@ -897,7 +897,7 @@
{
document.getElementById('e_password').innerHTML = '';
}
- document.getElementById('s_password').src='/images/bad.gif';
+ document.getElementById('s_password').src='/images/checkbad.png';
}
}
@@ -906,10 +906,10 @@
// workaround for idiot jEdit bug
if ( validateEmail(frm.email.value) && ( field.name == 'email' || field.name == '_nil' ) )
{
- document.getElementById('s_email').src='/images/good.gif';
+ document.getElementById('s_email').src='/images/check.png';
} else {
failed = true;
- document.getElementById('s_email').src='/images/bad.gif';
+ document.getElementById('s_email').src='/images/checkbad.png';
}
if(failed)
{
@@ -927,10 +927,10 @@
var regex = new RegExp('^([^<>&\?]+){2,}$', 'ig');
if ( frm.username.value.match(regex) )
{
- document.getElementById('s_username').src='/images/unknown.gif';
+ document.getElementById('s_username').src='/images/checkunk.png';
document.getElementById('e_username').innerHTML = ' ';
} else {
- document.getElementById('s_username').src='/images/bad.gif';
+ document.getElementById('s_username').src='/images/checkbad.png';
document.getElementById('e_username').innerHTML = '
' + $lang.get('user_reg_err_username_invalid') + '';
return false;
}
@@ -941,11 +941,11 @@
if(ajax.readyState == 4)
if(ajax.responseText == 'good')
{
- document.getElementById('s_username').src='/images/good.gif';
+ document.getElementById('s_username').src='/images/check.png';
document.getElementById('e_username').innerHTML = '
' + $lang.get('user_reg_msg_username_available') + '';
namegood = true;
} else if(ajax.responseText == 'bad') {
- document.getElementById('s_username').src='/images/bad.gif';
+ document.getElementById('s_username').src='/images/checkbad.png';
document.getElementById('e_username').innerHTML = '
' + $lang.get('user_reg_msg_username_unavailable') + '';
namegood = false;
} else {