diff options
Diffstat (limited to 'root/register')
-rw-r--r-- | root/register/check.tt | 4 | ||||
-rw-r--r-- | root/register/complete.tt | 16 | ||||
-rw-r--r-- | root/register/index.tt | 45 |
3 files changed, 65 insertions, 0 deletions
diff --git a/root/register/check.tt b/root/register/check.tt new file mode 100644 index 0000000..aab8e33 --- /dev/null +++ b/root/register/check.tt @@ -0,0 +1,4 @@ +<h2>Success</h2> +<p> +[% message %] + diff --git a/root/register/complete.tt b/root/register/complete.tt new file mode 100644 index 0000000..a4f07e2 --- /dev/null +++ b/root/register/complete.tt @@ -0,0 +1,16 @@ +[% MACRO l(text, args) BLOCK; + c.localize(text, args); +END; %] + + +<h2>[% l('Registration completed') %]</h2> + +<span class="error"> +[% FOREACH error IN errors %] +[% error %]<br/> +[% END %] +</span> + +<p> +[% l('Registration was successful.') %] +[% l('Check your mail for activation instructions') %] diff --git a/root/register/index.tt b/root/register/index.tt new file mode 100644 index 0000000..f509316 --- /dev/null +++ b/root/register/index.tt @@ -0,0 +1,45 @@ +[% MACRO l(text, args) BLOCK; + c.localize(text, args); +END; %] + + +<h2>[% l('Register') %]</h2> + +<span class="error"> +[% FOREACH error IN errors %] +[% error %]<br/> +[% END %] +</span> + +<form method=POST action="/register/check"> + +<table border=0> +<tr> +<td>[% l('Username') %]</td> +<td><input type=text name="uid" value=[% c.request.params.uid %]></td> +</tr> +<tr> +<td>[% l('First name') %]</td> +<td><input type=text name='gn' value=[% c.request.params.gn %]></td> +</tr> +<tr> +<td>[% l('Surname') %]</td> +<td><input type=text name='sn' value=[% c.request.params.sn %]></td> +</tr> +<tr> +<td>[% l('Email address') %]</td> +<td><input type=text name='mail1' value=[% c.request.params.mail1 %]></td> +</tr> +<tr> +<td>[% l('Confirm Email address') %]</td> +<td><input type=text name='mail2' value=[% c.request.params.mail2 %]></td> +</tr> +<tr> +<td><img src=/register/captcha></td> +<td><input type=text name=validate> +</tr> +<tr> +<td></td> +<td colspan=1><input type='Submit' value='[% l('Register') %]'> +</tr> +</table> |