File:  [Repository] / MPIWGWeb / zpt / Attic / editImageStaff.zpt
Revision 1.1.2.6: download - view: text, annotated - select for diffs - revision graph
Tue Jun 29 10:02:55 2010 UTC (14 years ago) by casties
Branches: r2
took photo upload from personal edit page

    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 menusel string: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 this photo on 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:     <p>Images should not be too big. Allowed formats: JPEG, TIFF or PNG. Files must have proper extension *.jpg, *.tif or *.png.</p>
   21: -->    
   22:     <p>Please contact the IT-support (support@mpiwg-berlin.mpg.de) to upload a picture for you.</p>
   23:     
   24:     <input type="submit"/>
   25:   </form>
   26:     
   27:  </tal:block>
   28:  </body>
   29:  </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>