Last change
on this file since 1481 was
953,
checked in by Henrik Bettermann, 18 years ago
|
member directory acl permission, schema and layouts changed
not yet optimized
|
-
Property svn:keywords set to
Id
|
File size:
1.3 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="dummy |
---|
9 | python:context.setDirectoryBreadCrumbs(request, dirname, dir, dirtitle)"/> |
---|
10 | <tal:block define="global actions |
---|
11 | python:context.getWAeUPDirectoryActions(actions, dirname, dir, 'search')"/> |
---|
12 | |
---|
13 | <link rel="Stylesheet" type="text/css" href="" |
---|
14 | tal:attributes="href string:${base_url}document.css" /> |
---|
15 | |
---|
16 | </metal:block> |
---|
17 | |
---|
18 | <metal:block fill-slot="header"/> |
---|
19 | |
---|
20 | <metal:block fill-slot="main" tal:define=" |
---|
21 | validate python: request.has_key('cpsdirectory_search_button'); |
---|
22 | res python: dir.renderSearchDetailed(request=request, validate=validate, |
---|
23 | callback='search_members'); |
---|
24 | global rendered_main python: res[0]; |
---|
25 | global ok python: res[1]; |
---|
26 | ds python: res[2]; |
---|
27 | global portal_status_message python: (validate and not ok and |
---|
28 | 'psm_content_error') or request.form.get('portal_status_message', '');"> |
---|
29 | <h3> |
---|
30 | Search Member Section |
---|
31 | </h3> |
---|
32 | <br /> |
---|
33 | <div tal:replace="structure rendered_main">Rendered main...</div> |
---|
34 | </metal:block> |
---|
35 | |
---|
36 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.