On va essayer d'afficher le résultat de la XHR.
[Plinn.git] / skins / content / file_preview.pt
1 <tal:block tal:define="preview here/preview">
2 <tal:block condition="preview">
3 <span tal:replace="structure preview"></span>
4 </tal:block>
5 <tal:block condition="not:preview">
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7
8 <html xmlns="http://www.w3.org/1999/xhtml" tal:define="global dummy python:request.RESPONSE.setHeader('Content-Type', 'text/html;;charset=utf-8');">
9
10 <head>
11 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
12 </head>
13
14 <body i18n:domain="plinn">
15 <h2 i18n:translate="">No preview available for this file</h2>
16 </body>
17
18 </html>
19 </tal:block>
20
21 </tal:block>