Refactoring, commentaires.
[Plinn.git] / skins / generic / reject_member_form.pt
1 <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="here/main_template/macros/master">
2
3 <head>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5 </head>
6
7 <body tal:define="pendMember python:mtool.getMemberById(request['id'])" tal:omit-tag="" metal:fill-slot="main_no_tabs" i18n:domain="plinn">
8 <div id="Desktop">
9 <h2 i18n:translate="">Reject registration of <span tal:content="python:pendMember.getMemberFullName(0)" tal:omit-tag="" i18n:name="fullname"></span></h2>
10 <form method="post" tal:attributes="action string:${portal_url}/member_registration_modify">
11 <table>
12 <tr>
13 <td>
14 <span i18n:translate="" tal:omit-tag="">From:</span>
15 <span tal:replace="python:member.getMemberFullName(0)"/> &lt;<span tal:replace="member/email"/>&gt;
16 </td>
17 </tr>
18 <tr>
19 <td>
20 <span i18n:translate="" tal:omit-tag="">To:</span>
21 <span tal:replace="python:pendMember.getMemberFullName(0)" /> &lt;<span tal:replace="pendMember/email" />&gt;
22 <input type="hidden" name="members.id:records" tal:attributes="value pendMember/getId" />
23 <input type="hidden" name="members.checked:boolean:records" value="True" />
24 </td>
25 </tr>
26 <tr>
27 <td i18n:translate="">Subject:</td>
28 </tr>
29 <tr>
30 <td>
31 <input type="text" name="subject" value="Membership request denied" size="76" i18n:attributes="value" />
32 </td>
33 </tr>
34 <tr>
35 <td i18n:translate="">Message body:</td>
36 </tr>
37 <tr>
38 <td>
39 <textarea name="body" rows="18" cols="74" i18n:translate=""
40 >I'm sorry to have to inform you that your request has been denied. Please contact the site administrator.</textarea>
41 </td>
42 </tr>
43 <tr>
44 <td>
45 <input type="submit" name="reject" value="Send" i18n:attributes="value" />
46 </td>
47 </tr>
48 </table>
49 </form>
50 <div></div>
51 </div>
52 </body>
53
54 </html>