1 | <metal:block define-macro="master" tal:define=" |
---|
2 | showthirdcol showthirdcol|python:1; |
---|
3 | emptybody emptybody|request/emptybody|nothing; |
---|
4 | utool nocall:here/portal_url; |
---|
5 | atool here/portal_actions; |
---|
6 | mtool here/portal_membership; |
---|
7 | ttool here/portal_trees; |
---|
8 | wtool here/portal_workflow; |
---|
9 | context_url python:here.getContextUrl(utool=utool); |
---|
10 | base_url python:utool.getBaseUrl(); |
---|
11 | |
---|
12 | static_dir here/portal_properties/static_dir; |
---|
13 | static_base_url string:${here/getBaseUrl}${static_dir}; |
---|
14 | |
---|
15 | |
---|
16 | here_url python:here.absolute_url(); |
---|
17 | member mtool/getAuthenticatedMember; |
---|
18 | isAnon mtool/isAnonymousUser; |
---|
19 | actions python:atool.listFilteredActionsFor(here); |
---|
20 | wf_state python:wtool.getInfoFor(here,'review_state',''); |
---|
21 | uname python:isAnon and 'Guest' or member.getUserName(); |
---|
22 | checkPerm nocall:mtool/checkPermission; |
---|
23 | cpsmcat nocall:here/translation_service; |
---|
24 | locale here/translation_service/getSelectedLanguage; |
---|
25 | in_ws here/isInWorkspace; |
---|
26 | "><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
27 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
28 | tal:attributes="lang locale; xml:lang locale"> |
---|
29 | <head> |
---|
30 | <metal:block use-macro="here/header_lib_header/macros/header"> |
---|
31 | <metal:block fill-slot="base"><metal:block define-slot="base"><base |
---|
32 | href="" tal:attributes="href string:${here_url}/" |
---|
33 | /></metal:block></metal:block> |
---|
34 | <metal:block fill-slot="head_slot"><metal:block define-slot="head_slot" |
---|
35 | /></metal:block> |
---|
36 | <metal:block fill-slot="style_slot"><metal:block define-slot="style_slot" |
---|
37 | /></metal:block> |
---|
38 | <metal:block fill-slot="javascript_head_slot"><metal:block |
---|
39 | define-slot="javascript_head_slot" |
---|
40 | /></metal:block> |
---|
41 | </metal:block> |
---|
42 | </head> |
---|
43 | <body OnLoad="setFocus()" tal:condition="emptybody"> |
---|
44 | <metal:block define-slot="body" /> |
---|
45 | <metal:block define-slot="main" /> |
---|
46 | </body> |
---|
47 | </html> |
---|
48 | </metal:block> |
---|