Retrait des éléments notés deprecated depuis mathusalem. Jslint.
[Plinn.git] / skins / generic / main_template_ajax.pt
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')"/>
4
5 <fragment id="mainCell"><span tal:replace="structure string:&lt;![CDATA[" />
6 <base tal:omit-tag="" metal:define-slot="base" />
7 <link metal:define-slot="css_slot" tal:replace="nothing" />
8
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 id="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>
14 </div>
15 <div metal:define-slot="body" tal:omit-tag="">
16 <div metal:define-slot="main_no_tabs" tal:omit-tag="">
17 <div tal:condition="specialCtxHeader" tal:content="structure specialCtxHeader">special context header</div>
18 <div id="ContentTabs" tal:condition="not:specialCtxHeader">
19 <div class="tabs" metal:use-macro="here/tabs/macros/tabs">Content tabs</div>
20 <div metal:use-macro="here/tabs/macros/additional_tabs">Additional tabs</div>
21 </div>
22 <div id="ForematterCell">
23 <div class="header">
24 <div tal:omit-tag="" metal:define-slot="header">
25 <h1 id="DesktopTitle">
26 <span tal:replace="here/title_or_id">Page Title</span>
27 </h1>
28 <div id="DesktopDescription" tal:content="structure here/Description">
29 Description of the resource goes here, perhaps even wrapping lines; this is to make it long enough to test.
30 </div>
31 </div>
32 </div>
33
34 <div id="Desktop">
35 <div metal:define-slot="main">
36 <h2>Section Header</h2>
37 <p>The content of the object is <a href=".">rendered</a>
38 hre. Lorem ipsum dolorem. Nihil obstat imprimatur. Semper ubi sub ubi.
39 Non illegitimi carborundum. In vino veritas. E pluribus unam.
40 </p>
41 </div>
42 </div>
43 <div tal:condition="not:isAnon" tal:omit-tag="">
44 <div id="ContentByLine" metal:use-macro="here/content_byline/macros/byline">
45 Content by me
46 </div>
47 </div>
48 <div metal:define-slot="footer" tal:replace="nothing">footer slot</div>
49 </div>
50 </div>
51 </div>
52 <span tal:replace="structure string:]]>" /></fragment>
53
54 <tal:block define="browserObjectUrl python:request.get('_browserObjectUrl');
55 fragments python:(browserObjectUrl and browserObjectUrl != here.absolute_url()) and ['Breadcrumbs', 'rightCell'] or request.get('syncFragments', []);"
56 condition="fragments">
57 <tal:loop define="main_macros here/main_template_macros/macros"
58 repeat="macroName fragments">
59 <fragment tal:attributes="id macroName"><span tal:replace="structure string:&lt;![CDATA[" />
60 <metal:block metal:use-macro="python:main_macros[macroName]" />
61 <span tal:replace="structure string:]]>" /></fragment>
62 </tal:loop>
63 </tal:block>
64
65 </fragments>