<%@ page 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:checkLogin />

<vkc:init/>

<html:html locale="true">
<head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
	<title><vkc:message key="vkc"/></title>
    <script type="text/javascript" src="<vkc:rewrite page='/common/utils.js'   />"></script>
	
    <vkc:cssinclude />
    <script type="text/javascript">
    window.name = "MAINVIEW";
    </script>
</head>
<body marginwidth="5" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
  <html:form action="/archiveCategory.do" method="post">
  <bean:define id="form" name="archiveCategoryForm" type="vkc.view.form.ArchiveCategoryForm"/>  

  <html:hidden property="categoryId"/> 

  <table width="100%" border="0" class="color_tab">
    <tr>
      <td align="center">
        <table width="1">
          <tr><td>&nbsp;</td></tr>
          <tr><td>&nbsp;</td></tr>

  		  <tr><td colspan="2" nowrap="nowrap"><b><vkc:message key="vkc.category.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.category"/>:</b></td>
            <td><vkc:write name="form" property="category.name"/></td>
          </tr>

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

          <tr>
            <td nowrap="nowrap"><b><vkc:message key="vkc.category.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><vkc:write name="form" property="fileSize"/></td>
          </tr>

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

	  	  <tr>
	  	    <td colspan="2" align="center">
	  	      <vkc:button property="action.back" onclick="javascript:disableAllButtonsAndSubmit(this);"><vkc:message key="button.category.view"/></vkc:button>
    	    </td>
	  	  </tr>
	    </table>
      </td>
    </tr>
  </table>
</html:form>
</body>
</html:html>