forked from CxAPI-Security/easybuggy4sb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
includable.jsp
72 lines (72 loc) · 2.74 KB
/
includable.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="language" value="${not empty param.language ? param.language : not empty language ? language : pageContext.request.locale}" scope="session" />
<fmt:setLocale value="${language}" />
<fmt:setBundle basename="messages" />
<!DOCTYPE html>
<html>
<head>
<title><fmt:message key="title.design.test.page" /></title>
<link rel="icon" type="image/vnd.microsoft.icon" href="${pageContext.request.contextPath}/images/favicon.ico">
<c:catch var="ex">
<c:if test="${param.template != null && !fn:contains(param.template,'../') && !fn:startsWith(param.template,'/')}">
<c:import url="<%=request.getParameter(\"template\")%>" />
</c:if>
</c:catch>
</head>
<body style="margin-left: 20px; margin-right: 20px;">
<table style="width: 100%;">
<tr>
<td>
<h2>
<span class="glyphicon glyphicon-globe"></span>
<fmt:message key="title.design.test.page" />
</h2>
</td>
<td align="right"><a href="${pageContext.request.contextPath}/"><fmt:message key="label.go.to.main" /></a></td>
</tr>
</table>
<hr style="margin-top: 0" />
<header>
<table style="width: 720px;">
<tr>
<td><img src="${pageContext.request.contextPath}/images/easybuggy.png"></td>
<td><fmt:message key="description.design.page" /></td>
</tr>
</table>
</header>
<hr style="margin-top: 10px" />
<p>
<fmt:message key="description.design.test" />
</p>
<ul>
<li><p>
<a href="includable.jsp"><fmt:message key="style.name.nonstyle" /></a>:
<fmt:message key="style.description.nonstyle" />
</p></li>
<li><p>
<a href="includable.jsp?template=style_bootstrap.html"><fmt:message key="style.name.bootstrap" /></a>:
<fmt:message key="style.description.bootstrap" />
</p></li>
<li><p>
<a href="includable.jsp?template=style_google_mdl.html"><fmt:message key="style.name.google.mdl" /></a>:
<fmt:message key="style.description.google.mdl" />
</p></li>
<li><p>
<a href="includable.jsp?template=style_materialize.html"><fmt:message key="style.name.materialize" /></a>:
<fmt:message key="style.description.materialize" />
</p></li>
</ul>
<br>
<div class="alert alert-info" role="alert">
<span class="glyphicon glyphicon-info-sign"></span>
<fmt:message key="msg.note.dangerous.file.inclusion" />
</div>
<hr>
<footer>
<img src="/images/easybuggyL.png">Copyright © 2016-17 T246 OSS Lab, all rights reserved.
</footer>
</body>
</html>