version 1.1.2.5, 2006/02/07 20:26:10
|
version 1.1.2.6, 2010/06/29 10:02:55
|
Line 6
|
Line 6
|
|
|
<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 photo 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>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"> |
<input type="submit"/> |
|
</form> |
|
|
</tal:block> |
</tal:block> |
</body> |
</body> |