Mercurial > hg > MPIWGWeb
view zpt/staff/edit_image.zpt @ 209:e0cc46205395
add headings to updatePersonalWWW result page.
author | casties |
---|---|
date | Fri, 05 Jul 2013 11:28:50 +0200 |
parents | ee79f6ba8d01 |
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>