Update lua versions
[ryzomcore.git] / web / private_php / ams / ingame_templates / register.tpl
blob0f1d683a8169cf7f2eb07de12bffb980a2babab7
1 {config_load file="ams_lib.conf" section="setup"}
2   <div class="title">
3     {$title} 
4   </div>
6   <div>
7     {$welcome_message}
8   </div>
10   {if $userRegistration == '0'|| $userRegistration == '1'}
11   
12   <form name="Page1"
13         method="post"
14         >
15     <table>
16       <tr>
17         <td width="33%" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} id="caption-Username">{$username_tag} </td>
19         <td width="25%">
20           <input type="text"
21                name="Username"
22                value="{if isset($Username)}{$Username}{/if}"
23                maxlength="12"
24                onfocus=
25                "javascript:showTooltip('{$username_tooltip}', this);" />
26         </td>
27         
28         <td id="comment-Username" {if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($USERNAME_ERROR) && $USERNAME_ERROR eq "TRUE"}{$USERNAME}{/if}</td>
29       </tr>
31       <tr>
32         <td width="33%" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-Password">{$password_tag}</td>
34         <td width="25%">
35           <input type="password"
36                name="Password"
37                value=""
38                maxlength="20"
39                onkeyup=
40                "testPassword(document.Page1.Password.value, 'comment-Password')"
41                onfocus="javascript:showTooltip('{$password_message}', this);" />
42         </td>
44         <td id="comment-Password" {if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($PASSWORD_ERROR) && $PASSWORD_ERROR eq "TRUE"}{$PASSWORD}{/if}</td>
45       </tr>
47       <tr>
48         <td width="33%" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} id="caption-ConfirmPass">{$cpassword_tag}</td>
50         <td width="25%"><input type="password"
51                name="ConfirmPass"
52                value=""
53                maxlength="20"
54                onfocus="javascript:showTooltip('{$cpassword_message}', this);" />
55         </td>
57         <td id="comment-ConfirmPass" {if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($CPASSWORD_ERROR) && $CPASSWORD_ERROR eq "TRUE"}{$CPASSWORD}{/if}</td>
58       </tr>
60       <tr>
61         <td width="33%" {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}class="error"{/if} id="caption-Email">{$email_tag}</td>
63         <td width="25%">
64           <input type="text"
65                name="Email"
66                value=""
67                maxlength="255"
68                onfocus=
69                "javascript:showTooltip('{$email_message}', this);" />
70         </td>
72         <td id="comment-Email" {if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}class="error"{/if} width="42%">{if isset($EMAIL_ERROR) && $EMAIL_ERROR eq "TRUE"}{$EMAIL}{/if}</td>
73       </tr>
75       <tr>
76         <td width=
77         "33%" {if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}class="error"{/if}
78             colspan="2"><input type="checkbox"
79                name="TaC"
80                value="1"
81                onfocus="javascript:showTooltip('', this);" /><span id=
82                "caption-TaC">{$tac_tag}</span></td>
83                                 {if isset($TAC_ERROR) && $TAC_ERROR eq "TRUE"}<td id="comment-TaC" class="error" width="42%">{$tac_message}</td>{/if}
85       </tr>
86     </table>
87     <div class="c1">
88       <input type="submit"
89            name="Submit"
90            value="Continue" />
91     </div>
93   </form>
94   
95   {/if}
97   <div id="signupTooltip"
98        class="c2"
99        inset=""></div>
101   <div id="tooltip-Username">
102     {$username_tooltip}
103   </div>
106   <div id="tooltip-Password">
107     {$password_message}
108   </div>
110   <div id="tooltip-ConfirmPass">
111     {$cpassword_message}
112   </div>
114   <div id="tooltip-Email">
115     {$email_message}
116   </div>
118   <div id="tooltip-TaC"></div>