src/main/webapp/WEB-INF/jsp/site.jsp

changeset 335
1eed60b779da
parent 333
124f605ec40a
equal deleted inserted replaced
334:2696337baa3d 335:1eed60b779da
55 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/> 55 <c:set scope="page" var="extraCss" value="${requestScope[Constants.REQ_ATTR_STYLESHEET]}"/>
56 56
57 <%-- Define an alias for the optional JS file --%> 57 <%-- Define an alias for the optional JS file --%>
58 <c:set scope="page" var="javascriptFile" value="${requestScope[Constants.REQ_ATTR_JAVASCRIPT]}"/> 58 <c:set scope="page" var="javascriptFile" value="${requestScope[Constants.REQ_ATTR_JAVASCRIPT]}"/>
59 59
60 <%-- Define an alias for timezone --%>
61 <c:set scope="page" var="timezone" value="${sessionScope[Constants.SESSION_ATTR_TIMEZONE]}" />
62
60 <%-- Load resource bundle --%> 63 <%-- Load resource bundle --%>
61 <fmt:setLocale scope="request" value="${pageContext.response.locale}"/> 64 <fmt:setLocale scope="request" value="${pageContext.response.locale}"/>
62 <fmt:setBundle scope="request" basename="localization.strings"/> 65 <fmt:setBundle scope="request" basename="localization.strings"/>
63 66
64 <!DOCTYPE html> 67 <!DOCTYPE html>
106 <a href="users/"> 109 <a href="users/">
107 <fmt:message key="menu.users"/> 110 <fmt:message key="menu.users"/>
108 </a> 111 </a>
109 </div> 112 </div>
110 <div class="menuEntry" 113 <div class="menuEntry"
111 <c:if test="${fn:startsWith(requestPath, '/language/')}">data-active</c:if> > 114 <c:if test="${fn:startsWith(requestPath, '/settings/')}">data-active</c:if> >
112 <a href="language/"> 115 <a href="settings/">
113 <fmt:message key="menu.languages"/> 116 <fmt:message key="menu.settings"/>
114 </a> 117 </a>
115 </div> 118 </div>
116 <div class="menuEntry" 119 <div class="menuEntry"
117 <c:if test="${fn:startsWith(requestPath, '/about/')}">data-active</c:if> > 120 <c:if test="${fn:startsWith(requestPath, '/about/')}">data-active</c:if> >
118 <a href="about/"> 121 <a href="about/">

mercurial