<%@ page language="java" buffer="100kb" %>

<%@ taglib uri="struts-html"     prefix="html"  %>
<%@ taglib uri="struts-bean"     prefix="bean"  %>
<%@ taglib uri="struts-logic"    prefix="logic" %>
<%@ taglib uri="vkc-taglib"      prefix="vkc"   %>

<vkc:init/>
<vkc:checkLogin />
<html:html locale="true">
<head>

    <vkc:cssinclude />

    <meta http-equiv="content-type"  content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="<vkc:rewrite page='/common/utils.js'/>" ></script>

    <script type="text/javascript">

	window.name = "MAINVIEW";

    </script>
</head>
<body topmargin="0" marginheight="0">
<table cellspacing="3" cellpadding="0" border="0" align="center" width="1%">

  <html:form action="/archiveProject" method="post">

  <bean:define id="form" name="archiveProjectForm" scope="request" type="vkc.procoba.project.ArchiveProjectForm"/>

  <tr>
    <td align="center">
    <table cellpadding="0" cellspacing="5" border="0">
	  <tr><td colspan="2"><b><vkc:message key="vkc.project.archive"/>:</b></td></tr>

	  <vkc:hline bottomSpace="0" topSpace="0" colspan="2" lineClass="hline" lineHeight="1" />

	  <tr>
	    <td nowrap="nowrap"><b><vkc:message key="vkc.project"/>:</b></td>
	    <td nowrap="nowrap"><vkc:write name="form" property="projectName"/></td>
	  </tr>

	  <vkc:hline bottomSpace="0" topSpace="0" colspan="2" lineClass="hline" lineHeight="1" />

	  <tr>
	    <td nowrap="nowrap"><b><vkc:message key="vkc.project.archive.filename"/>:</b></td>
	    <td nowrap="nowrap"><vkc:link page="/downloadFile" paramId="file" paramName="form" paramProperty="encodedArchiveFilename" titleKey="vkc.string.download" target="_blank"><vkc:write name="form" property="archiveFilename"/></vkc:link></td>
      </tr>

	  <tr>
	    <td nowrap="nowrap"><b><vkc:message key="vkc.string.filesize"/>:</b></td>
	    <td nowrap="nowrap"><vkc:write name="form" property="fileSize"/></td>
	  </tr>

	  <vkc:hline bottomSpace="0" topSpace="0" colspan="2" lineClass="hline" lineHeight="1" />

	</table>
	</td>
  </tr>
  </html:form>
</table>
</body>
</html:html>