diff options
Diffstat (limited to 'subsonic-main/src/main/webapp/WEB-INF/jsp/settingsHeader.jsp')
-rw-r--r-- | subsonic-main/src/main/webapp/WEB-INF/jsp/settingsHeader.jsp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/settingsHeader.jsp b/subsonic-main/src/main/webapp/WEB-INF/jsp/settingsHeader.jsp new file mode 100644 index 00000000..6f7f240c --- /dev/null +++ b/subsonic-main/src/main/webapp/WEB-INF/jsp/settingsHeader.jsp @@ -0,0 +1,32 @@ +
+<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %>
+<%@ include file="include.jsp" %>
+
+<c:set var="categories" value="${param.restricted ? 'personal password player share' : 'musicFolder general advanced personal user player share network transcoding internetRadio podcast'}"/>
+<h1>
+ <img src="<spring:theme code="settingsImage"/>" alt=""/>
+ <fmt:message key="settingsheader.title"/>
+</h1>
+
+<h2>
+<c:forTokens items="${categories}" delims=" " var="cat" varStatus="loopStatus">
+ <c:choose>
+ <c:when test="${loopStatus.count > 1 and (loopStatus.count - 1) % 6 != 0}"> | </c:when>
+ <c:otherwise></h2><h2></c:otherwise>
+ </c:choose>
+
+ <c:url var="url" value="${cat}Settings.view?"/>
+
+ <c:choose>
+ <c:when test="${param.cat eq cat}">
+ <span class="headerSelected"><fmt:message key="settingsheader.${cat}"/></span>
+ </c:when>
+ <c:otherwise>
+ <a href="${url}"><fmt:message key="settingsheader.${cat}"/></a>
+ </c:otherwise>
+ </c:choose>
+
+</c:forTokens>
+</h2>
+
+<p></p>
|