source: WAeUP_SRP/trunk/skins/waeup_directory/member_create_form.pt @ 995

Last change on this file since 995 was 953, checked in by Henrik Bettermann, 18 years ago

member directory acl permission, schema and layouts changed
not yet optimized

File size: 1.2 KB
Line 
1<tal:block define="
2  global dirname request/dirname|string:members;
3  global dir here/portal_directories/?dirname;
4  global dirtitle dir/title_or_id;
5  "/>
6<metal:block use-macro="here/main_template/macros/master">
7  <metal:block fill-slot="style_slot">
8    <tal:block define="global actions
9      python:context.getWAeUPDirectoryActions(actions, dirname, dir, 'create')"/>
10
11    <link rel="Stylesheet" type="text/css" href=""
12      tal:attributes="href string:${base_url}document.css" />
13  </metal:block>
14
15 
16 
17  <metal:block fill-slot="main" tal:define="
18      dummy dir/checkCreateEntryAllowed;
19      validate python: request.has_key('member_create_form');
20      create_request python: validate and request or nothing;
21      res python: dir.renderCreateEntryDetailed(
22      validate=validate, request=create_request,
23      created_callback='member_created');
24      global rendered_main python: res[0];
25      rendered_ok python: res[1];
26      ds python: res[2];
27      global portal_status_message python: validate and (rendered_ok and
28        'psm_content_changed' or 'psm_content_error') or '';">
29
30    <h3>
31      Create Member     
32    </h3>       
33
34    <div tal:replace="structure rendered_main">Rendered main...</div>
35  </metal:block>
36
37</metal:block>
Note: See TracBrowser for help on using the repository browser.