<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ page import="org.deegree.i18n.Messages" %>
<%@ page import="java.util.Locale" %>
<%
Locale loc = request.getLocale();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	   <title>metadata upload</title>
	   <SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">

	   function upload() {
		   document.getElementById( "UPLOADFRM" ).submit(); 
	   }
	   
	   </SCRIPT>
	</head>
	<body>
	   <div style="position:absolute; left:40px; top:30px">
            <h2><%=Messages.get( loc, "CATMANAGE_UPLOAD_HEADER" ) %></h2>
            <form id="UPLOADFRM" action="control?action=uploadMetadataset" enctype="multipart/form-data" method="POST">        
              <input type="file" name="file1" size="50">
              <br></br><br></br>
              <input type="button" value="<%=Messages.get( loc, "CATMANAGE_UPLOAD_UPLOADBT" ) %>" onclick="upload()">&nbsp;
              <input type="button" value="<%=Messages.get( loc, "CATMANAGE_UPLOAD_CLOSEBT" ) %>" onclick="window.close()">
              <input type="hidden" name="action" value="uploadMetadataset">
            </form>
        </div>
	</body>
</html>