1 <html metal:use-macro="here/main_template/macros/master"
2 xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
10 <div metal:fill-slot="header">
11 <div metal:use-macro="here/widgets/macros/generic_header">
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=""
20 tal:attributes="archive string:${portal_url}/jupload/wjhk.jupload.jar">
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"/>
34 <form name="authform">
35 <fieldset style="width:10em">
36 <legend i18n:translate="">If a file already exists</legend>
38 <input type="radio" name="overwrite:boolean" value="True" checked="checked"/>
39 <span i18n:translate="" tal:omit-tag="">overwrite</span>
43 <input type="radio" name="overwrite:boolean" value="False"/>
44 <span i18n:translate="" tal:omit-tag="">rename</span>
47 <input type="hidden" name="__ac" value=""/>
49 <script type="text/javascript">
51 var auth = document.authform.elements.namedItem('__ac');
52 auth.setAttribute('value', unescape(document.cookie.match(/__ac="([^"]*)"/)[1]));
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" />
62 <input type="submit" name="upload_zip" value="Import" i18n:attributes="value" />