annotate zpt/staff/edit_image.zpt @ 159:ee79f6ba8d01

clean up staff editing and some zpt forms.
author casties
date Thu, 06 Jun 2013 15:34:20 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
159
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
3 <html metal:use-macro="here/mainEditFile/macros/page">
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
4 <body>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
5 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:image" />
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
6
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
7 <tal:block metal:fill-slot="body">
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
8 <form tal:attributes="action string:$root/editImage" method="post">
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
9 <p>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
10 <img tal:define="url python:here.getPublishedImageUrl(width=165, showAlways=True)" tal:condition="url" tal:attributes="src url" />
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
11 </p>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
12 <p tal:define="name string:image_p; value here/content/image_p;">
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
13 Show this photo on the homepage:
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
14 <span metal:use-macro="here/common_template/macros/yesno_input_radio"/>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
15 </p>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
16 <!--
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
17 <p>Filename:<input type="file" name="file" size="30"></p>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
18 <p>Images should not be too big. Allowed formats: JPEG, TIFF or PNG. Files must have proper extension *.jpg, *.tif or *.png.</p>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
19 -->
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
20 <p>Please contact the IT-support (support@mpiwg-berlin.mpg.de) to upload a picture for you.</p>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
21 <p>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
22 <input type="submit" />
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
23 </p>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
24 </form>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
25
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
26 </tal:block>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
27 </body>
ee79f6ba8d01 clean up staff editing and some zpt forms.
casties
parents:
diff changeset
28 </html>