version 1.1.2.2, 2005/10/18 12:59:51
|
version 1.1.2.6, 2010/06/29 10:02:55
|
Line 2
|
Line 2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<html metal:use-macro="here/mainEditFile/macros/page"> |
<html metal:use-macro="here/mainEditFile/macros/page"> |
<body> |
<body> |
<tal:block metal:fill-slot="navsel" tal:define="global selected python:'image'"/> |
<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'"> |
<tal:block metal:fill-slot="body" tal:define="yes_no_list python:'yes\nno'"> |
<form action="updateImage" method="post" enctype="multipart/form-data"> |
<form action="updateImage" method="post" enctype="multipart/form-data"> |
<p>Show image at the homepage: <span tal:replace="structure python:here.ZSQLSelectionFromCRList( |
<p>Show this photo on the homepage: <span tal:replace="structure python:here.ZSQLSelectionFromCRList( |
'publishImage', |
'publishImage', |
yes_no_list, |
yes_no_list, |
boxType='radio', |
boxType='radio', |
Line 15
|
Line 15
|
<p> |
<p> |
<span tal:condition="here/getImageObj" tal:replace="structure python:here.getImageObj().thumb()"/></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>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> |
<input type="submit"> |
|
|
|
</tal:block> |
</tal:block> |
</body> |
</body> |