L’objet FolderDDropControler doit être instancié à chaque fois (même quand le critère...
[Plinn.git] / skins / custom_generic / join_template.pt
1 <html metal:use-macro="context/main_template/macros/master">
2 <head>
3 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
4 </head>
5 <body>
6
7
8 <metal:slot metal:fill-slot="main_no_tabs" i18n:domain="cmf_default"
9 tal:define="form options/form">
10 <h1 tal:content="options/title" i18n:translate="">Become a member</h1>
11 <div class="Desktop">
12
13 <tal:case tal:condition="options/isOrdinaryMember">
14 <p i18n:translate="">You are already a member. You may use the
15 <a href="personalize_form">personalization form</a>
16 to change your membership information.</p>
17 </tal:case>
18
19 <tal:case tal:condition="python:options['isNewMember'] and options['isAnonRegistration']">
20 <p i18n:translate="">You have been registered as a member.</p>
21
22 <p tal:condition="options/validate_email" i18n:translate="">You will receive
23 an email shortly containing your password and instructions on how to
24 activate your membership.</p>
25
26 <tal:case tal:condition="not: options/validate_email">
27 <p i18n:translate="">Click the button to log in immediately.</p>
28 <form tal:attributes="action form/action">
29 <input type="hidden" name="__ac_name" value=""
30 tal:attributes="value options/member_id" />
31 <input type="hidden" name="__ac_password" value=""
32 tal:attributes="value options/password" />
33 <input type="hidden" name="noAjax" value="1" />
34 <metal:macro metal:use-macro="context/form_widgets/macros/buttons" />
35 </form>
36 </tal:case>
37 </tal:case>
38
39 <tal:case tal:condition="python:options['isNewMember'] and options['isReviewedRegistration']">
40 <p i18n:translate="">Your registration request has been taken into account.</p>
41
42 <p tal:condition="options/validate_email" i18n:translate="">Your request will be reviewed
43 soon by a portal administrator. You will receive
44 an email containing your password and
45 instructions on how to activate your membership
46 when your registration will be approved.</p>
47
48 <p tal:condition="not:options/validate_email" i18n:translate="">Your request will be reviewed
49 soon by a portal administrator. You will receive
50 an email when your registration will be approved.</p>
51
52 <p><a href="" tal:attributes="href options/portal_url"
53 i18n:translate="">Return to homepage</a></p>
54 </tal:case>
55
56 <tal:case tal:condition="options/isAnon">
57 <p i18n:translate="">Becoming a member gives you the ability to personalize
58 the site and participate in the community.</p>
59
60 <p i18n:translate="">It does not cost any money to become a member and your
61 email and other personal information will remain private.</p>
62
63 <p tal:condition="options/validate_email" i18n:translate="">
64 You must submit a valid email address. This address will be used
65 to send you a randomly-generated password. Once you have logged
66 in with this password, you may change it to anything you like.</p>
67 </tal:case>
68
69 <tal:case tal:condition="options/isAnonOrUserManager">
70 <form action="." method="post"
71 tal:attributes="action form/action">
72 <table class="FormLayout">
73 <tr>
74 <th i18n:translate="">Member ID</th>
75 <td>
76 <input type="text" name="member_id" size="30" value=""
77 tal:attributes="value options/member_id" />
78 </td>
79 </tr>
80 <tr>
81 <th i18n:translate="">First name</th>
82 <td>
83 <input type="text" name="given_name" size="30" value="" tal:attributes="value options/given_name|nothing" />
84 </td>
85 </tr>
86 <tr>
87 <th i18n:translate="">Last name</th>
88 <td>
89 <input type="text" name="name" size="30" value="" tal:attributes="value options/name|nothing" />
90 </td>
91 </tr>
92 <tr>
93 <th i18n:translate="">Email Address</th>
94 <td>
95 <input type="text" name="member_email" size="30" value=""
96 tal:attributes="value options/member_email" />
97 </td>
98 </tr><tal:case tal:condition="not: options/validate_email">
99 <tr>
100 <th i18n:translate="">Password</th>
101 <td>
102 <input type="password" name="password" size="30" />
103 </td>
104 </tr>
105 <tr>
106 <th i18n:translate="">Password (confirm)</th>
107 <td>
108 <input type="password" name="confirm" size="30" />
109 </td>
110 </tr>
111 <tr>
112 <th i18n:translate="">Mail Password?</th>
113 <td>
114 <input type="checkbox" name="send_password" id="cb_send_password"
115 tal:attributes="checked options/send_password" />
116 <em><label for="cb_send_password" i18n:translate="">Check this box to
117 have the password mailed.</label></em>
118 </td>
119 </tr></tal:case>
120 <tr>
121 <td>&nbsp;</td>
122 <td>
123 <metal:macro metal:use-macro="context/form_widgets/macros/buttons" />
124 </td>
125 </tr>
126 </table>
127 </form>
128 </tal:case>
129
130 </div>
131 </metal:slot>
132
133 </body>
134 </html>