1 | <%@ page import="com.medias.Context" contentType="text/html; charset=UTF-8"%> |
---|
2 | <%@ page language="java" contentType="text/html; charset=UTF-8"%> |
---|
3 | <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%> |
---|
4 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%> |
---|
5 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%> |
---|
6 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%> |
---|
7 | |
---|
8 | |
---|
9 | <tiles:insert page="/resources/templates/template.jsp" flush="true"> |
---|
10 | |
---|
11 | <bean:define type="java.lang.String" id="relativePath" value="<%=Context.getRelativePath(request)%>"/> |
---|
12 | <bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/> |
---|
13 | |
---|
14 | <tiles:put name="nav" type="string"> |
---|
15 | <ul><li><html:link page="/index.jsp"><bean:message key="app.home"/></html:link></li></ul> |
---|
16 | </tiles:put> |
---|
17 | |
---|
18 | <tiles:put name="title" type="string"> |
---|
19 | <bean:message key="app.title"/> - <bean:message key="data"/> |
---|
20 | </tiles:put> |
---|
21 | |
---|
22 | <tiles:put name="bodytitle" type="string"> |
---|
23 | <bean:message key="data.title"/> |
---|
24 | </tiles:put> |
---|
25 | |
---|
26 | <tiles:put name="body" type="string"> |
---|
27 | <html:errors/> |
---|
28 | |
---|
29 | <bean:message key="data.intro0"/> |
---|
30 | <bean:message key="data.intro1"/><html:link href="mailto:${webmaster}?subject=[MEGAPOLI]">webmaster</html:link>. |
---|
31 | <bean:define id="upload" value="upload"/> |
---|
32 | <bean:define id="access" value="access"/> |
---|
33 | <ul> |
---|
34 | <li> |
---|
35 | <html:link page="/data/access/access.jsp"><bean:message key="data.access"/></html:link> |
---|
36 | : <bean:message key="data.access.intro"/> |
---|
37 | </li> |
---|
38 | <li> |
---|
39 | <logic:notPresent name="SES_USER" scope="session"> |
---|
40 | <html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><bean:message key="data.access.extract"/></html:link> |
---|
41 | </logic:notPresent> |
---|
42 | <logic:present name="SES_USER" scope="session"> |
---|
43 | <html:link page="/DataAccess.do"><bean:message key="data.access.extract"/></html:link> |
---|
44 | </logic:present> |
---|
45 | : <bean:message key="data.access.intro2"/> |
---|
46 | </li> |
---|
47 | <li> |
---|
48 | <logic:notPresent name="SES_USER" scope="session"> |
---|
49 | <html:link page="/InitLogon.do" paramName="upload" paramId="source"><bean:message key="data.upload"/></html:link> |
---|
50 | </logic:notPresent> |
---|
51 | <logic:present name="SES_USER" scope="session"> |
---|
52 | <html:link page="/PrepareTree.do"><bean:message key="data.upload"/></html:link> |
---|
53 | </logic:present> |
---|
54 | : <bean:message key="data.upload.intro"/> |
---|
55 | </li> |
---|
56 | </ul> |
---|
57 | </tiles:put> |
---|
58 | </tiles:insert> |
---|