Affichage / masquage de la cible du dépôt d'images.
[Portfolio.git] / skins / portfolio_edit_template.pt
1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns="http://www.w3.org/1999/xhtml">
3
4 <head>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
6 <title></title>
7 </head>
8
9 <body>
10 <div metal:fill-slot="header">
11 <div metal:use-macro="here/widgets/macros/generic_header">
12 generic_header macro
13 </div>
14 </div>
15
16 <div metal:fill-slot="main" tal:omit-tag="" i18n:domain="portfolio">
17 <applet code="wjhk.jupload2.JUploadApplet"
18 archive="wjhk.jupload.jar" width="640" height="450" alt=""
19 mayscript="true"
20 tal:attributes="archive string:${portal_url}/jupload/wjhk.jupload.jar">
21 <param name="postURL"
22 tal:attributes="value string:${here/absolute_url}/add_uploaded_content">
23 <param name="lookAndFeel" value="system"/>
24 <param name="serverProtocol" value="HTTP/1.1"/>
25 <param name="uploadPolicy" value="DefaultUploadPolicy" />
26 <param name="nbFilesPerRequest" value="1" />
27 <param name="formdata" value="authform"/>
28 <param name="showLogWindow" value="false"/>
29 <param name="debugLevel" value="0" />
30 <param name="filenameEncoding" value="utf-8"/>
31 plugin required.
32 </applet>
33 <br />
34 <form name="authform">
35 <fieldset style="width:10em">
36 <legend i18n:translate="">If a file already exists</legend>
37 <label>
38 <input type="radio" name="overwrite:boolean" value="True" checked="checked"/>
39 <span i18n:translate="" tal:omit-tag="">overwrite</span>
40 </label>
41 <br/>
42 <label>
43 <input type="radio" name="overwrite:boolean" value="False"/>
44 <span i18n:translate="" tal:omit-tag="">rename</span>
45 </label>
46 </fieldset>
47 <input type="hidden" name="__ac" value=""/>
48 </form>
49 <script type="text/javascript">
50 // <!--
51 var auth = document.authform.elements.namedItem('__ac');
52 auth.setAttribute('value', unescape(document.cookie.match(/__ac="([^"]*)"/)[1]));
53 // -->
54 </script>
55 <!--
56 <hr/>
57 <form method="post" enctype="multipart/form-data"
58 tal:attributes="action string:${context/absolute_url}/portfolio_edit_form">
59 <input type="hidden" name="noAjax" value="1" />
60 <h2 i18n:translate="">Import a photo zipped file</h2>
61 <input type="file" name="zipfile" size="16" />&nbsp;&nbsp;
62 <input type="submit" name="upload_zip" value="Import" i18n:attributes="value" />
63 </form>
64 -->
65 </div>
66 </body>
67
68 </html>