1 <html metal:use-macro="context/main_template/macros/master">
3 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
8 <metal:slot metal:fill-slot="main_no_tabs" i18n:domain="plinn"
9 tal:define="form options/form">
10 <h1 tal:content="options/title" i18n:translate="">Become a member</h1>
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>
19 <tal:case tal:condition="python:options['isNewMember'] and options['isAnonRegistration']">
20 <p i18n:translate="">You have been registered as a member.</p>
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>
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" />
39 <tal:case tal:condition="python:options['isNewMember'] and options['isReviewedRegistration']">
40 <p i18n:translate="">Your registration request has been taken into account.</p>
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>
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>
52 <p><a href="" tal:attributes="href options/portal_url"
53 i18n:translate="">Return to homepage</a></p>
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>
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>
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>
69 <tal:case tal:condition="options/isAnonOrUserManager">
70 <form action="." method="post"
71 tal:attributes="action form/action">
72 <table class="FormLayout">
74 <th i18n:translate="">Member ID</th>
76 <input type="text" name="member_id" size="30" value=""
77 tal:attributes="value options/member_id" />
81 <th i18n:translate="">First name</th>
83 <input type="text" name="given_name" size="30" value="" tal:attributes="value options/given_name|nothing" />
87 <th i18n:translate="">Last name</th>
89 <input type="text" name="name" size="30" value="" tal:attributes="value options/name|nothing" />
93 <th i18n:translate="">Email Address</th>
95 <input type="text" name="member_email" size="30" value=""
96 tal:attributes="value options/member_email" />
98 </tr><tal:case tal:condition="not: options/validate_email">
100 <th i18n:translate="">Password</th>
102 <input type="password" name="password" size="30" />
106 <th i18n:translate="">Password (confirm)</th>
108 <input type="password" name="confirm" size="30" />
112 <th i18n:translate="">Mail Password?</th>
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>
123 <metal:macro metal:use-macro="context/form_widgets/macros/buttons" />