46 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/> |
46 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/> |
47 |
47 |
48 <%-- Define an alias for the additional stylesheet --%> |
48 <%-- Define an alias for the additional stylesheet --%> |
49 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/> |
49 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/> |
50 |
50 |
51 <%-- Apply the session locale (should always be present, but check nevertheless) --%> |
|
52 <c:if test="${not empty sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"> |
|
53 <fmt:setLocale scope="request" value="${sessionScope[Constants.SESSION_ATTR_LANGUAGE]}"/> |
|
54 </c:if> |
|
55 |
|
56 <%-- Load resource bundle --%> |
51 <%-- Load resource bundle --%> |
|
52 <fmt:setLocale scope="request" value="${pageContext.response.locale}"/> |
57 <fmt:setBundle scope="request" basename="localization.strings"/> |
53 <fmt:setBundle scope="request" basename="localization.strings"/> |
58 |
54 |
59 <!DOCTYPE html> |
55 <!DOCTYPE html> |
60 <html> |
56 <html> |
61 <head> |
57 <head> |
64 <meta charset="UTF-8"> |
60 <meta charset="UTF-8"> |
65 <c:if test="${not empty redirectLocation}"> |
61 <c:if test="${not empty redirectLocation}"> |
66 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> |
62 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> |
67 </c:if> |
63 </c:if> |
68 <link rel="stylesheet" href="lightpit.css" type="text/css"> |
64 <link rel="stylesheet" href="lightpit.css" type="text/css"> |
|
65 <link rel="alternate" type="application/rss+xml" |
|
66 title="RSS" href="${baseHref}feed/issues.rss" /> |
69 <c:if test="${not empty extraCss}"> |
67 <c:if test="${not empty extraCss}"> |
70 <c:forEach items="${extraCss}" var="cssFile"> |
68 <c:forEach items="${extraCss}" var="cssFile"> |
71 <link rel="stylesheet" href="${cssFile}" type="text/css"> |
69 <link rel="stylesheet" href="${cssFile}" type="text/css"> |
72 </c:forEach> |
70 </c:forEach> |
73 </c:if> |
71 </c:if> |