diff options
-rw-r--r-- | TWiki/TWikiRegistration.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TWiki/TWikiRegistration.mdwn b/TWiki/TWikiRegistration.mdwn index effcd5b2..f5811496 100644 --- a/TWiki/TWikiRegistration.mdwn +++ b/TWiki/TWikiRegistration.mdwn @@ -6,7 +6,7 @@ To register as a new user, simply fill out this form: <table border="1"> <tr> <td align="right"> First &amp; last name: </td> - <td><input name="Twk1Name" onblur="var sIn = this.value; var sOut = ''; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var ch2 = ''; if( (ch=='�')||(ch=='�')||(ch=='�')||(ch=='�')||(ch=='�') ) { ch = 'a'; } if( (ch=='�')||(ch=='�')||(ch=='�') ) { ch = 'e'; } if( ch=='�') { ch = 'c'; } if( ch=='�') { ch = 'o'; } if( ch=='�') { ch = 'a'; ch2 = 'e'; } if( ch=='�') { ch = 'o'; ch2 = 'e'; } if( ch=='�') { ch = 'u'; ch2 = 'e'; } if( ch=='�') { ch = 'A'; ch2 = 'e'; } if( ch=='�') { ch = 'O'; ch2 = 'e'; } if( ch=='�') { ch = 'U'; ch2 = 'e'; } if( ch=='�') { ch = 's'; ch2 = 's'; } if( ((ch>='a')&&(ch<='z')) || ((ch>='A')&&(ch<='Z')) ) { if( chgUpper ) { ch = ch.toUpperCase(); chgUpper = false; } sOut+=ch; if( ch2!='') { sOut+=ch2; } } else { if( ch==' ' ) { chgUpper = true; } } } this.form.Twk1WikiName.value=sOut;" size="40" type="text" value="" /> <code><font color="red">**</font></code></td> + <td><input name="Twk1Name" onblur="var sIn = this.value; var sOut = ''; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var ch2 = ''; if((ch=='à')||(ch=='á')||(ch=='â')||(ch=='ã')||(ch=='å') ) { ch = 'a'; } if( (ch=='è')||(ch=='é')||(ch=='ê') ) { ch = 'e'; } if( ch=='ç') { ch = 'c'; } if( ch=='ñ') { ch = 'n'; } if( (ch=='ò')||(ch=='ó')||(ch=='ô') ) { ch = 'o'; } if( ch=='ä') { ch = 'a'; ch2 = 'e'; } if( ch=='ö') { ch = 'o'; ch2 = 'e'; } if( (ch=='ù')||(ch=='ú')||(ch=='û') ) { ch = 'o'; } if( ch=='ü') { ch = 'u'; ch2 = 'e'; } if( ch=='Ä') { ch = 'A'; ch2 = 'e'; } if( ch=='Ö') { ch = 'O'; ch2 = 'e'; } if( ch=='Ü') { ch = 'U'; ch2 = 'e'; } if( ch=='ß') { ch = 's'; ch2 = 's'; } if( ((ch>='a')&&(ch<='z')) || ((ch>='A')&&(ch<='Z')) ) { if( chgUpper ) { ch = ch.toUpperCase(); chgUpper = false; } sOut+=ch; if( ch2!='') { sOut+=ch2; } } else { if( ch==' ' ) { chgUpper = true; } } } this.form.Twk1WikiName.value=sOut;" size="40" type="text" value="" /> <code><font color="red">**</font></code></td> </tr> <tr> <td align="right"> Your <span style="background:"><font color="">Wiki Name</font></span><a href="http://LOCATION/WikiName">?</a>: </td> |