Mercurial > hg > MPIWGWeb
view zpt/editImageStaff.zpt @ 37:9b38ba45773b
?berarbeitung MPIWGStaff
neue editfunktionen
author | dwinter |
---|---|
date | Fri, 26 Apr 2013 17:19:08 +0200 |
parents | bca61e893fcc |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html metal:use-macro="here/mainEditFile/macros/page"> <body> <tal:block metal:fill-slot="navsel" tal:define="global menusel string:image"/> <tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> <form action="updateImage" method="post" enctype="multipart/form-data"> <p>Show this photo on the homepage: <span tal:replace="structure python:here.ZSQLSelectionFromCRList( 'publishImage', yes_no_list, boxType='radio', checked=here.getPublishImage())"/> </p> <p> <span tal:condition="here/getImageObj" tal:replace="structure python:here.getImageObj().thumb()"/></p> <!-- <p>Filename:<input type="file" name="file" size="30"></p> <p>Images should not be too big. Allowed formats: JPEG, TIFF or PNG. Files must have proper extension *.jpg, *.tif or *.png.</p> --> <p>Please contact the IT-support (support@mpiwg-berlin.mpg.de) to upload a picture for you.</p> <input type="submit"/> </form> </tal:block> </body> </html>