data/TWiki/TWikiRegistration.txt,v
author Colas Nahaboo <colas@nahaboo.net>
Mon, 11 Aug 2008 20:30:19 +0200
changeset 1 e2915a7cbdfa
parent 0 414e01d06fd5
permissions -rw-r--r--
TWiki-4.2.1 Release
     1 head	1.14;
     2 access;
     3 symbols;
     4 locks; strict;
     5 comment	@# @;
     6 
     7 
     8 1.14
     9 date	2008.08.03.22.17.46;	author TWikiContributor;	state Exp;
    10 branches;
    11 next	1.13;
    12 
    13 1.13
    14 date	2008.01.22.03.21.29;	author TWikiContributor;	state Exp;
    15 branches;
    16 next	1.12;
    17 
    18 1.12
    19 date	2007.01.16.04.11.58;	author TWikiContributor;	state Exp;
    20 branches;
    21 next	1.11;
    22 
    23 1.11
    24 date	2006.06.25.16.26.27;	author TWikiContributor;	state Exp;
    25 branches;
    26 next	1.10;
    27 
    28 1.10
    29 date	2006.04.01.05.55.14;	author TWikiContributor;	state Exp;
    30 branches;
    31 next	1.9;
    32 
    33 1.9
    34 date	2006.02.01.12.01.19;	author TWikiContributor;	state Exp;
    35 branches;
    36 next	1.8;
    37 
    38 1.8
    39 date	2003.01.30.08.48.03;	author PeterThoeny;	state Exp;
    40 branches;
    41 next	1.7;
    42 
    43 1.7
    44 date	2001.10.25.07.22.41;	author PeterThoeny;	state Exp;
    45 branches;
    46 next	1.6;
    47 
    48 1.6
    49 date	2001.08.11.17.31.06;	author PeterThoeny;	state Exp;
    50 branches;
    51 next	1.5;
    52 
    53 1.5
    54 date	2001.08.06.05.30.55;	author PeterThoeny;	state Exp;
    55 branches;
    56 next	1.4;
    57 
    58 1.4
    59 date	2000.08.18.07.23.22;	author PeterThoeny;	state Exp;
    60 branches;
    61 next	1.3;
    62 
    63 1.3
    64 date	2000.05.24.22.58.29;	author PeterThoeny;	state Exp;
    65 branches;
    66 next	1.2;
    67 
    68 1.2
    69 date	2000.04.29.06.55.58;	author PeterThoeny;	state Exp;
    70 branches;
    71 next	1.1;
    72 
    73 1.1
    74 date	2000.04.21.23.24.57;	author PeterThoeny;	state Exp;
    75 branches;
    76 next	;
    77 
    78 
    79 desc
    80 @none
    81 @
    82 
    83 
    84 1.14
    85 log
    86 @buildrelease
    87 @
    88 text
    89 @%META:TOPICINFO{author="TWikiContributor" date="1216489724" format="1.0" version="14"}%
    90 ---+ %MAKETEXT{"Registration"}%
    91 
    92 %IF{"context registration_supported" 
    93 then="*%MAKETEXT{"To edit pages on this TWikiSite, you must have a registered user name and password."}%* %IF{"context registration_enabled" then="" else="%BR%%BR% __%MAKETEXT{"Sorry, Registration has been temporarily disabled"}%__ "}%" 
    94 else="*%MAKETEXT{"This TWiki does _not_ support new User Registration"}%*"
    95 }%
    96 
    97 <!--
    98       * Set NOREGISTRATION = %IF{"context registration_supported" then="%IF{"context registration_enabled" then="" else="DISABLED"}%" else="DISABLED"}%
    99 -->
   100 
   101 %H% *%MAKETEXT{"Note:"}%* %MAKETEXT{"Registered users can [[[_1]][change]] and [[[_2]][reset]] their passwords." args="%TWIKIWEB%.ChangePassword,%TWIKIWEB%.ResetPassword"}%
   102 
   103 %MAKETEXT{"*Important:* the information provided in this form will be stored in a database on the TWiki server. This database is accessible to anyone who can access the server through the web (though passwords will be encrypted, and e-mail addresses will be obfusticated to help prevent spamming). Your country, or the country where the server is hosted, may have Data Protection laws governing the maintenance of such databases. If you are in doubt, you should contact [_1] for details of the Data Protection Policy of this TWiki server before registering." args="<a href='mailto:%WIKIWEBMASTER%?subject=Data%20Protection%20Policy'>%WIKIWEBMASTER%</a>"}%
   104 
   105 <!-- IMPORTANT NOTE if you want to customize this form: You can delete or add new input variables in this form. The name="" parameter of the input tags must start with: "Twk0..." (if this is an optional entry), "Twk1..." (if this is a required entry). This will ensure that the fields are processed correctly. -->
   106 
   107 <script language="javascript">
   108 <!--
   109 function capitalise(name)
   110 {
   111 var sIn = name;
   112 var sOut = '';
   113 var chgUpper = true;
   114 for ( var i = 0; i < sIn.length; i++ ) {
   115  var ch = sIn.charAt( i );
   116  var chVal = ch.charCodeAt(0);
   117  var ch2 = '';
   118  if( (chVal==192) || (chVal==193) || (chVal==194) || (chVal==195) ) { ch = 'A'; }
   119  if( chVal==196) { ch = 'A'; ch2 = 'E'; }
   120  if( chVal==197) { ch = 'A'; ch2 = 'A'; }
   121  if( chVal==198) { ch = 'A'; ch2 = 'E'; }
   122  if( chVal==199) { ch = 'C'; }
   123  if( (chVal==200) || (chVal==201) || (chVal==202) || (chVal==203) ) { ch = 'E'; }
   124  if( (chVal==204) || (chVal==205) || (chVal==206) || (chVal==207) ) { ch = 'I'; }
   125  if( chVal==208) { ch = 'd'; }
   126  if( chVal==209) { ch = 'N'; }
   127  if( (chVal==210) || (chVal==211) || (chVal==212) || (chVal==213) ) { ch = 'O'; }
   128  if( chVal==214) { ch = 'O'; ch2 = 'E'; }
   129  if( chVal==216) { ch = 'O'; ch2 = 'E'; }
   130  if( (chVal==217) || (chVal==218) || (chVal==219) ) { ch = 'U'; }
   131  if( chVal==220) { ch = 'U'; ch2 = 'E'; }
   132  if( chVal==221) { ch = 'Y'; }
   133  if( chVal==222) { ch = 'P'; }
   134  if( chVal==223) { ch = 's'; ch2 = 's'; }
   135  if( (chVal==224) || (chVal==225) || (chVal==226) || (chVal==227) ) { ch = 'a'; }
   136  if( chVal==228) { ch = 'a'; ch2 = 'e'; }
   137  if( chVal==229) { ch = 'a'; ch2 = 'a'; }
   138  if( chVal==230) { ch = 'a'; ch2 = 'e'; }
   139  if( chVal==231) { ch = 'c'; }
   140  if( (chVal==232) || (chVal==233) || (chVal==234) || (chVal==235) ) { ch = 'e'; }
   141  if( (chVal==236) || (chVal==237) || (chVal==238) || (chVal==239) ) { ch = 'i'; }
   142  if( chVal==240) { ch = 'd'; }
   143  if( chVal==241) { ch = 'n'; }
   144  if( (chVal==242) || (chVal==243) || (chVal==244) || (chVal==245) ) { ch = 'o'; }
   145  if( chVal==246) { ch = 'o'; ch2 = 'e'; }
   146  if( chVal==248) { ch = 'o'; ch2 = 'e'; }
   147  if( (chVal==249) || (chVal==250) || (chVal==251) ) { ch = 'u'; }
   148  if( chVal==252) { ch = 'u'; ch2 = 'e'; }
   149  if( chVal==253) { ch = 'y'; }
   150  if( chVal==254) { ch = 'p'; }
   151  if( chVal==255) { ch = 'y'; }
   152  if( ch!=' ' ) {
   153   if( chgUpper ) {
   154    ch = ch.toUpperCase(); chgUpper = false; 
   155   } 
   156   sOut+=ch;
   157   if( ch2!='') {
   158    sOut+=ch2; 
   159   }
   160  } else {
   161   chgUpper = true; 
   162  } 
   163 }
   164 return sOut;
   165 }
   166 //-->
   167 </script>
   168 
   169 <form action="%SCRIPTURLPATH{"register"}%/%MAINWEB%/%HOMETOPIC%" method="post">
   170 <div class="twikiFormSteps">
   171 <div class="twikiFormStep">
   172 *%MAKETEXT{"To register as a new user, simply fill out this form:"}%*
   173 </div>
   174 <div class="twikiFormStep">
   175 <table border="0" cellpadding="0" cellspacing="6">
   176 <tr>
   177   <td></td>
   178   <td>%MAKETEXT{"Fields marked [_1] are required" args="=<font color='red'>**</font>="}%</td>
   179 </tr>
   180 <tr>
   181   <td align="right"> %MAKETEXT{"First Name:"}% </td>
   182   <td><input %NOREGISTRATION% type="text" name="Twk1FirstName" size="40" class="twikiInputField" value="" onblur="this.form.Twk1WikiName.value=capitalise(this.value)+capitalise(this.form.Twk1LastName.value)" /> =<font color="red">**</font>= </td>
   183 </tr>
   184 <tr>
   185   <td align="right"> %MAKETEXT{"Last Name:"}% </td>
   186   <td><input %NOREGISTRATION%  type="text" name="Twk1LastName" size="40" class="twikiInputField" value="" onblur="this.form.Twk1WikiName.value=capitalise(this.form.Twk1FirstName.value)+capitalise(this.value)" /> =<font color="red">**</font>= </td>
   187 </tr>
   188   <td align="right"> %MAKETEXT{"(identifies you to others) WikiName:"}% </td>
   189   <td><input %NOREGISTRATION%  type="text" name="Twk1WikiName" size="40" class="twikiInputField" value="" onblur="" /> =<font color="red">**</font>= </td>
   190 </tr>
   191 <!--
   192    # optional row for login name, enabled by {Register}{AllowLoginName} option in =configure=
   193    * Set BESPOKE_AUTH = <tr><td align=\"right\"> %MAKETEXT{"(how you log in) LoginName:"}% </td><td><input %NOREGISTRATION% type=\"text\" name=\"Twk1LoginName\" size=\"40\" class=\"twikiInputField\" value=\"%REMOTE_USER%\" /> =<font color='red'>**</font>= </td></tr>
   194 -->
   195 %IF{"$ ALLOWLOGINNAME" then="%BESPOKE_AUTH%"}%
   196 <tr>
   197   <td align="right"> %MAKETEXT{"E-mail address:"}% </td>
   198   <td><input %NOREGISTRATION%  type="text" name="Twk1Email" size="40" class="twikiInputField" value="" /> =<font color="red">**</font>= </td>
   199 </tr>
   200 <!--
   201    # optional rows for password, enabled by {Register}{AllowLoginName} option in =configure=, we assume that login name means that TWiki does not handle passwords
   202    * Set BESPOKE_PASSWORD = <tr><td align=\"right\"> %MAKETEXT{"Your password:"}% </td><td><input %NOREGISTRATION% type=\"password\" name=\"Twk0Password\" size=\"40\" class=\"twikiInputField\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>\
   203      <tr><td align=\"right\"> %MAKETEXT{"Retype password:"}% </td><td><input %NOREGISTRATION% type=\"password\" name=\"Twk0Confirm\" size=\"40\" class=\"twikiInputField\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>
   204 -->
   205 %IF{"$ ALLOWLOGINNAME < 1" then="%BESPOKE_PASSWORD%"}%
   206 <tr>
   207   <td align="right"> %MAKETEXT{"Organisation name:"}% </td>
   208   <td><input %NOREGISTRATION%  type="text" name="Twk0OrganisationName" size="40" class="twikiInputField" value="" /></td>
   209 </tr><tr>
   210   <td align="right"> %MAKETEXT{"Organisation URL:"}% </td>
   211   <td><input %NOREGISTRATION%  type="text" name="Twk0OrganisationURL" size="40" class="twikiInputField" onBlur="if(this.value=='http://') { this.value='' }" onFocus="if(this.value=='') { this.value='http://' }" /></td>
   212 </tr><tr>
   213   <td align="right"> %MAKETEXT{"Country:"}% </td>
   214   <td>
   215   <select class="twikiSelect" %NOREGISTRATION%  name="Twk1Country" size="1">
   216   <option selected value="">Select...</option>
   217   <option>USA</option>
   218   <option>Albania</option>
   219   <option>Algeria</option>
   220   <option>Andorra</option>
   221   <option>Angola</option>
   222   <option>Argentina</option>
   223   <option>Armenia</option>
   224   <option>Aruba</option>
   225   <option>Australia</option>
   226   <option>Austria</option>
   227   <option>Azerbaijan</option>
   228   <option>Bahrain</option>
   229   <option>Bangladesh</option>
   230   <option>Belarus</option>
   231   <option>Belgium</option>
   232   <option>Belize</option>
   233   <option>Benin</option>
   234   <option>Bhutan</option>
   235   <option>Bolivia</option>
   236   <option>Bosnia and Hercegovina</option>
   237   <option>Brazil</option>
   238   <option>Bulgaria</option>
   239   <option>Burundi</option>
   240   <option>Cambodia</option>
   241   <option>Cameroon</option>
   242   <option>Canada</option>
   243   <option>Central African Republic</option>
   244   <option>Chile</option>
   245   <option>China</option>
   246   <option>Colombia</option>
   247   <option>Congo</option>
   248   <option>Costa Rica</option>
   249   <option>Croatia</option>
   250   <option>Cuba</option>
   251   <option>Cyprus</option>
   252   <option>Czech Republic</option>
   253   <option>Denmark</option>
   254   <option>Dominican Republic</option>
   255   <option>Ecuador</option>
   256   <option>Egypt</option>
   257   <option>El Salvador</option>
   258   <option>Estonia</option>
   259   <option>Ethiopia</option>
   260   <option>Fiji</option>
   261   <option>Finland</option>
   262   <option>France</option>
   263   <option>Georgia</option>
   264   <option>Germany</option>
   265   <option>Gibraltar</option>
   266   <option>Greece</option>
   267   <option>Guam</option>
   268   <option>Guatemala</option>
   269   <option>Haiti</option>
   270   <option>Hong Kong</option>
   271   <option>Hungary</option>
   272   <option>Iceland</option>
   273   <option>India</option>
   274   <option>Indonesia</option>
   275   <option>Iran</option>
   276   <option>Iraq</option>
   277   <option>Ireland</option>
   278   <option>Israel</option>
   279   <option>Italy</option>
   280   <option>Jamaica</option>
   281   <option>Japan</option>
   282   <option>Jordan</option>
   283   <option>Kazakstan</option>
   284   <option>Kenya</option>
   285   <option>Korea</option>
   286   <option>Kuwait</option>
   287   <option>Kyrgyz Rebublic</option>
   288   <option>Laos</option>
   289   <option>Latvia</option>
   290   <option>Lebanon</option>
   291   <option>Liberia</option>
   292   <option>Liechtenstein</option>
   293   <option>Lithuania</option>
   294   <option>Luxembourg</option>
   295   <option>Libya</option>
   296   <option>Macao</option>
   297   <option>Macedonia</option>
   298   <option>Malaysia</option>
   299   <option>Malawi</option>
   300   <option>Malta</option>
   301   <option>Mauritius</option>
   302   <option>Mexico</option>
   303   <option>Moldova</option>
   304   <option>Monaco</option>
   305   <option>Morocco</option>
   306   <option>Mozambique</option>
   307   <option>Namibia</option>
   308   <option>Nepal</option>
   309   <option>Netherlands</option>
   310   <option>New Zealand</option>
   311   <option>Nicaragua</option>
   312   <option>Nigeria</option>
   313   <option>Norway</option>
   314   <option>Oman</option>
   315   <option>Pakistan</option>
   316   <option>Panama</option>
   317   <option>Paraguay</option>
   318   <option>Peru</option>
   319   <option>Philippines</option>
   320   <option>Poland</option>
   321   <option>Portugal</option>
   322   <option>Romania</option>
   323   <option>Russia</option>
   324   <option>Saudi Arabia</option>
   325   <option>Senegal</option>
   326   <option>Singapore</option>
   327   <option>Slovakia</option>
   328   <option>Slovenia</option>
   329   <option>South Africa</option>
   330   <option>Spain</option>
   331   <option>Sri Lanka</option>
   332   <option>Suriname</option>
   333   <option>Sweden</option>
   334   <option>Switzerland</option>
   335   <option>Syria</option>
   336   <option>Taiwan</option>
   337   <option>Tajikistan</option>
   338   <option>Tanzania</option>
   339   <option>Thailand</option>
   340   <option>Trinidad and Tobago</option>
   341   <option>Tunisia</option>
   342   <option>Turkey</option>
   343   <option>Turkmenistan</option>
   344   <option>Uganda</option>
   345   <option>Ukraine</option>
   346   <option>United Arab Emirates</option>
   347   <option>United Kingdom</option>
   348   <option>Uruguay</option>
   349   <option>USA</option>
   350   <option>Uzbekistan</option>
   351   <option>Vatican City</option>
   352   <option>Venezuela</option>
   353   <option>Vietnam</option>
   354   <option>Yemen</option>
   355   <option>Yugoslavia</option>
   356   <option>Zaire</option>
   357   <option>Zambia</option>
   358   <option>Zimbabwe</option>
   359   <option value="Other Country">%MAKETEXT{"Other Country"}%</option>
   360   </select> =<font color="red">**</font>=
   361   </td>
   362 </tr>
   363 <tr>
   364   <td valign="top" align="right"> %MAKETEXT{"Comments:"}%<br /> %MAKETEXT{"(optional)"}% </td>
   365   <td><textarea %NOREGISTRATION%  name="Twk0Comment" wrap="virtual" rows="4" cols="38" class="twikiInputField"></textarea></td>
   366 </tr>
   367 </table>
   368 </div><!-- /twikiFormStep-->
   369 <div class="twikiFormStep">
   370 %MAKETEXT{"When [_1] receives the form, it will mail an account activation code to the e-mail address you gave above. Enter that activation code in the following screen, or follow the link in the e-mail, to activate your account. Once your account is activated, [_1] will:" args="%WIKITOOLNAME%"}%
   371    * %MAKETEXT{"Finish creating an account for you, so that you can start editing pages using your WikiName."}%
   372    * %MAKETEXT{"Create your personal [_1] topic using your WikiName as topic name, and add the data you submitted to the topic." args="<nop>%WIKITOOLNAME%"}%
   373    * %MAKETEXT{"Add your name to the list of users in the [_1] topic in the [_2] web." args="%MAINWEB%.%WIKIUSERSTOPIC%,%MAINWEB%"}%
   374    * %MAKETEXT{"Send you a confirmation of your registration by e-mail."}%
   375 <!--
   376    # login method used by this site:
   377    * Set LOGIN_METHOD_IN_THIS_SITE = %IF{"$ ALLOWLOGINNAME" then="LoginName" else="WikiName"}%
   378 -->
   379 %MAKETEXT{"Once registered you can login using your [_1] and password." args="%LOGIN_METHOD_IN_THIS_SITE%"}%
   380 </div>
   381 <div class="twikiFormStep twikiLast">
   382 <input type="hidden" name="rx" value='%BLACKLISTPLUGIN{ action="magic" }%' />
   383 <input type="hidden" name="topic" value="%TOPIC%" />
   384 <input type="hidden" name="action" value="register" />
   385 <input %NOREGISTRATION%  type="submit" class="twikiSubmit" value=' %MAKETEXT{"Submit"}% ' />
   386 </div><!-- /twikiFormStep-->
   387 </div><!-- /twikiFormSteps-->
   388 </form>
   389 
   390 <div class="twikiHelp">
   391    * %ICON{info}% %MAKETEXT{"If you have any questions about registration, send an e-mail to [_1]." args="<a href='mailto:%WIKIWEBMASTER%?subject=%TOPIC%&#32;Question'>%WIKIWEBMASTER%</a>"}%
   392 </div>
   393 
   394 @
   395 
   396 
   397 1.13
   398 log
   399 @buildrelease
   400 @
   401 text
   402 @d1 1
   403 a1 1
   404 %META:TOPICINFO{author="TWikiContributor" date="1167679739" format="1.0" version="13"}%
   405 d166 1
   406 d249 1
   407 d252 1
   408 a252 1
   409   <option>Tajikistan</option>
   410 @
   411 
   412 
   413 1.12
   414 log
   415 @buildrelease
   416 @
   417 text
   418 @d1 1
   419 a1 1
   420 %META:TOPICINFO{author="TWikiContributor" date="1167679739" format="1.0" version="12"}%
   421 d4 8
   422 a11 1
   423 *%MAKETEXT{"To edit pages on this TWikiSite, you must have a registered user name and password."}%*
   424 d94 1
   425 a94 1
   426   <td><input type="text" name="Twk1FirstName" size="40" class="twikiInputField" value="" onblur="this.form.Twk1WikiName.value=capitalise(this.value)+capitalise(this.form.Twk1LastName.value)" /> =<font color="red">**</font>= </td>
   427 d98 1
   428 a98 1
   429   <td><input type="text" name="Twk1LastName" size="40" class="twikiInputField" value="" onblur="this.form.Twk1WikiName.value=capitalise(this.form.Twk1FirstName.value)+capitalise(this.value)" /> =<font color="red">**</font>= </td>
   430 d101 1
   431 a101 1
   432   <td><input type="text" name="Twk1WikiName" size="40" class="twikiInputField" value="" onblur="" /> =<font color="red">**</font>= </td>
   433 d105 1
   434 a105 1
   435    * Set BESPOKE_AUTH = <tr><td align=\"right\"> %MAKETEXT{"(how you log in) LoginName:"}% </td><td><input type=\"text\" name=\"Twk1LoginName\" size=\"40\" class=\"twikiInputField\" value=\"%REMOTE_USER%\" /> =<font color='red'>**</font>= </td></tr>
   436 d110 1
   437 a110 1
   438   <td><input type="text" name="Twk1Email" size="40" class="twikiInputField" value="" /> =<font color="red">**</font>= </td>
   439 d114 2
   440 a115 2
   441    * Set BESPOKE_PASSWORD = <tr><td align=\"right\"> %MAKETEXT{"Your password:"}% </td><td><input type=\"password\" name=\"Twk0Password\" size=\"40\" class=\"twikiInputField\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>\
   442      <tr><td align=\"right\"> %MAKETEXT{"Retype password:"}% </td><td><input type=\"password\" name=\"Twk0Confirm\" size=\"40\" class=\"twikiInputField\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>
   443 d120 1
   444 a120 1
   445   <td><input type="text" name="Twk0OrganisationName" size="40" class="twikiInputField" value="" /></td>
   446 d123 1
   447 a123 1
   448   <td><input type="text" name="Twk0OrganisationURL" size="40" class="twikiInputField" onBlur="if(this.value=='http://') { this.value='' }" onFocus="if(this.value=='') { this.value='http://' }" /></td>
   449 d127 1
   450 a127 1
   451   <select name="Twk1Country" size="1">
   452 d275 1
   453 a275 1
   454   <td><textarea name="Twk0Comment" wrap="virtual" rows="4" cols="38" class="twikiInputField"></textarea></td>
   455 d295 1
   456 a295 1
   457 <input type="submit" class="twikiSubmit" value=' %MAKETEXT{"Submit"}% ' />
   458 a303 3
   459 <table bgcolor="yellow"><tr><td>
   460 __Note to administrator:__ The form fields can be customized to the needs of your organization. See also TWikiUserAuthentication. In case you are registering users through other means, replace this topic with a note describing how to get registered in TWiki. In any case, remove this note.
   461 </td></tr></table>
   462 @
   463 
   464 
   465 1.11
   466 log
   467 @buildrelease
   468 @
   469 text
   470 @d1 1
   471 a1 1
   472 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="11"}%
   473 d4 1
   474 a4 1
   475 %MAKETEXT{"To edit pages on this TWikiSite, you must have a registered user name and password."}%
   476 a7 2
   477 %MAKETEXT{"To register as a new user, simply fill out this form:"}%
   478 
   479 a73 1
   480 <div class="twikiPageForm">
   481 d75 10
   482 a84 1
   483 <table border="1">
   484 d87 1
   485 a87 1
   486   <td><input type="text" name="Twk1FirstName" size="40" value="" onblur="this.form.Twk1WikiName.value=capitalise(this.value)+capitalise(this.form.Twk1LastName.value)" /> =<font color="red">**</font>= </td>
   487 d91 1
   488 a91 1
   489   <td><input type="text" name="Twk1LastName" size="40" value="" onblur="this.form.Twk1WikiName.value=capitalise(this.form.Twk1FirstName.value)+capitalise(this.value)" /> =<font color="red">**</font>= </td>
   490 d94 1
   491 a94 1
   492   <td><input type="text" name="Twk1WikiName" size="40" value="" onblur="" /> =<font color="red">**</font>= </td>
   493 d98 1
   494 a98 1
   495    * Set BESPOKE_AUTH = <tr><td align=\"right\"> %MAKETEXT{"(how you log in) LoginName:"}% </td><td><input type=\"text\" name=\"Twk1LoginName\" size=\"40\" value=\"%REMOTE_USER%\" /> =<font color='red'>**</font>= </td></tr>
   496 d103 1
   497 a103 1
   498   <td><input type="text" name="Twk1Email" size="40" value="" /> =<font color="red">**</font>= </td>
   499 d107 2
   500 a108 2
   501    * Set BESPOKE_PASSWORD = <tr><td align=\"right\"> %MAKETEXT{"Your password:"}% </td><td><input type=\"password\" name=\"Twk0Password\" size=\"40\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>\
   502      <tr><td align=\"right\"> %MAKETEXT{"Retype password:"}% </td><td><input type=\"password\" name=\"Twk0Confirm\" size=\"40\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>
   503 d113 1
   504 a113 1
   505   <td><input type="text" name="Twk0OrganisationName" size="40" value="" /></td>
   506 d116 1
   507 a116 1
   508   <td><input type="text" name="Twk0OrganisationURL" size="40" onBlur="if(this.value=='http://') { this.value='' }" onFocus="if(this.value=='') { this.value='http://' }" /></td>
   509 d184 1
   510 d205 1
   511 d268 1
   512 a268 9
   513   <td><textarea name="Twk0Comment" wrap="virtual" rows="4" cols="38"></textarea></td>
   514 </tr>
   515 <tr>
   516   <td></td>
   517   <td><span class="twikiSmall">%MAKETEXT{"Fields marked [_1] are required" args="=<font color='red'>**</font>="}%</span></td>
   518 </tr>
   519 <tr>
   520   <td valign="top" align="right"> &nbsp; <input type="hidden" name="rx" value='%BLACKLISTPLUGIN{ action="magic" }%' /><input type="hidden" name="topic" value="%TOPIC%" /><input type="hidden" name="action" value="register" /></td>
   521   <td><input type="submit" class="twikiSubmit" value=' %MAKETEXT{"Submit"}% ' /></td>
   522 d271 2
   523 a272 2
   524 </form>
   525 </div>
   526 d283 9
   527 d293 3
   528 a295 1
   529 %MAKETEXT{"If you have any questions about registration, send an e-mail to [_1]." args="<a href='mailto:%WIKIWEBMASTER%?subject=%TOPIC%&#32;Question'>%WIKIWEBMASTER%</a>"}%
   530 @
   531 
   532 
   533 1.10
   534 log
   535 @buildrelease
   536 @
   537 text
   538 @d1 1
   539 a1 1
   540 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="10"}%
   541 d101 2
   542 a102 2
   543    * Set BESPOKE_PASSWORD = <tr><td align=\"right\"> %MAKETEXT{"Your password:"}% </td><td><input type=\"password\" name=\"Twk1Password\" size=\"40\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>\
   544      <tr><td align=\"right\"> %MAKETEXT{"Retype password:"}% </td><td><input type=\"password\" name=\"Twk1Confirm\" size=\"40\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>
   545 @
   546 
   547 
   548 1.9
   549 log
   550 @buildrelease
   551 @
   552 text
   553 @d1 1
   554 a1 1
   555 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="9"}%
   556 d6 1
   557 a6 1
   558 	* %H% *%MAKETEXT{"Note:"}%* %MAKETEXT{"Registered users can ChangePasswords and ResetPasswords."}%
   559 d18 54
   560 a71 6
   561 var sIn = name; 
   562 var sOut = ''; 
   563 var chgUpper = true; 
   564 for ( var i = 0; i < sIn.length; i++ ) 
   565 { var ch = sIn.charAt( i ); var ch2 = ''; if((ch=='&#224;')||(ch=='&#225;')||(ch=='&#226;')||(ch=='&#227;')||(ch=='&#229;') ) { ch = 'a'; } if( (ch=='&#232;')||(ch=='&#233;')||(ch=='&#234;') ) { ch = 'e'; } if( ch=='&#231;') { ch = 'c'; } if( ch=='&#241;') { ch = 'n'; } if( (ch=='&#242;')||(ch=='&#243;')||(ch=='&#244;') ) { ch = 'o'; } if( ch=='&#228;') { ch = 'a'; ch2 = 'e'; } if( ch=='&#246;') { ch = 'o'; ch2 = 'e'; } if( (ch=='&#249;')||(ch=='&#250;')||(ch=='&#251;') ) { ch = 'o'; } if( ch=='&#252;') { ch = 'u'; ch2 = 'e'; } if( ch=='&#196;') { ch = 'A'; ch2 = 'e'; } if( ch=='&#214;') { ch = 'O'; ch2 = 'e'; } if( ch=='&#220;') { ch = 'U'; ch2 = 'e'; } if( ch=='&#223;') { 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; } } }
   566  return sOut;
   567 d91 2
   568 a92 2
   569 	# optional row for login name, enabled by {Register}{AllowLoginName} option in =configure=
   570 	* Set BESPOKE_AUTH = <tr><td align=\"right\"> %MAKETEXT{"(how you log in) LoginName:"}% </td><td><input type=\"text\" name=\"Twk1LoginName\" size=\"40\" value=\"%REMOTE_USER%\" /> =<font color='red'>**</font>= </td></tr>
   571 d100 3
   572 a102 3
   573 	# optional rows for password, enabled by {Register}{AllowLoginName} option in =configure=, we assume that login name means that TWiki does not handle passwords
   574 	* Set BESPOKE_PASSWORD = <tr><td align=\"right\"> %MAKETEXT{"Your password:"}% </td><td><input type=\"password\" name=\"Twk1Password\" size=\"40\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>\
   575 	  <tr><td align=\"right\"> %MAKETEXT{"Retype password:"}% </td><td><input type=\"password\" name=\"Twk1Confirm\" size=\"40\" value=\"\" /> =<font color=\"red\">**</font>= </td></tr>
   576 d133 1
   577 d267 1
   578 a267 1
   579   <td valign="top" align="right"> &nbsp; <input type="hidden" name="topic" value="%TOPIC%" /><input type="hidden" name="action" value="register" /></td>
   580 d274 4
   581 a277 4
   582 	* %MAKETEXT{"Finish creating an account for you, so that you can start editing pages using your WikiName."}%
   583 	* %MAKETEXT{"Create your personal [_1] topic using your WikiName as topic name, and add the data you submitted to the topic." args="<nop>%WIKITOOLNAME%"}%
   584 	* %MAKETEXT{"Add your name to the list of users in the [_1] topic in the [_2] web." args="%MAINWEB%.%WIKIUSERSTOPIC%,%MAINWEB%"}%
   585 	* %MAKETEXT{"Send you a confirmation of your registration by e-mail."}%
   586 d279 2
   587 a280 2
   588 	# login method used by this site:
   589 	* Set LOGIN_METHOD_IN_THIS_SITE = %IF{"$ ALLOWLOGINNAME" then="LoginName" else="WikiName"}%
   590 @
   591 
   592 
   593 1.8
   594 log
   595 @none
   596 @
   597 text
   598 @d1 239
   599 a239 59
   600 %META:TOPICINFO{author="PeterThoeny" date="1043916483" format="1.0" version="1.8"}%
   601 To edit pages on this %WIKITOOLNAME% Collaborative Web, you must have a registered user name in WikiNotation.
   602 
   603 To register as a new user, simply fill out this form:
   604 
   605 <!-- IMPORTANT NOTE if you want to customize this form: You can delete or add new input variables in this form. Use the topic TWikiRegistrationPub in case this installation is on a public server (just copy the content over to the TWikiRegistration topic). The name="" parameter of the input tags must start with: "Twk0..." (if this is an optional entry), "Twk1..." (if this is a required entry). This will ensure that the fields are processed correctly. -->
   606 
   607 <form action="%SCRIPTURL%/register%SCRIPTSUFFIX%/%MAINWEB%/%HOMETOPIC%" method="post">
   608 <table border="1">
   609 <tr>
   610   <td align="right"> First & last name: </td>
   611   <td><input type="text" name="Twk1Name" size="40" value="" 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=='&#224;')||(ch=='&#225;')||(ch=='&#226;')||(ch=='&#227;')||(ch=='&#229;') ) { ch = 'a'; } if( (ch=='&#232;')||(ch=='&#233;')||(ch=='&#234;') ) { ch = 'e'; } if( ch=='&#231;') { ch = 'c'; } if( ch=='&#241;') { ch = 'n'; } if( (ch=='&#242;')||(ch=='&#243;')||(ch=='&#244;') ) { ch = 'o'; } if( ch=='&#228;') { ch = 'a'; ch2 = 'e'; } if( ch=='&#246;') { ch = 'o'; ch2 = 'e'; } if( (ch=='&#249;')||(ch=='&#250;')||(ch=='&#251;') ) { ch = 'o'; } if( ch=='&#252;') { ch = 'u'; ch2 = 'e'; } if( ch=='&#196;') { ch = 'A'; ch2 = 'e'; } if( ch=='&#214;') { ch = 'O'; ch2 = 'e'; } if( ch=='&#220;') { ch = 'U'; ch2 = 'e'; } if( ch=='&#223;') { 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;" /> =<font color="red">**</font>= </td>
   612 </tr><tr>
   613   <td align="right"> Your WikiName: </td>
   614   <td><input type="text" name="Twk1WikiName" size="40" value="" /> =<font color="red">**</font>= </td>
   615 </tr><tr>
   616   <td align="right"> Intranet login name: </td>
   617   <td><input type="text" name="Twk1LoginName" size="40" value="%REMOTE_USER%" /> =<font color="red">**</font>= </td>
   618 </tr><tr>
   619   <td align="right"> Email address: </td>
   620   <td><input type="text" name="Twk1Email" size="40" value="" /> =<font color="red">**</font>= </td>
   621 </tr><tr>
   622   <td align="right"> Phone: </td>
   623   <td><input type="text" name="Twk0Phone" size="40" value="" /></td>
   624 </tr><tr>
   625   <td align="right"> Department: </td>
   626   <td><input type="text" name="Twk0Department" size="40" value="" />
   627 </tr><tr>
   628   <td align="right"> Office location: </td>
   629   <td>
   630   <select name="Twk1Location" size="1">
   631   <option selected value="">Select...</option>
   632   <option>SanJoseOffice</option>
   633   <option>LondonOffice</option>
   634   <option>TokyoOffice</option>
   635   <option value="(Please specify office location)">Other</option>
   636   </select> =<font color="red">**</font>=
   637   </td>
   638 </tr><tr>
   639   <td valign="top" align="right"> Comments : <br /> (optional) &nbsp; </td>
   640   <td><textarea name="Twk0Comment" wrap="virtual" rows="4" cols="38"></textarea></td>
   641 </tr><tr>
   642   <td valign="top" align="right"> &nbsp; <input type="hidden" name="TopicName" value="%TOPIC%" /></td>
   643   <td> <input type="submit" value=" Submit "> &nbsp;&nbsp; (Fields marked =<Font color="red">**</font>= are required) </td>
   644 </tr>
   645 </table>
   646 </form>
   647 
   648 __Submitting the form will automatically:__ 
   649 
   650 	* Create an account for you, so that you can start editing pages using your WikiName.
   651 	* Create your personal %WIKITOOLNAME% topic using your WikiName as topic name, and add the data you submitted to the topic.
   652 	* Add your name to the list of users in the %MAINWEB%.%WIKIUSERSTOPIC% topic in the %MAINWEB% web.
   653 	* Send you a confirmation of your registration by email.
   654 
   655 
   656 Once registered you can login using your WikiName and password.
   657 
   658 If you have any questions about registration, send an email to <a href="mailto:%WIKIWEBMASTER%?subject=%TOPIC%&#32;Question">%WIKIWEBMASTER%</a>.
   659 @
   660 
   661 
   662 1.7
   663 log
   664 @none
   665 @
   666 text
   667 @d1 1
   668 a1 1
   669 %META:TOPICINFO{author="PeterThoeny" date="1003994561" format="1.0" version="1.7"}%
   670 d12 1
   671 a12 1
   672   <td><input type="text" name="Twk1Name" size="40" value="" 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=='&#224;')||(ch=='&#225;')||(ch=='&#226;')||(ch=='&#227;')||(ch=='&#229;') ) { ch = 'a'; } if( (ch=='&#232;')||(ch=='&#233;')||(ch=='&#234;') ) { ch = 'e'; } if( ch=='&#231;') { ch = 'c'; } if( ch=='&#241;') { ch = 'n'; } if( (ch=='&#242;')||(ch=='&#243;')||(ch=='&#244;') ) { ch = 'o'; } if( ch=='&#228;') { ch = 'a'; ch2 = 'e'; } if( ch=='&#246;') { ch = 'o'; ch2 = 'e'; } if( (ch=='&#249;')||(ch=='&#250;')||(ch=='&#251;') ) { ch = 'o'; } if( ch=='&#252;') { ch = 'u'; ch2 = 'e'; } if( ch=='&#196;') { ch = 'A'; ch2 = 'e'; } if( ch=='&#214;') { ch = 'O'; ch2 = 'e'; } if( ch=='&#220;') { ch = 'U'; ch2 = 'e'; } if( ch=='&#223;') { 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;" /> =<font color="red">**</font>= </td>
   673 d53 1
   674 a53 1
   675 	* Add your name to the list of users in the %MAINWEB%.%WIKIUSERSTOPIC% topic in the %WIKITOOLNAME%.%MAINWEB% web.
   676 d59 1
   677 a59 1
   678 If you have any questions about registration, send an email to <A href="mailto:%WIKIWEBMASTER%?subject=%TOPIC%&#32;Question">%WIKIWEBMASTER%</A>.
   679 @
   680 
   681 
   682 1.6
   683 log
   684 @none
   685 @
   686 text
   687 @d1 1
   688 a1 1
   689 %META:TOPICINFO{author="PeterThoeny" date="997551066" format="1.0beta2" version="1.6"}%
   690 d12 1
   691 a12 1
   692   <td><input type="text" name="Twk1Name" size="40" value="" 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;" /> =<font color="red">**</font>= </td>
   693 @
   694 
   695 
   696 1.5
   697 log
   698 @none
   699 @
   700 text
   701 @d1 1
   702 a1 1
   703 %META:TOPICINFO{author="PeterThoeny" date="997076248" format="1.0beta2" version="1.5"}%
   704 d27 2
   705 a28 1
   706   <td><input type="text" name="Twk0Department" size="40" value="" /></tr><tr>
   707 @
   708 
   709 
   710 1.4
   711 log
   712 @none
   713 @
   714 text
   715 @d1 1
   716 d12 1
   717 a12 1
   718   <td><input type="text" name="Twk1Name" size="40" value="" 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;" > =<font color="red">**</font>= </td>
   719 d15 1
   720 a15 1
   721   <td><input type="text" name="Twk1WikiName" size="40" value="" > =<font color="red">**</font>= </td>
   722 d18 1
   723 a18 1
   724   <td><input type="text" name="Twk1LoginName" size="40" value="%REMOTE_USER%" > =<font color="red">**</font>= </td>
   725 d21 1
   726 a21 1
   727   <td><input type="text" name="Twk1Email" size="40" value="" > =<font color="red">**</font>= </td>
   728 d24 1
   729 a24 1
   730   <td><input type="text" name="Twk0Phone" size="40" value="" ></td>
   731 d27 1
   732 a27 1
   733   <td><input type="text" name="Twk0Department" size="40" value="" </tr><tr>
   734 d39 1
   735 a39 1
   736   <td valign="top" align="right"> Comments : <br> (optional) &nbsp; </td>
   737 d42 1
   738 a42 1
   739   <td valign="top" align="right"> &nbsp; <input type="hidden" name="TopicName" value="%TOPIC%"></td>
   740 d49 1
   741 d58 1
   742 a58 1
   743 If you have any questions about registration, send an email to <A href="mailto:%WIKIWEBMASTER%?subject=%TOPIC% Question">%WIKIWEBMASTER%</A>.
   744 @
   745 
   746 
   747 1.3
   748 log
   749 @none
   750 @
   751 text
   752 @d7 1
   753 a7 1
   754 <form action="%SCRIPTURL%/register%SCRIPTSUFFIX%" method="post">
   755 d49 2
   756 a50 2
   757 	* Create your personal TWiki topic using your WikiName as topic name, and add the data you submitted to the topic.
   758 	* Add your name to the list of users in the TWikiUsers topic.
   759 @
   760 
   761 
   762 1.2
   763 log
   764 @none
   765 @
   766 text
   767 @d7 1
   768 a7 1
   769 <form action="%SCRIPTURL%/register" method="post">
   770 @
   771 
   772 
   773 1.1
   774 log
   775 @none
   776 @
   777 text
   778 @d26 11
   779 a36 1
   780   <td><input type="text" name="Twk0Department" size="40" value="" ></td>
   781 @