| 49 <c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/> |
49 <c:set scope="page" var="contentPage" value="${requestScope[Constants.REQ_ATTR_CONTENT_PAGE]}"/> |
| 50 |
50 |
| 51 <%-- Define an alias for the optional redirect location --%> |
51 <%-- Define an alias for the optional redirect location --%> |
| 52 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/> |
52 <c:set scope="page" var="redirectLocation" value="${requestScope[Constants.REQ_ATTR_REDIRECT_LOCATION]}"/> |
| 53 |
53 |
| 54 <%-- Define an alias for the additional stylesheet --%> |
|
| 55 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/> |
|
| 56 |
|
| 57 <%-- Define an alias for the optional JS file --%> |
54 <%-- Define an alias for the optional JS file --%> |
| 58 <c:set scope="page" var="javascriptFile" value="${requestScope[Constants.REQ_ATTR_JAVASCRIPT]}"/> |
55 <c:set scope="page" var="javascriptFile" value="${requestScope[Constants.REQ_ATTR_JAVASCRIPT]}"/> |
| 59 |
56 |
| 60 <%-- Define an alias for timezone --%> |
57 <%-- Define an alias for timezone --%> |
| 61 <c:set scope="page" var="timezone" value="${sessionScope[Constants.SESSION_ATTR_TIMEZONE]}" /> |
58 <c:set scope="page" var="timezone" value="${sessionScope[Constants.SESSION_ATTR_TIMEZONE]}" /> |
| 77 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> |
74 <meta http-equiv="refresh" content="0; URL=${redirectLocation}"> |
| 78 </c:if> |
75 </c:if> |
| 79 <link rel="stylesheet" href="lightpit.css?v=${versionSuffix}" type="text/css"> |
76 <link rel="stylesheet" href="lightpit.css?v=${versionSuffix}" type="text/css"> |
| 80 <c:if test="${not empty requestScope[Constants.REQ_ATTR_VIEWMODEL].feedHref}"> |
77 <c:if test="${not empty requestScope[Constants.REQ_ATTR_VIEWMODEL].feedHref}"> |
| 81 <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="${requestScope[Constants.REQ_ATTR_VIEWMODEL].feedHref}"/> |
78 <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="${requestScope[Constants.REQ_ATTR_VIEWMODEL].feedHref}"/> |
| 82 </c:if> |
|
| 83 <c:if test="${not empty extraCss}"> |
|
| 84 <c:forEach items="${extraCss}" var="cssFile"> |
|
| 85 <link rel="stylesheet" href="${cssFile}?v=${versionSuffix}" type="text/css"> |
|
| 86 </c:forEach> |
|
| 87 </c:if> |
79 </c:if> |
| 88 <script> |
80 <script> |
| 89 const baseHref='${baseHref}'; |
81 const baseHref='${baseHref}'; |
| 90 <c:if test="${showWhatsNew}"> |
82 <c:if test="${showWhatsNew}"> |
| 91 function closeWhatsNew(showMore) { |
83 function closeWhatsNew(showMore) { |