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

<!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>

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