<%@ include file="/common/taglibs.jsp" %>

<head>
	<title><fmt:message key="title.admin.backuprestore"/></title>
    <meta name="menu" content="admin"/>
</head>


    <c:set var="panelContent">
        <s:form method="post" action="backuprestore/do/backup">
        <div class="Pane">
            <h2><fmt:message key='heading.backuprestore.backup'/></h2>
            <p><fmt:message key="help.backuprestore.backup"/></p>
            <span class="Field MediumField"><s:textfield id="exportFile" name="exportFile" key="label.backuprestore.exportfile" theme="xhtml"/></span>            
            <div class="Actions">
	            <ul>
	                <li><s:submit key="action.backup"/></li>
	            </ul>
	        </div>
        </div>
        </s:form>
        
        <s:form method="post" action="backuprestore/do/restore">
        <div class="Pane">
            <h2><fmt:message key='heading.backuprestore.restore'/></h2>
            <p><fmt:message key="help.backuprestore.restore"/></p>
            <span class="Field MediumField"><s:textfield id="importFile" name="importFile" key="label.backuprestore.importfile" theme="xhtml"/></span>                        
            <div class="Actions">
	            <ul>
	                <li><s:submit key="action.restore"/></li>
	            </ul>
	        </div>
        </div>
        </s:form>

    </c:set>

<div class="fullContent">
    <c:import url="/WEB-INF/pages/includes/administration/menu/default.jsp">
        <c:param name="pageName" value="BackupRestore"/>
        <c:param name="content" value="${panelContent}"/>
    </c:import>
</div>