summaryrefslogtreecommitdiff
path: root/TWiki
diff options
context:
space:
mode:
authorPeter Thoeny <web-hurd@gnu.org>2001-10-25 07:22:41 +0000
committerPeter Thoeny <web-hurd@gnu.org>2001-10-25 07:22:41 +0000
commit1236bd1e5e6df96d5c2c4853063d18f9cdc1fd58 (patch)
treed035e3527dec78e0bd2eb1a887afa5c7e9729db0 /TWiki
parentae573d3517728838c70689fc7125dc0999bb0ae8 (diff)
none
Diffstat (limited to 'TWiki')
-rw-r--r--TWiki/TWikiRegistrationNone.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/TWiki/TWikiRegistrationNone.mdwn b/TWiki/TWikiRegistrationNone.mdwn
index 6c57dadc..601b528b 100644
--- a/TWiki/TWikiRegistrationNone.mdwn
+++ b/TWiki/TWikiRegistrationNone.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;amp; last name: </td>
- <td><input name="Twk1Name" onblur="var sIn = this.value; var sOut = ''; var chgUpper = true; for ( var i = 0; i &lt; 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&gt;='a')&amp;&amp;(ch&lt;='z')) || ((ch&gt;='A')&amp;&amp;(ch&lt;='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 &lt; 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&gt;='a')&amp;&amp;(ch&lt;='z')) || ((ch&gt;='A')&amp;&amp;(ch&lt;='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>