blob: f5cffe351e215b5e2b17ca87ae973ec551fb0aaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %>
<%--@elvariable id="command" type="net.sourceforge.subsonic.command.GeneralSettingsCommand"--%>
<html><head>
<%@ include file="head.jsp" %>
<script type="text/javascript" src="<c:url value="/script/scripts.js"/>"></script>
</head>
<body class="mainframe bgcolor1">
<script type="text/javascript" src="<c:url value="/script/wz_tooltip.js"/>"></script>
<script type="text/javascript" src="<c:url value="/script/tip_balloon.js"/>"></script>
<c:import url="settingsHeader.jsp">
<c:param name="cat" value="general"/>
</c:import>
<form:form method="post" action="generalSettings.view" commandName="command">
<table style="white-space:nowrap" class="indent">
<tr>
<td><fmt:message key="generalsettings.musicmask"/></td>
<td>
<form:input path="musicFileTypes" size="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="musicmask"/></c:import>
</td>
</tr>
<tr>
<td><fmt:message key="generalsettings.videomask"/></td>
<td>
<form:input path="videoFileTypes" size="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="videomask"/></c:import>
</td>
</tr>
<tr>
<td><fmt:message key="generalsettings.coverartmask"/></td>
<td>
<form:input path="coverArtFileTypes" size="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="coverartmask"/></c:import>
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td><fmt:message key="generalsettings.index"/></td>
<td>
<form:input path="index" size="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="index"/></c:import>
</td>
</tr>
<tr>
<td><fmt:message key="generalsettings.ignoredarticles"/></td>
<td>
<form:input path="ignoredArticles" size="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="ignoredarticles"/></c:import>
</td>
</tr>
<tr>
<td><fmt:message key="generalsettings.shortcuts"/></td>
<td>
<form:input path="shortcuts" size="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="shortcuts"/></c:import>
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td><fmt:message key="generalsettings.language"/></td>
<td>
<form:select path="localeIndex" cssStyle="width:15em">
<c:forEach items="${command.locales}" var="locale" varStatus="loopStatus">
<form:option value="${loopStatus.count - 1}" label="${locale}"/>
</c:forEach>
</form:select>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="language"/></c:import>
</td>
</tr>
<tr>
<td><fmt:message key="generalsettings.theme"/></td>
<td>
<form:select path="themeIndex" cssStyle="width:15em">
<c:forEach items="${command.themes}" var="theme" varStatus="loopStatus">
<form:option value="${loopStatus.count - 1}" label="${theme.name}"/>
</c:forEach>
</form:select>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="theme"/></c:import>
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td>
</td>
<td>
<form:checkbox path="sortAlbumsByYear" id="sortAlbumsByYear"/>
<label for="sortAlbumsByYear"><fmt:message key="generalsettings.sortalbumsbyyear"/></label>
</td>
</tr>
<tr>
<td>
</td>
<td>
<form:checkbox path="gettingStartedEnabled" id="gettingStartedEnabled"/>
<label for="gettingStartedEnabled"><fmt:message key="generalsettings.showgettingstarted"/></label>
</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<td><fmt:message key="generalsettings.welcometitle"/></td>
<td>
<form:input path="welcomeTitle" size="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="welcomemessage"/></c:import>
</td>
</tr>
<tr>
<td><fmt:message key="generalsettings.welcomesubtitle"/></td>
<td>
<form:input path="welcomeSubtitle" size="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="welcomemessage"/></c:import>
</td>
</tr>
<tr>
<td style="vertical-align:top;"><fmt:message key="generalsettings.welcomemessage"/></td>
<td>
<form:textarea path="welcomeMessage" rows="5" cols="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="welcomemessage"/></c:import>
</td>
</tr>
<tr>
<td style="vertical-align:top;"><fmt:message key="generalsettings.loginmessage"/></td>
<td>
<form:textarea path="loginMessage" rows="5" cols="70"/>
<c:import url="helpToolTip.jsp"><c:param name="topic" value="loginmessage"/></c:import>
<fmt:message key="main.wiki"/>
</td>
</tr>
<tr>
<td colspan="2" style="padding-top:1.5em">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em">
<input type="button" value="<fmt:message key="common.cancel"/>" onclick="location.href='nowPlaying.view'">
</td>
</tr>
</table>
</form:form>
<c:if test="${command.reloadNeeded}">
<script language="javascript" type="text/javascript">
parent.frames.left.location.href="left.view?";
parent.frames.playQueue.location.href="playQueue.view?";
</script>
</c:if>
</body></html>
|