Mercurial > hg > MPIWGWeb
view zpt/staff/edit_image.zpt @ 159:ee79f6ba8d01
clean up staff editing and some zpt forms.
author | casties |
---|---|
date | Thu, 06 Jun 2013 15:34:20 +0200 |
parents | |
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"> <form tal:attributes="action string:$root/editImage" method="post"> <p> <img tal:define="url python:here.getPublishedImageUrl(width=165, showAlways=True)" tal:condition="url" tal:attributes="src url" /> </p> <p tal:define="name string:image_p; value here/content/image_p;"> Show this photo on the homepage: <span metal:use-macro="here/common_template/macros/yesno_input_radio"/> </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> <p> <input type="submit" /> </p> </form> </tal:block> </body> </html>