<tiles:insert template="/WEB-INF/view/common/admin/layout.jsp" flush="true">
	<tiles:put name="title"><bean:message key="labels.data_configuration" /></tiles:put>
	<tiles:put name="header" value="/WEB-INF/view/common/admin/header.jsp" />
	<tiles:put name="footer" value="/WEB-INF/view/common/admin/footer.jsp" />
	<tiles:put name="menu" value="/WEB-INF/view/common/admin/menu.jsp" />
	<tiles:put name="menuType" value="data" />
	<tiles:put name="headerScript" type="string"></tiles:put>
	<tiles:put name="body" type="string">

<div id="main">

	<div>
		<html:messages id="msg" message="true"><bean:write name="msg" ignore="true"/></html:messages>
		<html:errors/>
	</div>

	<s:form>
	<div class="form-table">
		<table style="width:500px;">
            <caption><bean:message key="labels.backup_title_edit"/></caption>
			<tbody>
				<tr>
					<th style="width:200px;">
						<bean:message key="labels.backup"/>
					</th>
					<td>
						<s:link href="download"><bean:message key="labels.download_data"/></s:link>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
	</s:form>
	<s:form action="upload" enctype="multipart/form-data" style="margin-top:10px;">
	<div class="form-table">
		<table style="width:500px;">
            <caption><bean:message key="labels.restore_title_edit"/></caption>
            <tbody>
				<tr>
					<th>
						<bean:message key="labels.restore"/>
					</th>
					<td>
						<input type="file" name="uploadedFile" />
					</td>
				</tr>
				<tr>
					<th>
						<bean:message key="labels.overwrite"/>
					</th>
					<td>
						<html:checkbox property="overwrite"/><bean:message key="labels.enabled"/>
					</td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td colspan="2">
						<input type="submit" name="upload" value="<bean:message key="labels.upload_button"/>"/>
					</td>
				</tr>
			</tfoot>
		</table>
	</div>
	</s:form>

</div>

	</tiles:put>
</tiles:insert>
