<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:use-macro="container/page_macro/macros/master_page">

<span metal:fill-slot="main_content_slot">


<br />
<br />
 <h2 i18n:translate="">Archiving the contents of the active folder</h2>
 <form action="form_handler" method="post">
  <h4 i18n:translate="">Zip the content of the active folder (except Wikis) and save it to your local computer.</h4>
  <input type="submit" value="Zip" i18n:attributes="value" name="paki">
  <input type="hidden" value="whatever" name="paki2">
 </form>


<br /><br />
<h4>Export a Wiki</h4>
<form action="zwiki_export" method="post">
<span i18n:translate="">Depth of exported Wiki-levels:</span> <input type="text" value="" name="level" />
<br />
<span tal:omit-tag="" tal:repeat="obj python:context.list_contents_request(request)">
	<span tal:omit-tag="" tal:condition="python:obj.meta_type=='WebtopFolder' and obj.kasWikiKaust()">
		<input type="radio" name="wiki_id" value="" tal:attributes="value obj/get_id" />
		<span tal:omit-tag="" tal:content="obj/get_name" /><br />
	</span>
</span>

<input type="submit" value="Export" i18n:attributes="value" name="expordi" />
<br />
</form>

<h4 i18n:translate="">Import a Wiki</h4>

	<form action="" tal:attributes="action python:container.courses.absolute_url()+'/'+jnr+'/import_form_handler'" method="post" enctype="multipart/form-data">
	<span i18n:translate="">File to import:</span>
	<input type="file" name="file" /> 
	<input type="submit" value="Import" i18n:attributes="value" name="wikionly" />
	<input type="hidden" name="course_import" value="kala" />
<!--	<dtml-if expr="URL1.split('/')[-1]=='ivawiki'">course_wikis<dtml-else>kala</dtml-if>"-->
	<input type="hidden" value="" tal:attributes="value context/absolute_url" name="wiki_koht">
</form>

<br />
<br />
&nbsp;
 </span> 
</html>
