summaryrefslogtreecommitdiff
path: root/app/php/controls/RegistrationForm.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/controls/RegistrationForm.tpl')
-rw-r--r--app/php/controls/RegistrationForm.tpl66
1 files changed, 0 insertions, 66 deletions
diff --git a/app/php/controls/RegistrationForm.tpl b/app/php/controls/RegistrationForm.tpl
deleted file mode 100644
index 9defe54..0000000
--- a/app/php/controls/RegistrationForm.tpl
+++ /dev/null
@@ -1,66 +0,0 @@
-<%[ Username: ]%>
-<com:TTextBox ID="Login"
- ValidationGroup="SignupGroup" />
-<com:TRequiredFieldValidator
- ControlToValidate="Login"
- Display="Dynamic"
- ValidationGroup="SignupGroup">
- <prop:ErrorMessage><%[ Username cannot be empty ]%></prop:ErrorMessage>
-</com:TRequiredFieldValidator>
-<com:TRegularExpressionValidator
- ControlToValidate="Login"
- RegularExpression="[a-zA-Z0-9_]{6,255}"
- Display="Dynamic"
- ValidationGroup="SignupGroup">
- <prop:ErrorMessage><%[ Username must contain 6-255 characters, all Latin alphanumeric or underscore ]%></prop:ErrorMessage>
-</com:TRegularExpressionValidator>
-<com:TCustomValidator
- ControlToValidate="Login"
- OnServerValidate="checkUsername"
- Display="Dynamic"
- ValidationGroup="SignupGroup">
- <prop:ErrorMessage><%[ Username already exists ]%></prop:ErrorMessage>
-</com:TCustomValidator>
-<br />
-<%[ Password: ]%>
-<com:TTextBox ID="Password"
- TextMode="Password"
- ValidationGroup="SignupGroup" />
-<com:TRequiredFieldValidator
- ControlToValidate="Password"
- Display="Dynamic"
- ValidationGroup="SignupGroup">
- <prop:ErrorMessage><%[ Password cannot be empty ]%></prop:ErrorMessage>
-</com:TRequiredFieldValidator>
-<br />
-<%[ Repeat password: ]%>
-<com:TTextBox ID="RePassword"
- TextMode="Password"
- ValidationGroup="SignupGroup" />
-<com:TRequiredFieldValidator
- ControlToValidate="RePassword"
- Display="Dynamic"
- ValidationGroup="SignupGroup">
- <prop:ErrorMessage><%[ Password cannot be empty ]%></prop:ErrorMessage>
-</com:TRequiredFieldValidator>
-<com:TCompareValidator
- ControlToValidate="RePassword"
- ControlToCompare="Password"
- DataType="String"
- Operator="Equal"
- Display="Dynamic"
- ValidationGroup="SignupGroup">
- <prop:ErrorMessage><%[ Passwords don't match ]%></prop:ErrorMessage>
-</com:TCompareValidator>
-<br />
-<%[ Admin: ]%>
-<com:TCheckBox ID="Admin"
- ValidationGroup="SignupGroup" />
-<br />
-<com:TButton
- OnCommand="registerUser"
- ValidationGroup="SignupGroup">
- <prop:Text><%[ Create ]%></prop:Text>
-</com:TButton>
-<com:TValidationSummary
- ValidationGroup="SignupGroup" />