diff zpt/editImageStaff.zpt @ 0:bca61e893fcc

first checkin of MPIWGWeb r2 branch from CVS into mercurial
author casties
date Thu, 10 Jan 2013 17:52:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/editImageStaff.zpt	Thu Jan 10 17:52:13 2013 +0100
@@ -0,0 +1,29 @@
+<!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>
\ No newline at end of file