root/yapcasia2008/actdocs/templates/core/user/add

Revision 2610 (checked in by miyagawa, 12 years ago)

merged test to prod

Line 
1 [% USE date %]
2 [% IF date.now > end_date %]
3 <p class="error">
4  {{Sorry, this conference is over.}}
5 </p>
6 [% ELSE %]
7 <p class="attention">
8  {{Please create your user below.}}
9 </p>
10 [% MACRO user_info_x(user)
11    BLOCK;
12 %]<a href="[% user.most_recent_participation.url %]user/[% user.user_id %]">[% user_info_base(user) %]</a>[% END %]
13
14 [% PROCESS error
15    msgs = {
16      ERR_IDENTIFIER_EXISTS => loc("Identifier is already in use. Please choose another.", login),
17      ERR_EMAIL_EXISTS      => loc("The address is already registered.", email),
18      ERR_IDENTIFIER        => loc("Your identifier must contain at least 3 characters"),
19      ERR_FIRST_NAME        => loc("You must enter your first name"),
20      ERR_LAST_NAME         => loc("You must enter your last name"),
21      ERR_EMAIL             => loc("You must enter your email"),
22      ERR_COUNTRY           => loc("You must enter a country from the list"),
23      ERR_EMAIL_SYNTAX      => loc("Your email address looks bogus."),
24      ERR_DUPLICATE_EXISTS  => loc("Accounts with similar information already exist."),
25      ERR_TSHIRT            => loc("A valid T-shirt size is required."),
26   }
27 %]
28
29 [% IF duplicates.size ;
30    "<p>";
31    FOREACH u IN duplicates ;
32        "[" ; u.login ; "] ";
33        user_info_x(u);
34        IF ! u.email_hide ; " &lt;"; u.email; "&gt;" ; END ;
35        " ("; u.country_name;
36        ")<br />";
37    END;
38    "</p>";
39 %]
40 <p>[% loc("Use the links above to check if you are one of those.", make_uri('main')) %]</p>
41 [% END %]
42 [% PROCESS 'user/forms/new_user' %]
43
44 <p>[% loc("To register, you first need to create an account on the site.", make_uri('main')) %]</p>
45 <p>[% loc("The personal data that will be gathered here will be used to create", make_uri('search')) %]</p>
46 <p>{{Once you have an account, you'll be able to use our secure payment}}</p>
47 <p>{{We do not have access to your credit card information}}</p>
48
49 [% END %]
50
Note: See TracBrowser for help on using the browser.