1 <fragments metal:define-macro="master">
2 <metal:block use-macro="here/main_template_macros/macros/global_defines"/>
3 <tal:block define="global dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')"/>
5 <fragment id="mainCell"><span tal:replace="structure string:<![CDATA[" />
6 <base tal:omit-tag="" metal:define-slot="base" />
7 <link metal:define-slot="css_slot" tal:replace="nothing" />
9 <div id="Object_URL" tal:content="here/absolute_url" style="display:none"></div>
10 <script type="text/javascript" metal:define-slot="javascript_head_slot" tal:replace="nothing"></script>
11 <div class="DesktopStatusBar" tal:condition="request/portal_status_message|nothing">
12 <img src="info.gif" alt="Information" tal:attributes="src here/info.gif/absolute_url" i18n:attributes="alt" />
13 <span tal:content="request/portal_status_message" i18n:translate="">Status message.</span>
15 <div metal:define-slot="main_no_tabs" tal:omit-tag="">
16 <div tal:condition="specialCtxHeader" tal:content="structure specialCtxHeader">special context header</div>
17 <div id="ContentTabs" tal:condition="not:specialCtxHeader">
18 <div class="tabs" metal:use-macro="here/tabs/macros/tabs">Content tabs</div>
19 <div metal:use-macro="here/tabs/macros/additional_tabs">Additional tabs</div>
21 <div id="ForematterCell">
23 <div tal:omit-tag="" metal:define-slot="header">
24 <h1 id="DesktopTitle">
25 <span tal:replace="here/title_or_id">Page Title</span>
27 <div id="DesktopDescription" tal:content="structure here/Description">
28 Description of the resource goes here, perhaps even wrapping lines; this is to make it long enough to test.
34 <div metal:define-slot="main">
35 <h2>Section Header</h2>
36 <p>The content of the object is <a href=".">rendered</a>
37 hre. Lorem ipsum dolorem. Nihil obstat imprimatur. Semper ubi sub ubi.
38 Non illegitimi carborundum. In vino veritas. E pluribus unam.
42 <div tal:condition="not:isAnon" tal:omit-tag="">
43 <div id="ContentByLine" metal:use-macro="here/content_byline/macros/byline">
47 <div metal:define-slot="footer" tal:replace="nothing">footer slot</div>
50 <span tal:replace="structure string:]]>" /></fragment>
52 <tal:block define="browserObjectUrl python:request.get('_browserObjectUrl');
53 fragments python:(browserObjectUrl and browserObjectUrl != here.absolute_url()) and ['Breadcrumbs', 'rightCell'] or request.get('syncFragments', []);"
54 condition="fragments">
55 <tal:loop define="main_macros here/main_template_macros/macros"
56 repeat="macroName fragments">
57 <fragment tal:attributes="id macroName"><span tal:replace="structure string:<![CDATA[" />
58 <metal:block metal:use-macro="python:main_macros[macroName]" />
59 <span tal:replace="structure string:]]>" /></fragment>