ie8 compat
[Portfolio.git] / skins / photo_edit_template.pt
1 <html metal:use-macro="here/main_template/macros/master">
2
3 <head>
4 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
5 <title>photo_edit_form</title>
6 </head>
7
8 <body>
9 <div metal:fill-slot="header" tal:replace="nothing"></div>
10 <div metal:fill-slot="main" i18n:domain="plinn">
11
12 <table tal:condition="here/size" class="photo_viewer">
13 <tr>
14 <td>
15 <img src="corse_071.jpg" border="0"
16 tal:define="size python:here.getResizedImageSize(size=(500,500));
17 width python:size[0];
18 height python:size[1];"
19 tal:attributes="src string:${here/absolute_url}/getResizedImage?size=500_500;
20 alt here/Title;
21 width width;
22 height height"/>
23 <h4>Nouveau fichier</h4>
24 <form action="." method="post" enctype="multipart/form-data"
25 tal:attributes="action string:${here/absolute_url}/photo_edit_form">
26 <input type="hidden" name="noAjax" value="1" />
27 <input type="file" name="file" size="16"><input type="submit" name="upload" value="Send" i18n:attributes="value" />
28 </form>
29 </td>
30
31 <td>
32 <form tal:attributes="action string:${here/absolute_url}/photo_edit_form" method="post">
33 <div metal:use-macro="here/metadata_edit_form_macros/macros/iptc">
34 </div>
35 </form>
36 </td>
37 </tr>
38 </table>
39 </div>
40 </body>
41
42 </html>