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