1 <?xml version="1.0" encoding="utf-8"?>
2 <html xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:i18n="http://xml.zope.org/namespaces/i18n" metal:use-macro="context/main_template/macros/master">
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
7 <metal:slot metal:fill-slot="main_no_tabs" i18n:domain="plinn" tal:define="form options/form">
8 <h1 tal:content="options/title" i18n:translate="">Become a member</h1>
10 <tal:case tal:condition="options/isOrdinaryMember">
11 <p i18n:translate="">You are already a member. You may use the
12 <a href="personalize_form">personalization form</a>
13 to change your membership information.</p>
15 <tal:case tal:condition="python:options['isNewMember'] and options['isAnonRegistration']">
16 <p i18n:translate="">You have been registered as a member.</p>
17 <p tal:condition="options/validate_email" i18n:translate="">You will receive
18 an email shortly containing your password and instructions on how to
19 activate your membership.</p>
20 <tal:case tal:condition="not: options/validate_email">
21 <p i18n:translate="">Click the button to log in immediately.</p>
22 <form tal:attributes="action form/action">
23 <input type="hidden" name="__ac_name" value="" tal:attributes="value options/member_id"/>
24 <input type="hidden" name="__ac_password" value="" tal:attributes="value options/password"/>
25 <input type="hidden" name="noAjax" value="1"/>
26 <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>
30 <tal:case tal:condition="python:options['isNewMember'] and options['isReviewedRegistration']">
31 <p i18n:translate="">Your registration request has been taken into account.</p>
32 <p tal:condition="options/validate_email" i18n:translate="">Your request will be reviewed
33 soon by a portal administrator. You will receive
34 an email containing your password and
35 instructions on how to activate your membership
36 when your registration will be approved.</p>
37 <p tal:condition="not:options/validate_email" i18n:translate="">Your request will be reviewed
38 soon by a portal administrator. You will receive
39 an email when your registration will be approved.</p>
41 <a href="" tal:attributes="href options/portal_url" i18n:translate="">Return to homepage</a>
44 <tal:case tal:condition="options/isAnon">
45 <p i18n:translate="">Becoming a member gives you the ability to personalize
46 the site and participate in the community.</p>
47 <p i18n:translate="">It does not cost any money to become a member and your
48 email and other personal information will remain private.</p>
49 <p tal:condition="options/validate_email" i18n:translate="">
50 You must submit a valid email address. This address will be used
51 to send you a randomly-generated password. Once you have logged
52 in with this password, you may change it to anything you like.</p>
54 <tal:case tal:condition="options/isAnonOrUserManager">
55 <form action="." method="post" tal:attributes="action form/action">
56 <table class="FormLayout">
58 <th i18n:translate="">Member ID</th>
60 <input type="text" name="member_id" size="30" value="" tal:attributes="value options/member_id"/>
64 <th i18n:translate="">First name</th>
66 <input type="text" name="given_name" size="30" value="" tal:attributes="value options/given_name|nothing"/>
70 <th i18n:translate="">Last name</th>
72 <input type="text" name="name" size="30" value="" tal:attributes="value options/name|nothing"/>
76 <th i18n:translate="">Email Address</th>
78 <input type="text" name="member_email" size="30" value="" tal:attributes="value options/member_email"/>
81 <tal:case tal:condition="not: options/validate_email">
83 <th i18n:translate="">Password</th>
85 <input type="password" name="password" size="30"/>
89 <th i18n:translate="">Password (confirm)</th>
91 <input type="password" name="confirm" size="30"/>
95 <th i18n:translate="">Mail Password?</th>
97 <input type="checkbox" name="send_password" id="cb_send_password" tal:attributes="checked options/send_password"/>
99 <label for="cb_send_password" i18n:translate="">Check this box to
100 have the password mailed.</label>
110 <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>