1 <tal:header tal:replace="structure here/manage_page_header">header</tal:header>
2 <tal:tabs tal:replace="structure here/manage_tabs">tabs</tal:tabs>
3 <div tal:omit-tag="" i18n:domain="plinn">
4 <h2 i18n:translate="">Membership role mappings</h2>
6 <p i18n:translate="membership_role_mapping_explanations">Use this screen if you are using a userfolder other than the built-in folder to map
7 existing role names to roles understood by the CMF.</p>
9 <table border="1" cellpadding="3">
11 <td class="form-label"><b i18n:translate="">Portal Role</b></td>
12 <td class="form-label"><b i18n:translate="">User Folder-defined Role</b></td>
15 <tr tal:repeat="role context/getPortalRoles">
16 <form method="post" action="setRoleMapping">
17 <td class="form-label">
18 <span tal:replace="role">role</span>
19 <input type="hidden" name="portal_role" tal:attributes="value role"/>
21 <td class="form-element">
22 <input type="text" size="30" name="userfolder_role"
23 tal:attributes="value python:context.getMappedRole(role)"/>
26 <input type="submit" value="Set Mapping" i18n:attributes="value"/></td>
33 <h2 i18n:translate="member_creation_area_title">Creation of member areas</h2>
35 <p i18n:translate="member_creation_area_explanations">
36 This function determines if a personal folder will be created at the first user entrance.
39 <form method="post" action=".">
41 <div tal:condition="python:context.getMemberareaCreationFlag() == 1">
42 <p><b i18n:translate="">Folders are created upon first login.</b></p>
44 name="setMemberareaCreationFlag:method"
45 value="Turn folder creation off"
46 i18n:attributes="value"/><br/>
47 <p><b i18n:translate="">Select member area folder type to construct:</b>
48 <select name="member_folder_portal_type">
49 <option tal:condition="python:context.getMemberAreaPortalType() not in context.portal_types.objectIds('Factory-based Type Information')"
50 disabled="disabled" i18n:translate="">Unknown type</option>
51 <option tal:repeat="pt python:context.portal_types.objectIds('Factory-based Type Information')"
52 tal:attributes="value pt;
53 selected python:pt == context.getMemberAreaPortalType()"
54 tal:content="pt"></option>
56 <input type="submit" name="setMemberAreaPortalType:method" value="Change" i18n:attributes="value"/>
57 <div tal:condition="python:context.getMemberAreaPortalType() not in context.portal_types.objectIds('Factory-based Type Information')"
59 i18n:translate="">WARNING: The current portal type is unknown. You must change the value to enable the member area creation.</div>
62 <div tal:condition="python:context.getMemberareaCreationFlag() == 0">
64 <b i18n:translate="">No Folders are created.</b>
66 name="setMemberareaCreationFlag:method"
67 value="Turn folder creation on"
68 i18n:attributes="value"/>
74 <h2 i18n:translate="">Base folder of members' folders</h2>
76 <p i18n:translate="">This folder has to be in the same container as the membership tool.</p>
78 <form action="manage_setMembersFolderById" method="post">
79 <table cellspacing="2">
81 <td align="left" valign="top">
82 <div class="form-label" i18n:translate="">Members folder id</div>
84 <td align="left" valign="top">
85 <input class="form-element" type="text" name="id"
86 tal:attributes="value context/membersfolder_id"/>
92 <td align="left" valign="top">
93 <input class="form-element" type="submit" value="Change" i18n:attributes="value"/>
99 <tal:footer tal:replace="structure here/manage_page_footer">footer</tal:footer>