1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3: <html metal:use-macro="here/mainEditFile/macros/page">
4: <body>
5: <tal:block metal:fill-slot="navsel" tal:define="global selected python:'image'"/>
6:
7: <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'">
8: <form action="updateImage" method="post" enctype="multipart/form-data">
9: <p>Show image at the homepage: <span tal:replace="structure python:here.ZSQLSelectionFromCRList(
10: 'publishImage',
11: yes_no_list,
12: boxType='radio',
13: checked=here.getPublishImage())"/>
14: </p>
15: <p>
16: <span tal:condition="here/getImageObj" tal:replace="structure python:here.getImageObj().thumb()"/></p>
17:
18:
19: <p>Filename:<input type="file" name="file" size="30"></p>
20:
21:
22:
23: <input type="submit">
24:
25: </tal:block>
26: </body>
27: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>