| 50 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/> |
50 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/> |
| 51 |
51 |
| 52 <%-- Define an alias for the additional stylesheet --%> |
52 <%-- Define an alias for the additional stylesheet --%> |
| 53 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/> |
53 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/> |
| 54 |
54 |
| 55 <%-- Define an alias for the module info --%> |
55 <%-- Define an alias for the bundle name --%> |
| 56 <c:set scope="page" var="moduleInfo" value="${requestScope[Constants.REQ_ATTR_MODULE_INFO]}"/> |
56 <c:set scope="page" var="bundleName" value="${requestScope[Constants.REQ_ATTR_RESOURCE_BUNDLE]}"/> |
| 57 |
57 |
| 58 <%-- Apply the session locale (should always be present, but check nevertheless) --%> |
58 <%-- Apply the session locale (should always be present, but check nevertheless) --%> |
| 59 <c:if test="${not empty sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"> |
59 <c:if test="${not empty sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"> |
| 60 <fmt:setLocale scope="request" value="${sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"/> |
60 <fmt:setLocale scope="request" value="${sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"/> |
| 61 </c:if> |
61 </c:if> |
| 62 |
62 |
| 63 <%-- Selected project, if any --%> |
63 <%-- Selected project, if any --%> |
| 64 <c:set scope="page" var="selectedProject" value="${sessionScope[ProjectsModule.SESSION_ATTR_SELECTED_PROJECT]}"/> |
64 <c:set scope="page" var="selectedProject" value="${sessionScope[ProjectsModule.SESSION_ATTR_SELECTED_PROJECT]}"/> |
| 65 |
65 |
| |
66 <%-- Load resource bundles --%> |
| |
67 <fmt:setBundle scope="request" basename="${bundleName}"/> |
| |
68 <fmt:setBundle scope="request" var="lightpit_bundle" basename="localization.lightpit"/> |
| |
69 |
| 66 <!DOCTYPE html> |
70 <!DOCTYPE html> |
| 67 <html> |
71 <html> |
| 68 <head> |
72 <head> |
| 69 <base href="${baseHref}"> |
73 <base href="${baseHref}"> |
| 70 <title>LightPIT - |
74 <title>LightPIT - <fmt:message key="pageTitle"/></title> |
| 71 <fmt:bundle basename="${moduleInfo.bundleBaseName}"> |
|
| 72 <fmt:message key="pageTitle"/> |
|
| 73 </fmt:bundle> |
|
| 74 </title> |
|
| 75 <meta charset="UTF-8"> |
75 <meta charset="UTF-8"> |
| 76 <c:if test="${not empty redirectLocation}"> |
76 <c:if test="${not empty redirectLocation}"> |
| 77 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> |
77 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> |
| 78 </c:if> |
78 </c:if> |
| 79 <link rel="stylesheet" href="lightpit.css" type="text/css"> |
79 <link rel="stylesheet" href="lightpit.css" type="text/css"> |