Migration vers zope-2.13 : MemberData fait usage d'un adapter.
[Plinn.git] / skins / generic / use_macro.pt
1 <fragments>
2 <metal:block metal:use-macro="here/main_template_macros/macros/global_defines" />
3 <tal:block tal:define="global dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')" />
4 <tal:block tal:define="global Template python:getattr(here, request.form.get('template', options.get('template')));" />
5 <fragment tal:attributes="id options/fragmentId|request/fragmentId"><span tal:replace="structure string:&lt;![CDATA[" />
6 <metal:block use-macro="python:Template.macros[request.form.get('macro', options.get('macro'))]"/>
7 <span tal:replace="structure string:]]>" /></fragment>
8 </fragments>