Modification de l'import de swfheader : installé avec easy_install, il n'est pas...
[Plinn.git] / skins / generic / massupload.pt
1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal">
3 <head>
4 <title>Jupload</title>
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
6 </head>
7 <body>
8 <div metal:fill-slot="main" tal:omit-tag="">
9 <applet code="wjhk.jupload2.JUploadApplet"
10 archive="wjhk.jupload.jar" width="640" height="450" alt=""
11 mayscript="true"
12 tal:attributes="archive string:${portal_url}/jupload/wjhk.jupload.jar">
13 <param name="postURL"
14 tal:attributes="value string:${here/absolute_url}/add_uploaded_content">
15 <param name="lookAndFeel" value="system"/>
16 <param name="serverProtocol" value="HTTP/1.1"/>
17 <param name="uploadPolicy" value="DefaultUploadPolicy" />
18 <param name="nbFilesPerRequest" value="1" />
19 <param name="formdata" value="authform"/>
20 <param name="showLogWindow" value="false"/>
21 <param name="debugLevel" value="0" />
22 <param name="filenameEncoding" value="utf-8"/>
23 plugin required.
24 </applet>
25 <br />
26 <form name="authform">
27 <input type="hidden" name="__ac" value=""/>
28 </form>
29 <script type="text/javascript">
30 // <!--
31 var auth = document.authform.elements.namedItem('__ac');
32 auth.setAttribute('value', unescape(document.cookie.match(/__ac="([^"]*)"/)[1]));
33 // -->
34 </script>
35 </div>
36 </body>
37 </html>