Fixed a bunch of quoting issues in jsp files

All the quoting issues were causing PMD violations.
A few other things that were noticed along the way were fixed too.
master
Evan Harris 5 years ago
parent cd0dc8673d
commit 4098d801fc
No known key found for this signature in database
GPG Key ID: FF3BD4DA59FF9EDC
  1. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/accessDenied.jsp
  2. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/advancedSettings.jsp
  3. 42
      airsonic-main/src/main/webapp/WEB-INF/jsp/albumMain.jsp
  4. 30
      airsonic-main/src/main/webapp/WEB-INF/jsp/artistMain.jsp
  5. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/avatarUploadResult.jsp
  6. 16
      airsonic-main/src/main/webapp/WEB-INF/jsp/changeCoverArt.jsp
  7. 6
      airsonic-main/src/main/webapp/WEB-INF/jsp/coverArt.jsp
  8. 6
      airsonic-main/src/main/webapp/WEB-INF/jsp/createShare.jsp
  9. 8
      airsonic-main/src/main/webapp/WEB-INF/jsp/databaseSettings.jsp
  10. 14
      airsonic-main/src/main/webapp/WEB-INF/jsp/dlnaSettings.jsp
  11. 8
      airsonic-main/src/main/webapp/WEB-INF/jsp/editTags.jsp
  12. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/error.jsp
  13. 6
      airsonic-main/src/main/webapp/WEB-INF/jsp/externalPlayer.jsp
  14. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/generalSettings.jsp
  15. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/gettingStarted.jsp
  16. 18
      airsonic-main/src/main/webapp/WEB-INF/jsp/head.jsp
  17. 8
      airsonic-main/src/main/webapp/WEB-INF/jsp/help.jsp
  18. 4
      airsonic-main/src/main/webapp/WEB-INF/jsp/home.jsp
  19. 8
      airsonic-main/src/main/webapp/WEB-INF/jsp/homePager.jsp
  20. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/importPlaylist.jsp
  21. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/internetRadioSettings.jsp
  22. 6
      airsonic-main/src/main/webapp/WEB-INF/jsp/javaJukeboxPlayerControlBar.jspf
  23. 6
      airsonic-main/src/main/webapp/WEB-INF/jsp/jquery.jsp
  24. 12
      airsonic-main/src/main/webapp/WEB-INF/jsp/left.jsp
  25. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/login.jsp
  26. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/lyrics.jsp
  27. 28
      airsonic-main/src/main/webapp/WEB-INF/jsp/more.jsp
  28. 8
      airsonic-main/src/main/webapp/WEB-INF/jsp/musicFolderSettings.jsp
  29. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/notFound.jsp
  30. 4
      airsonic-main/src/main/webapp/WEB-INF/jsp/passwordSettings.jsp
  31. 12
      airsonic-main/src/main/webapp/WEB-INF/jsp/personalSettings.jsp
  32. 32
      airsonic-main/src/main/webapp/WEB-INF/jsp/playButtons.jsp
  33. 64
      airsonic-main/src/main/webapp/WEB-INF/jsp/playQueue.jsp
  34. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/playerSettings.jsp
  35. 22
      airsonic-main/src/main/webapp/WEB-INF/jsp/playlist.jsp
  36. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/playlists.jsp
  37. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/podcastChannel.jsp
  38. 4
      airsonic-main/src/main/webapp/WEB-INF/jsp/podcastChannels.jsp
  39. 4
      airsonic-main/src/main/webapp/WEB-INF/jsp/podcastSettings.jsp
  40. 6
      airsonic-main/src/main/webapp/WEB-INF/jsp/rating.jsp
  41. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/recover.jsp
  42. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/right.jsp
  43. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/search.jsp
  44. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/settingsHeader.jsp
  45. 4
      airsonic-main/src/main/webapp/WEB-INF/jsp/shareSettings.jsp
  46. 14
      airsonic-main/src/main/webapp/WEB-INF/jsp/sonosSettings.jsp
  47. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/starred.jsp
  48. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/status.jsp
  49. 34
      airsonic-main/src/main/webapp/WEB-INF/jsp/top.jsp
  50. 18
      airsonic-main/src/main/webapp/WEB-INF/jsp/transcodingSettings.jsp
  51. 10
      airsonic-main/src/main/webapp/WEB-INF/jsp/userSettings.jsp
  52. 4
      airsonic-main/src/main/webapp/WEB-INF/jsp/videoMain.jsp
  53. 18
      airsonic-main/src/main/webapp/WEB-INF/jsp/videoPlayer.jsp
  54. 8
      airsonic-main/src/main/webapp/WEB-INF/jsp/viewSelector.jsp

@ -8,7 +8,7 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="errorImage"/>" alt=""/> <img src="<spring:theme code='errorImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="accessDenied.title"/></span> <span style="vertical-align: middle"><fmt:message key="accessDenied.title"/></span>
</h1> </h1>

@ -4,7 +4,7 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
function enableLdapFields() { function enableLdapFields() {
$("#ldap").is(":checked") ? $("#ldapTable").show() : $("#ldapTable").hide(); $("#ldap").is(":checked") ? $("#ldapTable").show() : $("#ldapTable").hide();
@ -13,8 +13,8 @@
</head> </head>
<body class="mainframe bgcolor1" onload="enableLdapFields()"> <body class="mainframe bgcolor1" onload="enableLdapFields()">
<script type="text/javascript" src="<c:url value="/script/wz_tooltip.js"/>"></script> <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> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
<c:param name="cat" value="advanced"/> <c:param name="cat" value="advanced"/>
@ -167,8 +167,8 @@
<p class="warning"><fmt:message key="advancedsettings.ldapRequiresRestart"/></p> <p class="warning"><fmt:message key="advancedsettings.ldapRequiresRestart"/></p>
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href="nowPlaying.view"><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href="nowPlaying.view"><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</form:form> </form:form>

@ -5,12 +5,12 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/starService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/starService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/playlistService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/playlistService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/multiService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/multiService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/jquery.fancyzoom.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/jquery.fancyzoom.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
</head><body class="mainframe bgcolor1" onload="init();"> </head><body class="mainframe bgcolor1" onload="init();">
@ -103,12 +103,12 @@
} }
function toggleStar(mediaFileId, imageId) { function toggleStar(mediaFileId, imageId) {
if ($(imageId).attr("src").indexOf("<spring:theme code="ratingOnImage"/>") != -1) { if ($(imageId).attr("src").indexOf("<spring:theme code='ratingOnImage'/>") != -1) {
$(imageId).attr("src", "<spring:theme code="ratingOffImage"/>"); $(imageId).attr("src", "<spring:theme code='ratingOffImage'/>");
starService.unstar(mediaFileId); starService.unstar(mediaFileId);
} }
else if ($(imageId).attr("src").indexOf("<spring:theme code="ratingOffImage"/>") != -1) { else if ($(imageId).attr("src").indexOf("<spring:theme code='ratingOffImage'/>") != -1) {
$(imageId).attr("src", "<spring:theme code="ratingOnImage"/>"); $(imageId).attr("src", "<spring:theme code='ratingOnImage'/>");
starService.star(mediaFileId); starService.star(mediaFileId);
} }
} }
@ -153,7 +153,7 @@
} }
playlistService.appendToPlaylist(playlistId, mediaFileIds, function (){ playlistService.appendToPlaylist(playlistId, mediaFileIds, function (){
top.left.updatePlaylists(); top.left.updatePlaylists();
$().toastmessage("showSuccessToast", "<fmt:message key="playlist.toast.appendtoplaylist"/>"); $().toastmessage("showSuccessToast", "<fmt:message key='playlist.toast.appendtoplaylist'/>");
}); });
} }
function showAllAlbums() { function showAllAlbums() {
@ -163,7 +163,7 @@
<div style="float:left"> <div style="float:left">
<h1> <h1>
<img id="starImage" src="<spring:theme code="${not empty model.dir.starredDate ? 'ratingOnImage' : 'ratingOffImage'}"/>" <img id="starImage" src="<spring:theme code='${not empty model.dir.starredDate ? \'ratingOnImage\' : \'ratingOffImage\'}'/>"
onclick="toggleStar(${model.dir.id}, '#starImage'); return false;" style="cursor:pointer;height:18px;" alt=""> onclick="toggleStar(${model.dir.id}, '#starImage'); return false;" style="cursor:pointer;height:18px;" alt="">
<span style="vertical-align: middle"> <span style="vertical-align: middle">
@ -239,27 +239,27 @@
</c:if> </c:if>
<c:if test="${model.user.shareRole}"> <c:if test="${model.user.shareRole}">
<span class="header"><a href="${shareUrl}"><img src="<spring:theme code="shareSmallImage"/>" style="height:18px;" alt=""></a> <span class="header"><a href="${shareUrl}"><img src="<spring:theme code='shareSmallImage'/>" style="height:18px;" alt=""></a>
<a href="${shareUrl}"><fmt:message key="main.sharealbum"/></a> </span> | <a href="${shareUrl}"><fmt:message key="main.sharealbum"/></a> </span> |
</c:if> </c:if>
<c:if test="${not empty model.artist and not empty model.album}"> <c:if test="${not empty model.artist and not empty model.album}">
<sub:url value="https://www.google.com/search" var="googleUrl" encoding="UTF-8"> <sub:url value="https://www.google.com/search" var="googleUrl" encoding="UTF-8">
<sub:param name="q" value="\"${fn:escapeXml(model.artist)}\" \"${fn:escapeXml(model.album)}\""/> <sub:param name="q" value='"${fn:escapeXml(model.artist)}" "${fn:escapeXml(model.album)}"'/>
</sub:url> </sub:url>
<sub:url value="https://en.wikipedia.org/wiki/Special:Search" var="wikipediaUrl" encoding="UTF-8"> <sub:url value="https://en.wikipedia.org/wiki/Special:Search" var="wikipediaUrl" encoding="UTF-8">
<sub:param name="search" value="\"${fn:escapeXml(model.album)}\""/> <sub:param name="search" value='"${fn:escapeXml(model.album)}"'/>
<sub:param name="go" value="Go"/> <sub:param name="go" value="Go"/>
</sub:url> </sub:url>
<sub:url value="https://www.allmusic.com/search/albums/%22${fn:escapeXml(model.artist)}%22+%22${fn:escapeXml(model.album)}%22" var="allmusicUrl"> <sub:url value="https://www.allmusic.com/search/albums/%22${fn:escapeXml(model.artist)}%22+%22${fn:escapeXml(model.album)}%22" var="allmusicUrl">
</sub:url> </sub:url>
<sub:url value="https://www.last.fm/search" var="lastFmUrl" encoding="UTF-8"> <sub:url value="https://www.last.fm/search" var="lastFmUrl" encoding="UTF-8">
<sub:param name="q" value="\"${fn:escapeXml(model.artist)}\" \"${fn:escapeXml(model.album)}\""/> <sub:param name="q" value='"${fn:escapeXml(model.artist)}" "${fn:escapeXml(model.album)}"'/>
<sub:param name="type" value="album"/> <sub:param name="type" value="album"/>
</sub:url> </sub:url>
<sub:url value="https://www.discogs.com/search/" var="discogsUrl" encoding="UTF-8"> <sub:url value="https://www.discogs.com/search/" var="discogsUrl" encoding="UTF-8">
<sub:param name="q" value="\"${fn:escapeXml(model.artist)}\" \"${fn:escapeXml(model.album)}\""/> <sub:param name="q" value='"${fn:escapeXml(model.artist)}" "${fn:escapeXml(model.album)}"'/>
<sub:param name="type" value="release"/> <sub:param name="type" value="release"/>
</sub:url> </sub:url>
<span class="header"><fmt:message key="top.search"/> <a target="_blank" href="${googleUrl}">Google</a></span> | <span class="header"><fmt:message key="top.search"/> <a target="_blank" href="${googleUrl}">Google</a></span> |
@ -292,7 +292,7 @@
<input type="hidden" name="action" value="comment"> <input type="hidden" name="action" value="comment">
<input type="hidden" name="id" value="${model.dir.id}"> <input type="hidden" name="id" value="${model.dir.id}">
<textarea name="comment" rows="6" cols="70">${model.dir.comment}</textarea> <textarea name="comment" rows="6" cols="70">${model.dir.comment}</textarea>
<input type="submit" value="<fmt:message key="common.save"/>"> <input type="submit" value="<fmt:message key='common.save'/>">
</form> </form>
</div> </div>
@ -460,7 +460,7 @@
</tr> </tr>
</table> </table>
<c:if test="${model.thereIsMore}"> <c:if test="${model.thereIsMore}">
<input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key="main.showall"/>" onclick="showAllAlbums()"> <input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key='main.showall'/>" onclick="showAllAlbums()">
</c:if> </c:if>
<c:if test="${not model.viewAsList}"> <c:if test="${not model.viewAsList}">
@ -480,7 +480,7 @@
</div> </div>
</c:forEach> </c:forEach>
<c:if test="${model.thereIsMore}"> <c:if test="${model.thereIsMore}">
<input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key="main.showall"/>" onclick="showAllAlbums()"> <input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key='main.showall'/>" onclick="showAllAlbums()">
</c:if> </c:if>
</div> </div>
</c:if> </c:if>
@ -498,7 +498,7 @@
<tr><td style="height: 100%"></td></tr> <tr><td style="height: 100%"></td></tr>
</table> </table>
<div id="dialog-select-playlist" title="<fmt:message key="main.addtoplaylist.title"/>" style="display: none;"> <div id="dialog-select-playlist" title="<fmt:message key='main.addtoplaylist.title'/>" style="display: none;">
<p><fmt:message key="main.addtoplaylist.text"/></p> <p><fmt:message key="main.addtoplaylist.text"/></p>
<div id="dialog-select-playlist-list"></div> <div id="dialog-select-playlist-list"></div>
</div> </div>

@ -25,11 +25,11 @@
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/starService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/starService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/multiService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/multiService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/jquery.fancyzoom.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/jquery.fancyzoom.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
</head><body class="mainframe bgcolor1" onload="init();"> </head><body class="mainframe bgcolor1" onload="init();">
@ -164,7 +164,7 @@
<div style="float:left"> <div style="float:left">
<h1> <h1>
<img id="starImage" style="height:18px" src="<spring:theme code="${not empty model.dir.starredDate ? 'ratingOnImage' : 'ratingOffImage'}"/>" <img id="starImage" style="height:18px" src="<spring:theme code='${not empty model.dir.starredDate ? \'ratingOnImage\' : \'ratingOffImage\'}'/>"
onclick="toggleStar(${model.dir.id}, '#starImage'); return false;" style="cursor:pointer;height:18px;" alt=""> onclick="toggleStar(${model.dir.id}, '#starImage'); return false;" style="cursor:pointer;height:18px;" alt="">
<span style="vertical-align: middle"> <span style="vertical-align: middle">
@ -215,7 +215,7 @@
<input type="hidden" name="action" value="comment"> <input type="hidden" name="action" value="comment">
<input type="hidden" name="id" value="${model.dir.id}"> <input type="hidden" name="id" value="${model.dir.id}">
<textarea name="comment" rows="6" cols="70">${model.dir.comment}</textarea> <textarea name="comment" rows="6" cols="70">${model.dir.comment}</textarea>
<input type="submit" value="<fmt:message key="common.save"/>"> <input type="submit" value="<fmt:message key='common.save'/>">
</form> </form>
</div> </div>
@ -243,7 +243,7 @@
</c:forEach> </c:forEach>
</table> </table>
<c:if test="${model.thereIsMore}"> <c:if test="${model.thereIsMore}">
<input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key="main.showall"/>" onclick="showAllAlbums()"> <input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key='main.showall'/>" onclick="showAllAlbums()">
</c:if> </c:if>
</c:when> </c:when>
@ -285,7 +285,7 @@
</c:if> </c:if>
</c:forEach> </c:forEach>
<c:if test="${model.thereIsMore}"> <c:if test="${model.thereIsMore}">
<input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key="main.showall"/>" onclick="showAllAlbums()"> <input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key='main.showall'/>" onclick="showAllAlbums()">
</c:if> </c:if>
</div> </div>
</c:otherwise> </c:otherwise>
@ -308,8 +308,8 @@
<span id="similarArtists"></span> <span id="similarArtists"></span>
</td></tr> </td></tr>
<tr><td style="text-align:center"> <tr><td style="text-align:center">
<input id="similarArtistsRadio" style="display:none;margin-top:1em;margin-right:0.3em;cursor:pointer" type="button" value="<fmt:message key="main.startradio"/>" onclick="playSimilar()"> <input id="similarArtistsRadio" style="display:none;margin-top:1em;margin-right:0.3em;cursor:pointer" type="button" value="<fmt:message key='main.startradio'/>" onclick="playSimilar()">
<input id="playTopSongs" style="display:none;margin-top:1em;margin-left:0.3em;cursor:pointer" type="button" value="<fmt:message key="main.playtopsongs"/>" onclick="playAllTopSongs()"> <input id="playTopSongs" style="display:none;margin-top:1em;margin-left:0.3em;cursor:pointer" type="button" value="<fmt:message key='main.playtopsongs'/>" onclick="playAllTopSongs()">
</td></tr> </td></tr>
<tr><td style="height: 100%"></td></tr> <tr><td style="height: 100%"></td></tr>
</table> </table>
@ -320,16 +320,16 @@
<tbody id="topSongsBody"> <tbody id="topSongsBody">
<tr id="pattern" style="display:none;margin:0;padding:0;border:0"> <tr id="pattern" style="display:none;margin:0;padding:0;border:0">
<td class="fit"> <td class="fit">
<img id="starSong" style="height:18px;" onclick="toggleStarTopSong(this.id.substring(8) - 1, '#starSong' + this.id.substring(8))" src="<spring:theme code="ratingOffImage"/>" <img id="starSong" style="height:18px;" onclick="toggleStarTopSong(this.id.substring(8) - 1, '#starSong' + this.id.substring(8))" src="<spring:theme code='ratingOffImage'/>"
style="cursor:pointer" alt="" title=""></td> style="cursor:pointer" alt="" title=""></td>
<td class="fit"> <td class="fit">
<img id="play" src="<spring:theme code="playImage"/>" alt="<fmt:message key="common.play"/>" title="<fmt:message key="common.play"/>" <img id="play" src="<spring:theme code='playImage'/>" alt="<fmt:message key='common.play'/>" title="<fmt:message key='common.play'/>"
style="padding-right:0.1em;cursor:pointer" onclick="playTopSong(this.id.substring(4) - 1)"></td> style="padding-right:0.1em;cursor:pointer" onclick="playTopSong(this.id.substring(4) - 1)"></td>
<td class="fit"> <td class="fit">
<img id="add" src="<spring:theme code="addImage"/>" alt="<fmt:message key="common.add"/>" title="<fmt:message key="common.add"/>" <img id="add" src="<spring:theme code='addImage'/>" alt="<fmt:message key='common.add'/>" title="<fmt:message key='common.add'/>"
style="padding-right:0.1em;cursor:pointer" onclick="addTopSong(this.id.substring(3) - 1)"></td> style="padding-right:0.1em;cursor:pointer" onclick="addTopSong(this.id.substring(3) - 1)"></td>
<td class="fit" style="padding-right:30px"> <td class="fit" style="padding-right:30px">
<img id="addNext" src="<spring:theme code="addNextImage"/>" alt="<fmt:message key="main.addnext"/>" title="<fmt:message key="main.addnext"/>" <img id="addNext" src="<spring:theme code='addNextImage'/>" alt="<fmt:message key='main.addnext'/>" title="<fmt:message key='main.addnext'/>"
style="padding-right:0.1em;cursor:pointer" onclick="addNextTopSong(this.id.substring(7) - 1)"></td> style="padding-right:0.1em;cursor:pointer" onclick="addNextTopSong(this.id.substring(7) - 1)"></td>
<td class="fit rightalign"><span id="rank" class="detail">Rank</span></td> <td class="fit rightalign"><span id="rank" class="detail">Rank</span></td>
<td class="truncate"><span id="title" class="songTitle">Title</span></td> <td class="truncate"><span id="title" class="songTitle">Title</span></td>

@ -7,7 +7,7 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="settingsImage"/>" alt=""/> <img src="<spring:theme code='settingsImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="avataruploadresult.title"/></span> <span style="vertical-align: middle"><fmt:message key="avataruploadresult.title"/></span>
</h1> </h1>

@ -3,9 +3,9 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/dwr/interface/coverArtService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/coverArtService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/util.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
dwr.engine.setErrorHandler(function() { dwr.engine.setErrorHandler(function() {
@ -80,9 +80,9 @@
<form action="javascript:search()"> <form action="javascript:search()">
<sec:csrfInput /> <sec:csrfInput />
<table class="indent"><tr> <table class="indent"><tr>
<td><input id="artist" name="artist" placeholder="<fmt:message key="changecoverart.artist"/>" size="35" type="text" value="${model.artist}" onclick="select()"/></td> <td><input id="artist" name="artist" placeholder="<fmt:message key='changecoverart.artist'/>" size="35" type="text" value="${model.artist}" onclick="select()"/></td>
<td><input id="album" name="album" placeholder="<fmt:message key="changecoverart.album"/>" size="35" type="text" value="${model.album}" onclick="select()"/></td> <td><input id="album" name="album" placeholder="<fmt:message key='changecoverart.album'/>" size="35" type="text" value="${model.album}" onclick="select()"/></td>
<td style="padding-left:0.5em"><input type="submit" value="<fmt:message key="changecoverart.search"/>"/></td> <td style="padding-left:0.5em"><input type="submit" value="<fmt:message key='changecoverart.search'/>"/></td>
</tr></table> </tr></table>
</form> </form>
@ -91,7 +91,7 @@
<table><tr> <table><tr>
<td><label for="url"><fmt:message key="changecoverart.address"/></label></td> <td><label for="url"><fmt:message key="changecoverart.address"/></label></td>
<td style="padding-left:0.5em"><input type="text" name="url" size="50" id="url" value="http://" onclick="select()"/></td> <td style="padding-left:0.5em"><input type="text" name="url" size="50" id="url" value="http://" onclick="select()"/></td>
<td style="padding-left:0.5em"><input type="submit" value="<fmt:message key="common.ok"/>"></td> <td style="padding-left:0.5em"><input type="submit" value="<fmt:message key='common.ok'/>"></td>
</tr></table> </tr></table>
</form> </form>
<sub:url value="main.view" var="backUrl"><sub:param name="id" value="${model.id}"/></sub:url> <sub:url value="main.view" var="backUrl"><sub:param name="id" value="${model.id}"/></sub:url>
@ -111,7 +111,7 @@
<div id="images"></div> <div id="images"></div>
<div style="clear:both;"></div> <div style="clear:both;"></div>
<a href="https://last.fm/" target="_blank" rel="noopener noreferrer"> <a href="https://last.fm/" target="_blank" rel="noopener noreferrer">
<img alt="Lastfm icon" src="<c:url value="/icons/lastfm.gif"/>"> <img alt="Lastfm icon" src="<c:url value='/icons/lastfm.gif'/>">
</a> </a>
<span class="detail" style="padding-left:1em"><fmt:message key="changecoverart.courtesy"/></span> <span class="detail" style="padding-left:1em"><fmt:message key="changecoverart.courtesy"/></span>
</div> </div>

@ -34,7 +34,7 @@ PARAMETERS
<str:randomString count="5" type="alphabet" var="addId"/> <str:randomString count="5" type="alphabet" var="addId"/>
<div class="coverart dropshadow"> <div class="coverart dropshadow">
<div style="width:${size};max-width:${size};height:${size};max-height:${size};cursor:pointer;<c:if test="${param.hideOverflow}">overflow:hidden</c:if>;" title="${param.caption1}" id="${divId}"> <div style="width:${size};max-width:${size};height:${size};max-height:${size};cursor:pointer;<c:if test='${param.hideOverflow}'>overflow:hidden</c:if>;" title="${param.caption1}" id="${divId}">
<c:if test="${not empty param.albumId}"> <c:if test="${not empty param.albumId}">
<c:url value="main.view" var="targetUrl"> <c:url value="main.view" var="targetUrl">
@ -72,13 +72,13 @@ PARAMETERS
</c:url> </c:url>
<div style="position: relative; width: 0; height: 0"> <div style="position: relative; width: 0; height: 0">
<img alt="Play overlay" src="<spring:theme code="playOverlayImage"/>" id="${playId}" <img alt="Play overlay" src="<spring:theme code='playOverlayImage'/>" id="${playId}"
style="position: relative; top: 8px; left: 8px; z-index: 2; display:none" > style="position: relative; top: 8px; left: 8px; z-index: 2; display:none" >
</div> </div>
<c:if test="${not empty param.albumId}"> <c:if test="${not empty param.albumId}">
<div style="position: relative; width: 0; height: 0"> <div style="position: relative; width: 0; height: 0">
<img alt="Add overlay" src="<spring:theme code="addOverlayImage"/>" id="${addId}" <img alt="Add overlay" src="<spring:theme code='addOverlayImage'/>" id="${addId}"
style="position: relative; top: 8px; left: 48px; z-index: 2; display:none" > style="position: relative; top: 8px; left: 48px; z-index: 2; display:none" >
</div> </div>
</c:if> </c:if>

@ -7,18 +7,18 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="shareImage"/>" alt="" style="height:18px;"> <img src="<spring:theme code='shareImage'/>" alt="" style="height:18px;">
<span style="vertical-align: middle"><fmt:message key="share.title"/></span> <span style="vertical-align: middle"><fmt:message key="share.title"/></span>
</h1> </h1>
<fmt:message key="share.warning"/> <fmt:message key="share.warning"/>
<p> <p>
<a href="https://www.facebook.com/sharer.php?u=${model.playUrl}" target="_blank" rel="noopener noreferrer"><img src="<spring:theme code="shareFacebookImage"/>" alt=""></a>&nbsp; <a href="https://www.facebook.com/sharer.php?u=${model.playUrl}" target="_blank" rel="noopener noreferrer"><img src="<spring:theme code='shareFacebookImage'/>" alt=""></a>&nbsp;
<a href="https://www.facebook.com/sharer.php?u=${model.playUrl}" target="_blank" rel="noopener noreferrer"><fmt:message key="share.facebook"/></a> <a href="https://www.facebook.com/sharer.php?u=${model.playUrl}" target="_blank" rel="noopener noreferrer"><fmt:message key="share.facebook"/></a>
</p> </p>
<p> <p>
<a href="https://twitter.com/?status=Listening to ${model.playUrl}" target="_blank" rel="noopener noreferrer"><img src="<spring:theme code="shareTwitterImage"/>" alt=""></a>&nbsp; <a href="https://twitter.com/?status=Listening to ${model.playUrl}" target="_blank" rel="noopener noreferrer"><img src="<spring:theme code='shareTwitterImage'/>" alt=""></a>&nbsp;
<a href="https://twitter.com/?status=Listening to ${model.playUrl}" target="_blank" rel="noopener noreferrer"><fmt:message key="share.twitter"/></a> <a href="https://twitter.com/?status=Listening to ${model.playUrl}" target="_blank" rel="noopener noreferrer"><fmt:message key="share.twitter"/></a>
</p> </p>
<p> <p>

@ -27,8 +27,8 @@
</script> </script>
</head> </head>
<body class="mainframe bgcolor1"> <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/wz_tooltip.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/tip_balloon.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
<c:param name="cat" value="database"/> <c:param name="cat" value="database"/>
@ -118,8 +118,8 @@
<p class="warning"><fmt:message key="databasettings.restartRequired"/></p> <p class="warning"><fmt:message key="databasettings.restartRequired"/></p>
<p> <p>
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href="nowPlaying.view"><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href="nowPlaying.view"><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</p> </p>
</form:form> </form:form>

@ -21,12 +21,12 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
</head> </head>
<body class="mainframe bgcolor1"> <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/wz_tooltip.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/tip_balloon.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
<c:param name="cat" value="dlna"/> <c:param name="cat" value="dlna"/>
@ -47,7 +47,7 @@
<div> <div>
<fmt:message key="dlnasettings.servername"/> <fmt:message key="dlnasettings.servername"/>
<input name="dlnaServerName" id="dlnaServerName" size="40" <input name="dlnaServerName" id="dlnaServerName" size="40"
value="<c:out value="${model.dlnaServerName}" escapeXml="true"/>"/> value="<c:out value='${model.dlnaServerName}' escapeXml='true'/>"/>
</div> </div>
<p class="detail" style="width:60%;white-space:normal;padding-top:0"> <p class="detail" style="width:60%;white-space:normal;padding-top:0">
<fmt:message key="dlnasettings.servername.description"/> <fmt:message key="dlnasettings.servername.description"/>
@ -56,15 +56,15 @@
<div> <div>
<label for="dlnaBaseLANURL" ><fmt:message key="dlnasettings.baselanurl"/></label> <label for="dlnaBaseLANURL" ><fmt:message key="dlnasettings.baselanurl"/></label>
<input type="text" size="50" name="dlnaBaseLANURL" id="dlnaBaseLANURL" <input type="text" size="50" name="dlnaBaseLANURL" id="dlnaBaseLANURL"
value="<c:out value="${model.dlnaBaseLANURL}" />" /> value="<c:out value='${model.dlnaBaseLANURL}' />" />
</div> </div>
<p class="detail" style="width:60%;white-space:normal"> <p class="detail" style="width:60%;white-space:normal">
<fmt:message key="dlnasettings.lanurl.description"/> <fmt:message key="dlnasettings.lanurl.description"/>
</p> </p>
<p> <p>
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</p> </p>
</form> </form>

@ -2,9 +2,9 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<script type="text/javascript" src="<c:url value="/dwr/interface/tagService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/tagService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/util.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
</head> </head>
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
@ -159,6 +159,6 @@
</table> </table>
<p><input type="submit" id="save" value="<fmt:message key="common.save"/>" onclick="updateTags()"/></p> <p><input type="submit" id="save" value="<fmt:message key='common.save'/>" onclick="updateTags()"/></p>
<div class="warning" id="errors"/> <div class="warning" id="errors"/>
</body></html> </body></html>

@ -12,7 +12,7 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="errorImage"/>" alt=""/> <img src="<spring:theme code='errorImage'/>" alt=""/>
<span style="vertical-align: middle">Error</span> <span style="vertical-align: middle">Error</span>
</h1> </h1>

@ -5,9 +5,9 @@
<head> <head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<meta name="og:type" content="album"/> <meta name="og:type" content="album"/>
<script type="text/javascript" src="<c:url value="/script/mediaelement/mediaelement-and-player.min.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/mediaelement/mediaelement-and-player.min.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/mediaelement/playlist.min.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/mediaelement/playlist.min.js'/>"></script>
<link type="text/css" rel="stylesheet" href="<c:url value="/script/mediaelement/playlist.min.css"/>"> <link type="text/css" rel="stylesheet" href="<c:url value='/script/mediaelement/playlist.min.css'/>">
<c:if test="${not empty model.songs}"> <c:if test="${not empty model.songs}">
<meta name="og:title" <meta name="og:title"
content="${fn:escapeXml(model.songs[0].artist)} &mdash; ${fn:escapeXml(model.songs[0].albumName)}"/> content="${fn:escapeXml(model.songs[0].artist)} &mdash; ${fn:escapeXml(model.songs[0].albumName)}"/>

@ -4,12 +4,12 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
</head> </head>
<body class="mainframe bgcolor1"> <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/wz_tooltip.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/tip_balloon.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
<c:param name="cat" value="general"/> <c:param name="cat" value="general"/>
@ -156,8 +156,8 @@
<tr> <tr>
<td colspan="2" style="padding-top:1.5em"> <td colspan="2" style="padding-top:1.5em">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</td> </td>
</tr> </tr>

@ -13,7 +13,7 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1 style="padding-bottom:0.5em"> <h1 style="padding-bottom:0.5em">
<img src="<spring:theme code="homeImage"/>" alt=""> <img src="<spring:theme code='homeImage'/>" alt="">
<fmt:message key="gettingStarted.title"/> <fmt:message key="gettingStarted.title"/>
</h1> </h1>

@ -2,18 +2,18 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<c:set var="styleSheet"><spring:theme code="styleSheet"/></c:set> <c:set var="styleSheet"><spring:theme code="styleSheet"/></c:set>
<link rel="apple-touch-icon" sizes="180x180" href="<c:url value="/icons/apple-touch-icon.png"/>"/> <link rel="apple-touch-icon" sizes="180x180" href="<c:url value='/icons/apple-touch-icon.png'/>"/>
<link rel="icon" type="image/png" sizes="32x32" href="<c:url value="/icons/favicon-32x32.png"/>"/> <link rel="icon" type="image/png" sizes="32x32" href="<c:url value='/icons/favicon-32x32.png'/>"/>
<link rel="icon" type="image/png" sizes="16x16" href="<c:url value="/icons/favicon-16x16.png"/>"/> <link rel="icon" type="image/png" sizes="16x16" href="<c:url value='/icons/favicon-16x16.png'/>"/>
<link rel="manifest" href="<c:url value="/icons/site.webmanifest"/>"/> <link rel="manifest" href="<c:url value='/icons/site.webmanifest'/>"/>
<link rel="mask-icon" href="<c:url value="/icons/safari-pinned-tab.svg"/>" color="#2f7bd9"/> <link rel="mask-icon" href="<c:url value='/icons/safari-pinned-tab.svg'/>" color="#2f7bd9"/>
<meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
<meta name="description" content="Airsonic: A free, web-based media streamer, providing ubiquitous access to your music."> <meta name="description" content="Airsonic: A free, web-based media streamer, providing ubiquitous access to your music.">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Included before airsonic stylesheet to allow overriding --> <!-- Included before airsonic stylesheet to allow overriding -->
<link type="text/css" rel="stylesheet" href="<c:url value="/script/mediaelement/mediaelementplayer.min.css"/>"> <link type="text/css" rel="stylesheet" href="<c:url value='/script/mediaelement/mediaelementplayer.min.css'/>">
<link rel="stylesheet" href="<c:url value="/${styleSheet}"/>" type="text/css"> <link rel="stylesheet" href="<c:url value='/${styleSheet}'/>" type="text/css">
<title>Airsonic</title> <title>Airsonic</title>
<script id="preferencesConfig" type="application/x-configuration"> <script id="preferencesConfig" type="application/x-configuration">
@ -21,5 +21,5 @@
"keyboardShortcutsEnabled": ${model.keyboardShortcutsEnabled ? 'true' : 'false'} "keyboardShortcutsEnabled": ${model.keyboardShortcutsEnabled ? 'true' : 'false'}
} }
</script> </script>
<script defer type="text/javascript" src="<c:url value="/script/mousetrap-1.6.0.js"/>"></script> <script defer type="text/javascript" src="<c:url value='/script/mousetrap-1.6.0.js'/>"></script>
<script defer type="text/javascript" src="<c:url value="/script/keyboard_shortcuts.js"/>"></script> <script defer type="text/javascript" src="<c:url value='/script/keyboard_shortcuts.js'/>"></script>

@ -3,7 +3,7 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
</head> </head>
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
@ -26,7 +26,7 @@
</c:choose> </c:choose>
<h1> <h1>
<img src="<spring:theme code="helpImage"/>" alt=""> <img src="<spring:theme code='helpImage'/>" alt="">
<span style="vertical-align: middle"><fmt:message key="help.title"><fmt:param value="${model.brand}"/></fmt:message></span> <span style="vertical-align: middle"><fmt:message key="help.title"><fmt:param value="${model.brand}"/></fmt:message></span>
</h1> </h1>
@ -39,7 +39,7 @@
<tr><td class="ruleTableHeader"><fmt:message key="help.version.title"/></td><td class="ruleTableCell">${versionString} &ndash; ${buildDateString}</td></tr> <tr><td class="ruleTableHeader"><fmt:message key="help.version.title"/></td><td class="ruleTableCell">${versionString} &ndash; ${buildDateString}</td></tr>
<tr><td class="ruleTableHeader"><fmt:message key="help.server.title"/></td><td class="ruleTableCell">${model.serverInfo} (<sub:formatBytes bytes="${model.usedMemory}"/> / <sub:formatBytes bytes="${model.totalMemory}"/>)</td></tr> <tr><td class="ruleTableHeader"><fmt:message key="help.server.title"/></td><td class="ruleTableCell">${model.serverInfo} (<sub:formatBytes bytes="${model.usedMemory}"/> / <sub:formatBytes bytes="${model.totalMemory}"/>)</td></tr>
<tr><td class="ruleTableHeader"><fmt:message key="help.license.title"/></td><td class="ruleTableCell"> <tr><td class="ruleTableHeader"><fmt:message key="help.license.title"/></td><td class="ruleTableCell">
<a href="http://www.gnu.org/copyleft/gpl.html" target="_blank"><img style="float:right;margin-left: 10px" alt="GPL 3.0" src="<c:url value="/icons/default_light/gpl.png"/>"></a> <a href="http://www.gnu.org/copyleft/gpl.html" target="_blank"><img style="float:right;margin-left: 10px" alt="GPL 3.0" src="<c:url value='/icons/default_light/gpl.png'/>"></a>
<fmt:message key="help.license.text"><fmt:param value="${model.brand}"/></fmt:message></td></tr> <fmt:message key="help.license.text"><fmt:param value="${model.brand}"/></fmt:message></td></tr>
<tr><td class="ruleTableHeader"><fmt:message key="help.homepage.title"/></td><td class="ruleTableCell"><a target="_blank" href="https://airsonic.github.io/" rel="noopener nofererrer">Airsonic website</a></td></tr> <tr><td class="ruleTableHeader"><fmt:message key="help.homepage.title"/></td><td class="ruleTableCell"><a target="_blank" href="https://airsonic.github.io/" rel="noopener nofererrer">Airsonic website</a></td></tr>
<tr><td class="ruleTableHeader"><fmt:message key="help.forum.title"/></td><td class="ruleTableCell"><a target="_blank" href="https://www.reddit.com/r/airsonic" rel="noopener noreferrer">Airsonic on Reddit</a></td></tr> <tr><td class="ruleTableHeader"><fmt:message key="help.forum.title"/></td><td class="ruleTableCell"><a target="_blank" href="https://www.reddit.com/r/airsonic" rel="noopener noreferrer">Airsonic on Reddit</a></td></tr>
@ -49,7 +49,7 @@
<p></p> <p></p>
<h2> <h2>
<img src="<spring:theme code="logImage"/>" alt=""> <img src="<spring:theme code='logImage'/>" alt="">
<span style="vertical-align: middle"><fmt:message key="help.log"/></span> <span style="vertical-align: middle"><fmt:message key="help.log"/></span>
</h2> </h2>

@ -33,7 +33,7 @@
<body class="mainframe bgcolor1" onload="init();"> <body class="mainframe bgcolor1" onload="init();">
<c:if test="${not empty model.welcomeTitle}"> <c:if test="${not empty model.welcomeTitle}">
<h1> <h1>
<img src="<spring:theme code="homeImage"/>" alt=""> <img src="<spring:theme code='homeImage'/>" alt="">
<span style="vertical-align: middle">${model.welcomeTitle}</span> <span style="vertical-align: middle">${model.welcomeTitle}</span>
</h1> </h1>
</c:if> </c:if>
@ -64,7 +64,7 @@
<%@ include file="homePager.jsp" %> <%@ include file="homePager.jsp" %>
<c:if test="${not empty model.welcomeMessage}"> <c:if test="${not empty model.welcomeMessage}">
<div style="width:15em;float:right;padding:0 1em 0 1em;border-left:1px solid #<spring:theme code="detailColor"/>"> <div style="width:15em;float:right;padding:0 1em 0 1em;border-left:1px solid #<spring:theme code='detailColor'/>">
${model.welcomeMessage} ${model.welcomeMessage}
</div> </div>
</c:if> </c:if>

@ -6,7 +6,7 @@
<tr> <tr>
<c:if test="${not empty model.musicFolder}"> <c:if test="${not empty model.musicFolder}">
<td style="padding-right: 2em"> <td style="padding-right: 2em">
<div style="border:1px solid #<spring:theme code="detailColor"/>; padding-left: 0.5em;padding-right: 0.5em"> <div style="border:1px solid #<spring:theme code='detailColor'/>; padding-left: 0.5em;padding-right: 0.5em">
${fn:escapeXml(model.musicFolder.name)} ${fn:escapeXml(model.musicFolder.name)}
</div> </div>
</td> </td>
@ -39,11 +39,11 @@
</c:if> </c:if>
<c:if test="${model.listOffset gt 0}"> <c:if test="${model.listOffset gt 0}">
<td><a href="${previousUrl}"><img src="<spring:theme code="backImage"/>" alt=""></a></td> <td><a href="${previousUrl}"><img src="<spring:theme code='backImage'/>" alt=""></a></td>
</c:if> </c:if>
<c:if test="${fn:length(model.albums) eq model.listSize}"> <c:if test="${fn:length(model.albums) eq model.listSize}">
<td><a href="${nextUrl}"><img src="<spring:theme code="forwardImage"/>" alt=""></a></td> <td><a href="${nextUrl}"><img src="<spring:theme code='forwardImage'/>" alt=""></a></td>
</c:if> </c:if>
<c:if test="${model.listType eq 'decade'}"> <c:if test="${model.listType eq 'decade'}">
@ -77,7 +77,7 @@
<c:if test="${not empty model.albums}"> <c:if test="${not empty model.albums}">
<td style="padding-left: 2em"> <td style="padding-left: 2em">
<a href="javascript:playShuffle()"> <a href="javascript:playShuffle()">
<img src="<spring:theme code="shuffleImage"/>" alt="Shuffle" style="height:16px;"> <img src="<spring:theme code='shuffleImage'/>" alt="Shuffle" style="height:16px;">
<fmt:message key="home.shuffle"/> <fmt:message key="home.shuffle"/>
</a> </a>
</td> </td>

@ -31,7 +31,7 @@
</div> </div>
<form method="post" enctype="multipart/form-data" action="importPlaylist.view?${_csrf.parameterName}=${_csrf.token}"> <form method="post" enctype="multipart/form-data" action="importPlaylist.view?${_csrf.parameterName}=${_csrf.token}">
<input type="file" id="file" name="file" size="40"/> <input type="file" id="file" name="file" size="40"/>
<input type="submit" value="<fmt:message key="common.ok"/>"/> <input type="submit" value="<fmt:message key='common.ok'/>"/>
</form> </form>

@ -39,17 +39,17 @@
</c:if> </c:if>
<tr> <tr>
<td><input type="text" name="name" size="20" placeholder="<fmt:message key="internetradiosettings.name"/>"/></td> <td><input type="text" name="name" size="20" placeholder="<fmt:message key='internetradiosettings.name'/>"/></td>
<td><input type="text" name="streamUrl" size="40" placeholder="<fmt:message key="internetradiosettings.streamurl"/>"/></td> <td><input type="text" name="streamUrl" size="40" placeholder="<fmt:message key='internetradiosettings.streamurl'/>"/></td>
<td><input type="text" name="homepageUrl" size="40" placeholder="<fmt:message key="internetradiosettings.homepageurl"/>"/></td> <td><input type="text" name="homepageUrl" size="40" placeholder="<fmt:message key='internetradiosettings.homepageurl'/>"/></td>
<td align="center" style="padding-left:1em"><input name="enabled" checked type="checkbox"/></td> <td align="center" style="padding-left:1em"><input name="enabled" checked type="checkbox"/></td>
<td/> <td/>
</tr> </tr>
<tr> <tr>
<td style="padding-top:1.5em" colspan="5"> <td style="padding-top:1.5em" colspan="5">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</td> </td>
</tr> </tr>
</table> </table>

@ -11,8 +11,8 @@
</td> </td>
</c:if> </c:if>
<td> <td>
<img alt="Start" id="startIcon" src="<spring:theme code="castPlayImage"/>" onclick="onJavaJukeboxStart()" style="cursor:pointer"> <img alt="Start" id="startIcon" src="<spring:theme code='castPlayImage'/>" onclick="onJavaJukeboxStart()" style="cursor:pointer">
<img alt="Pause" id="pauseIcon" src="<spring:theme code="castPauseImage"/>" onclick="onJavaJukeboxStop()" style="cursor:pointer; display:none"> <img alt="Pause" id="pauseIcon" src="<spring:theme code='castPauseImage'/>" onclick="onJavaJukeboxStop()" style="cursor:pointer; display:none">
</td> </td>
<td><span id="playingPositionDisplay" class="javaJukeBoxPlayerControlBarSongTime"/></td> <td><span id="playingPositionDisplay" class="javaJukeBoxPlayerControlBarSongTime"/></td>
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
@ -20,7 +20,7 @@
</td> </td>
<td><span id="playingDurationDisplay" class="javaJukeBoxPlayerControlBarSongTime"/></td> <td><span id="playingDurationDisplay" class="javaJukeBoxPlayerControlBarSongTime"/></td>
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<img src="<spring:theme code="volumeImage"/>" alt=""> <img src="<spring:theme code='volumeImage'/>" alt="">
</td> </td>
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<div id="javaJukeboxVolumeSlider" style="width:80px;height:4px"></div> <div id="javaJukeboxVolumeSlider" style="width:80px;height:4px"></div>

@ -1,5 +1,5 @@
<link rel="stylesheet" href="<c:url value="/style/smoothness/jquery-ui-1.12.1.min.css"/>" type="text/css"> <link rel="stylesheet" href="<c:url value='/style/smoothness/jquery-ui-1.12.1.min.css'/>" type="text/css">
<link rel="stylesheet" href="<c:url value="/script/jquery.toastmessage/css/jquery.toastmessage.css" />" type="text/css" > <link rel="stylesheet" href="<c:url value='/script/jquery.toastmessage/css/jquery.toastmessage.css' />" type="text/css" >
<script type="text/javascript" src="<c:url value='/script/jquery-3.4.0.min.js'/>"></script> <script type="text/javascript" src="<c:url value='/script/jquery-3.4.0.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/script/jquery-ui-1.12.1.min.js'/>"></script> <script type="text/javascript" src="<c:url value='/script/jquery-ui-1.12.1.min.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/jquery.toastmessage/jquery.toastmessage.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/jquery.toastmessage/jquery.toastmessage.js'/>"></script>

@ -3,9 +3,9 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/playlistService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/playlistService.js'/>"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
var playlists; var playlists;
@ -65,7 +65,7 @@
<div style="padding-bottom:1.5em"> <div style="padding-bottom:1.5em">
<a href="home.view" target="main"> <a href="home.view" target="main">
<img src="<spring:theme code="logoImage"/>" style="width:196px" title="<fmt:message key="top.help"/>" alt=""> <img src="<spring:theme code='logoImage'/>" style="width:196px" title="<fmt:message key='top.help'/>" alt="">
</a> </a>
</div> </div>
@ -127,7 +127,7 @@
<c:forEach items="${model.radios}" var="radio"> <c:forEach items="${model.radios}" var="radio">
<p class="dense" style="padding-left: 2px"> <p class="dense" style="padding-left: 2px">
<a target="hidden" href="${radio.streamUrl}" class="radio-play" data-id="${radio.id}"> <a target="hidden" href="${radio.streamUrl}" class="radio-play" data-id="${radio.id}">
<img src="<spring:theme code="playImage"/>" alt="<fmt:message key="common.play"/>" title="<fmt:message key="common.play"/>"></a> <img src="<spring:theme code='playImage'/>" alt="<fmt:message key='common.play'/>" title="<fmt:message key='common.play'/>"></a>
<span style="vertical-align: middle"> <span style="vertical-align: middle">
<c:choose> <c:choose>
<c:when test="${empty radio.homepageUrl}"> <c:when test="${empty radio.homepageUrl}">
@ -149,7 +149,7 @@
<h2 style="padding:0;margin:0;border:0">${fn:escapeXml(entry.key.index)}</h2> <h2 style="padding:0;margin:0;border:0">${fn:escapeXml(entry.key.index)}</h2>
</th> </th>
<th style="text-align:right;"> <th style="text-align:right;">
<a href="#top"><img src="<spring:theme code="upImage"/>" alt="" style="height:18px;"></a> <a href="#top"><img src="<spring:theme code='upImage'/>" alt="" style="height:18px;"></a>
</th> </th>
</tr> </tr>
</table> </table>

@ -12,20 +12,20 @@
</head> </head>
<body style="min-width:550px" class="mainframe bgcolor1"> <body style="min-width:550px" class="mainframe bgcolor1">
<form action="<c:url value="/login"/>" method="POST"> <form action="<c:url value='/login'/>" method="POST">
<sec:csrfInput /> <sec:csrfInput />
<div id="loginframe" class="bgcolor2 shadow"> <div id="loginframe" class="bgcolor2 shadow">
<img src="<spring:theme code="logoImage"/>" alt=""> <img src="<spring:theme code='logoImage'/>" alt="">
<div class="loginmessagetop">${model.loginMessage}</div> <div class="loginmessagetop">${model.loginMessage}</div>
<input required type="text" autofocus id="j_username" name="j_username" tabindex="1" placeholder="<fmt:message key="login.username"/>"> <input required type="text" autofocus id="j_username" name="j_username" tabindex="1" placeholder="<fmt:message key='login.username'/>">
<input required type="password" autocomplete="off" name="j_password" tabindex="2" placeholder="<fmt:message key="login.password"/>"> <input required type="password" autocomplete="off" name="j_password" tabindex="2" placeholder="<fmt:message key='login.password'/>">
<input name="submit" type="submit" value="<fmt:message key="login.login"/>" tabindex="4"></td> <input name="submit" type="submit" value="<fmt:message key='login.login'/>" tabindex="4"></td>
<div class="details"> <div class="details">
<div id="loginremember"> <div id="loginremember">

@ -3,9 +3,9 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<title><fmt:message key="lyrics.title"/></title> <title><fmt:message key="lyrics.title"/></title>
<script type="text/javascript" src="<c:url value="/dwr/interface/lyricsService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/lyricsService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/util.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
@ -53,13 +53,13 @@
<tr> <tr>
<td><fmt:message key="lyrics.artist"/></td> <td><fmt:message key="lyrics.artist"/></td>
<td style="padding-left:0.50em"><input id="artist" type="text" size="40" value="${model.artist}" tabindex="1"/></td> <td style="padding-left:0.50em"><input id="artist" type="text" size="40" value="${model.artist}" tabindex="1"/></td>
<td style="padding-left:0.75em"><input type="submit" value="<fmt:message key="lyrics.search"/>" style="width:6em" <td style="padding-left:0.75em"><input type="submit" value="<fmt:message key='lyrics.search'/>" style="width:6em"
tabindex="3"/></td> tabindex="3"/></td>
</tr> </tr>
<tr> <tr>
<td><fmt:message key="lyrics.song"/></td> <td><fmt:message key="lyrics.song"/></td>
<td style="padding-left:0.50em"><input id="song" type="text" size="40" value="${model.song}" tabindex="2"/></td> <td style="padding-left:0.50em"><input id="song" type="text" size="40" value="${model.song}" tabindex="2"/></td>
<td style="padding-left:0.75em"><input type="button" value="<fmt:message key="common.close"/>" style="width:6em" <td style="padding-left:0.75em"><input type="button" value="<fmt:message key='common.close'/>" style="width:6em"
onclick="self.close()" tabindex="4"/></td> onclick="self.close()" tabindex="4"/></td>
</tr> </tr>
</table> </table>

@ -8,9 +8,9 @@
#progressBarContent {width: 0; height: 10px; background: url("<c:url value="/icons/default_light/progress.png"/>") repeat;} #progressBarContent {width: 0; height: 10px; background: url("<c:url value="/icons/default_light/progress.png"/>") repeat;}
#randomPlayQueue td { padding: 0 5px; } #randomPlayQueue td { padding: 0 5px; }
</style> </style>
<script type="text/javascript" src="<c:url value="/dwr/interface/transferService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/transferService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/util.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
<script type="text/javascript"> <script type="text/javascript">
function refreshProgress() { function refreshProgress() {
@ -120,13 +120,13 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="moreImage"/>" alt=""/> <img src="<spring:theme code='moreImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="more.title"/></span> <span style="vertical-align: middle"><fmt:message key="more.title"/></span>
</h1> </h1>
<c:if test="${model.user.streamRole}"> <c:if test="${model.user.streamRole}">
<h2> <h2>
<img src="<spring:theme code="shuffleImage"/>" alt=""/> <img src="<spring:theme code='shuffleImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="more.random.title"/></span> <span style="vertical-align: middle"><fmt:message key="more.random.title"/></span>
</h2> </h2>
@ -254,31 +254,31 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<input type="submit" name="addToPlaylist" value="<fmt:message key="more.random.add"/>"> <input type="submit" name="addToPlaylist" value="<fmt:message key='more.random.add'/>">
<input type="submit" name="autoRandom" value="<fmt:message key="more.random.radio"/>"> <input type="submit" name="autoRandom" value="<fmt:message key='more.random.radio'/>">
</td> </td>
</tr> </tr>
</table> </table>
</form> </form>
</c:if> </c:if>
<a href="https://airsonic.github.io/docs/apps/" target="_blank" rel="noopener noreferrer"><img alt="Apps" src="<c:url value="/icons/default_light/apps.png"/>" style="float: right;margin-left: 3em; margin-right: 3em"/></a> <a href="https://airsonic.github.io/docs/apps/" target="_blank" rel="noopener noreferrer"><img alt="Apps" src="<c:url value='/icons/default_light/apps.png'/>" style="float: right;margin-left: 3em; margin-right: 3em"/></a>
<h2> <h2>
<img src="<spring:theme code="androidImage"/>" alt=""/> <img src="<spring:theme code='androidImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="more.apps.title"/></span> <span style="vertical-align: middle"><fmt:message key="more.apps.title"/></span>
</h2> </h2>
<fmt:message key="more.apps.text"/> <fmt:message key="more.apps.text"/>
<h2> <h2>
<img src="<spring:theme code="statusSmallImage"/>" alt=""/> <img src="<spring:theme code='statusSmallImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="more.status.title"/></span> <span style="vertical-align: middle"><fmt:message key="more.status.title"/></span>
</h2> </h2>
<fmt:message key="more.status.text"/> <fmt:message key="more.status.text"/>
<h2> <h2>
<img src="<spring:theme code="podcastImage"/>" alt=""/> <img src="<spring:theme code='podcastImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="more.podcast.title"/></span> <span style="vertical-align: middle"><fmt:message key="more.podcast.title"/></span>
</h2> </h2>
<fmt:message key="more.podcast.text"/> <fmt:message key="more.podcast.text"/>
@ -286,7 +286,7 @@
<c:if test="${model.user.uploadRole}"> <c:if test="${model.user.uploadRole}">
<h2> <h2>
<img src="<spring:theme code="uploadImage"/>" alt=""/> <img src="<spring:theme code='uploadImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="more.upload.title"/></span> <span style="vertical-align: middle"><fmt:message key="more.upload.title"/></span>
</h2> </h2>
@ -299,7 +299,7 @@
<tr> <tr>
<td><fmt:message key="more.upload.target"/></td> <td><fmt:message key="more.upload.target"/></td>
<td><input type="text" id="dir" name="dir" size="37" value="${model.uploadDirectory}"/></td> <td><input type="text" id="dir" name="dir" size="37" value="${model.uploadDirectory}"/></td>
<td><input type="submit" value="<fmt:message key="more.upload.ok"/>"/></td> <td><input type="submit" value="<fmt:message key='more.upload.ok'/>"/></td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
@ -321,7 +321,7 @@
<a name="shortcuts"></a> <a name="shortcuts"></a>
<h2> <h2>
<img src="<spring:theme code="keyboardImage"/>" alt=""/> <img src="<spring:theme code='keyboardImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="more.keyboard.title"/></span> <span style="vertical-align: middle"><fmt:message key="more.keyboard.title"/></span>
</h2> </h2>
<fmt:message key="more.keyboard.text"/> <fmt:message key="more.keyboard.text"/>

@ -19,8 +19,8 @@
</script> </script>
</head> </head>
<body class="mainframe bgcolor1" onload="init()"> <body class="mainframe bgcolor1" onload="init()">
<script type="text/javascript" src="<c:url value="/script/wz_tooltip.js"/>"></script> <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> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
@ -138,8 +138,8 @@
<%--</p>--%> <%--</p>--%>
<p > <p >
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</p> </p>
</form:form> </form:form>

@ -8,7 +8,7 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="errorImage"/>" alt=""/> <img src="<spring:theme code='errorImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="notFound.title"/></span> <span style="vertical-align: middle"><fmt:message key="notFound.title"/></span>
</h1> </h1>

@ -37,8 +37,8 @@
</tr> </tr>
<tr> <tr>
<td colspan="3" style="padding-top:1.5em"> <td colspan="3" style="padding-top:1.5em">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</td> </td>
</tr> </tr>

@ -4,7 +4,7 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
function enableLastFmFields() { function enableLastFmFields() {
@ -14,8 +14,8 @@
</head> </head>
<body class="mainframe bgcolor1" onload="enableLastFmFields()"> <body class="mainframe bgcolor1" onload="enableLastFmFields()">
<script type="text/javascript" src="<c:url value="/script/wz_tooltip.js"/>"></script> <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> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
<c:param name="cat" value="personal"/> <c:param name="cat" value="personal"/>
@ -207,8 +207,8 @@
</table> </table>
<p style="padding-top:1em;padding-bottom:1em"> <p style="padding-top:1em;padding-bottom:1em">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"/> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em"/>
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</p> </p>
<h2><fmt:message key="personalsettings.avatar.title"/></h2> <h2><fmt:message key="personalsettings.avatar.title"/></h2>
@ -247,7 +247,7 @@
<tr> <tr>
<td style="padding-right:1em"><fmt:message key="personalsettings.avatar.changecustom"/></td> <td style="padding-right:1em"><fmt:message key="personalsettings.avatar.changecustom"/></td>
<td style="padding-right:1em"><input type="file" id="file" name="file" size="40"/></td> <td style="padding-right:1em"><input type="file" id="file" name="file" size="40"/></td>
<td style="padding-right:1em"><input type="submit" value="<fmt:message key="personalsettings.avatar.upload"/>"/></td> <td style="padding-right:1em"><input type="submit" value="<fmt:message key='personalsettings.avatar.upload'/>"/></td>
</tr> </tr>
</table> </table>
</form> </form>

@ -18,11 +18,11 @@ PARAMETERS
<c:if test="${param.asTable}"><td class="fit"></c:if> <c:if test="${param.asTable}"><td class="fit"></c:if>
<c:choose> <c:choose>
<c:when test="${param.starred}"> <c:when test="${param.starred}">
<img id="starImage${param.id}" src="<spring:theme code="ratingOnImage"/>" alt="" style="cursor:pointer;height:18px;" <img id="starImage${param.id}" src="<spring:theme code='ratingOnImage'/>" alt="" style="cursor:pointer;height:18px;"
onclick="toggleStar(${param.id}, '#starImage${param.id}'); return false;"> onclick="toggleStar(${param.id}, '#starImage${param.id}'); return false;">
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<img id="starImage${param.id}" src="<spring:theme code="ratingOffImage"/>" alt="" style="cursor:pointer;height:18px;" <img id="starImage${param.id}" src="<spring:theme code='ratingOffImage'/>" alt="" style="cursor:pointer;height:18px;"
onclick="toggleStar(${param.id}, '#starImage${param.id}'); return false;"> onclick="toggleStar(${param.id}, '#starImage${param.id}'); return false;">
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
@ -37,16 +37,16 @@ PARAMETERS
<sub:param name="id" value="${param.id}"/> <sub:param name="id" value="${param.id}"/>
</sub:url> </sub:url>
<a href="${videoUrl}" target="main"> <a href="${videoUrl}" target="main">
<img src="<spring:theme code="playImage"/>" alt="<fmt:message key="common.play"/>" <img src="<spring:theme code='playImage'/>" alt="<fmt:message key='common.play'/>"
title="<fmt:message key="common.play"/>"></a> title="<fmt:message key='common.play'/>"></a>
</c:when> </c:when>
<c:when test="${not empty param.onPlay}"> <c:when test="${not empty param.onPlay}">
<img src="<spring:theme code="playImage"/>" alt="<fmt:message key="common.play"/>" style="cursor:pointer; height:18px;" <img src="<spring:theme code='playImage'/>" alt="<fmt:message key='common.play'/>" style="cursor:pointer; height:18px;"
onclick="${param.onPlay}; return false;" title="<fmt:message key="common.play"/>"> onclick="${param.onPlay}; return false;" title="<fmt:message key='common.play'/>">
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<img src="<spring:theme code="playImage"/>" alt="<fmt:message key="common.play"/>" style="cursor:pointer; height:18px;" <img src="<spring:theme code='playImage'/>" alt="<fmt:message key='common.play'/>" style="cursor:pointer; height:18px;"
onclick="top.playQueue.onPlay(${param.id}); return false;" title="<fmt:message key="common.play"/>"> onclick="top.playQueue.onPlay(${param.id}); return false;" title="<fmt:message key='common.play'/>">
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</c:if> </c:if>
@ -54,17 +54,17 @@ PARAMETERS
<c:if test="${param.asTable}"><td class="fit"></c:if> <c:if test="${param.asTable}"><td class="fit"></c:if>
<c:if test="${(empty param.addEnabled or param.addEnabled) and not param.video}"> <c:if test="${(empty param.addEnabled or param.addEnabled) and not param.video}">
<img id="add${param.id}" src="<spring:theme code="addImage"/>" alt="<fmt:message key="main.addlast"/>" <img id="add${param.id}" src="<spring:theme code='addImage'/>" alt="<fmt:message key='main.addlast'/>"
onclick="top.playQueue.onAdd(${param.id}); $().toastmessage('showSuccessToast', '<fmt:message key="main.addlast.toast"/>'); return false;" onclick="top.playQueue.onAdd(${param.id}); $().toastmessage('showSuccessToast', '<fmt:message key='main.addlast.toast'/>'); return false;"
style="cursor:pointer; height:18px;" title="<fmt:message key="main.addlast"/>"> style="cursor:pointer; height:18px;" title="<fmt:message key='main.addlast'/>">
</c:if> </c:if>
<c:if test="${param.asTable}"></td></c:if> <c:if test="${param.asTable}"></td></c:if>
<c:if test="${param.asTable}"><td class="fit"></c:if> <c:if test="${param.asTable}"><td class="fit"></c:if>
<c:if test="${(empty param.addEnabled or param.addEnabled) and not param.video}"> <c:if test="${(empty param.addEnabled or param.addEnabled) and not param.video}">
<img id="add${param.id}" src="<spring:theme code="addNextImage"/>" alt="<fmt:message key="main.addnext"/>" <img id="add${param.id}" src="<spring:theme code='addNextImage'/>" alt="<fmt:message key='main.addnext'/>"
onclick="top.playQueue.onAddNext(${param.id}); $().toastmessage('showSuccessToast', '<fmt:message key="main.addnext.toast"/>'); return false;" onclick="top.playQueue.onAddNext(${param.id}); $().toastmessage('showSuccessToast', '<fmt:message key='main.addnext.toast'/>'); return false;"
style="cursor:pointer; height:18px;" title="<fmt:message key="main.addnext"/>"> style="cursor:pointer; height:18px;" title="<fmt:message key='main.addnext'/>">
</c:if> </c:if>
<c:if test="${param.asTable}"></td></c:if> <c:if test="${param.asTable}"></td></c:if>
@ -74,7 +74,7 @@ PARAMETERS
<sub:param name="id" value="${param.id}"/> <sub:param name="id" value="${param.id}"/>
</sub:url> </sub:url>
<a href="${downloadUrl}"> <a href="${downloadUrl}">
<img src="<spring:theme code="downloadImage"/>" alt="<fmt:message key="common.download"/>" <img src="<spring:theme code='downloadImage'/>" alt="<fmt:message key='common.download'/>"
title="<fmt:message key="common.download"/>" ></a> title="<fmt:message key='common.download'/>" ></a>
</c:if> </c:if>
<c:if test="${param.asTable}"></td></c:if> <c:if test="${param.asTable}"></td></c:if>

@ -3,14 +3,14 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/nowPlayingService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/nowPlayingService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/playQueueService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/playQueueService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/playlistService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/playlistService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/util.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/mediaelement/mediaelement-and-player.min.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/mediaelement/mediaelement-and-player.min.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/playQueueCast.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/playQueueCast.js'/>"></script>
<style type="text/css"> <style type="text/css">
.ui-slider .ui-slider-handle { .ui-slider .ui-slider-handle {
width: 11px; width: 11px;
@ -836,14 +836,14 @@
<c:if test="${model.player.web}"> <c:if test="${model.player.web}">
<td> <td>
<div id="player" style="width:340px; height:40px"> <div id="player" style="width:340px; height:40px">
<audio id="audioPlayer" data-mejsoptions='{"alwaysShowControls": true, "enableKeyboard": false}' width="340px" height"40px" tabindex="-1" /> <audio id="audioPlayer" data-mejsoptions='{"alwaysShowControls": true, "enableKeyboard": false}' width="340px" height="40px" tabindex="-1" />
</div> </div>
<div id="castPlayer" style="display: none"> <div id="castPlayer" style="display: none">
<div style="float:left"> <div style="float:left">
<img alt="Play" id="castPlay" src="<spring:theme code="castPlayImage"/>" onclick="CastPlayer.playCast()" style="cursor:pointer"> <img alt="Play" id="castPlay" src="<spring:theme code='castPlayImage'/>" onclick="CastPlayer.playCast()" style="cursor:pointer">
<img alt="Pause" id="castPause" src="<spring:theme code="castPauseImage"/>" onclick="CastPlayer.pauseCast()" style="cursor:pointer; display:none"> <img alt="Pause" id="castPause" src="<spring:theme code='castPauseImage'/>" onclick="CastPlayer.pauseCast()" style="cursor:pointer; display:none">
<img alt="Mute on" id="castMuteOn" src="<spring:theme code="volumeImage"/>" onclick="CastPlayer.castMuteOn()" style="cursor:pointer"> <img alt="Mute on" id="castMuteOn" src="<spring:theme code='volumeImage'/>" onclick="CastPlayer.castMuteOn()" style="cursor:pointer">
<img alt="Mute off" id="castMuteOff" src="<spring:theme code="muteImage"/>" onclick="CastPlayer.castMuteOff()" style="cursor:pointer; display:none"> <img alt="Mute off" id="castMuteOff" src="<spring:theme code='muteImage'/>" onclick="CastPlayer.castMuteOff()" style="cursor:pointer; display:none">
</div> </div>
<div style="float:left"> <div style="float:left">
<div id="castVolume" style="width:80px;height:4px;margin-left:10px;margin-right:10px;margin-top:8px"></div> <div id="castVolume" style="width:80px;height:4px;margin-left:10px;margin-right:10px;margin-top:8px"></div>
@ -855,21 +855,21 @@
</div> </div>
</td> </td>
<td> <td>
<img alt="Cast on" id="castOn" src="<spring:theme code="castIdleImage"/>" onclick="CastPlayer.launchCastApp()" style="cursor:pointer; display:none"> <img alt="Cast on" id="castOn" src="<spring:theme code='castIdleImage'/>" onclick="CastPlayer.launchCastApp()" style="cursor:pointer; display:none">
<img alt="Cast off" id="castOff" src="<spring:theme code="castActiveImage"/>" onclick="CastPlayer.stopCastApp()" style="cursor:pointer; display:none"> <img alt="Cast off" id="castOff" src="<spring:theme code='castActiveImage'/>" onclick="CastPlayer.stopCastApp()" style="cursor:pointer; display:none">
</td> </td>
</c:if> </c:if>
<c:if test="${model.user.streamRole and not model.player.web}"> <c:if test="${model.user.streamRole and not model.player.web}">
<td> <td>
<img alt="Start" id="start" src="<spring:theme code="castPlayImage"/>" onclick="onStart()" style="cursor:pointer"> <img alt="Start" id="start" src="<spring:theme code='castPlayImage'/>" onclick="onStart()" style="cursor:pointer">
<img alt="Stop" id="stop" src="<spring:theme code="castPauseImage"/>" onclick="onStop()" style="cursor:pointer; display:none"> <img alt="Stop" id="stop" src="<spring:theme code='castPauseImage'/>" onclick="onStop()" style="cursor:pointer; display:none">
</td> </td>
</c:if> </c:if>
<c:if test="${model.player.jukebox}"> <c:if test="${model.player.jukebox}">
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<img src="<spring:theme code="volumeImage"/>" alt=""> <img src="<spring:theme code='volumeImage'/>" alt="">
</td> </td>
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<div id="jukeboxVolume" style="width:80px;height:4px"></div> <div id="jukeboxVolume" style="width:80px;height:4px"></div>
@ -882,24 +882,24 @@
<c:if test="${model.player.web}"> <c:if test="${model.player.web}">
<td><span class="header"> <td><span class="header">
<img src="<spring:theme code="backImage"/>" alt="Play next" title="Play next" onclick="onPrevious()" style="cursor:pointer"></span> <img src="<spring:theme code='backImage'/>" alt="Play next" title="Play next" onclick="onPrevious()" style="cursor:pointer"></span>
</td> </td>
<td><span class="header"> <td><span class="header">
<img src="<spring:theme code="forwardImage"/>" alt="Play next" title="Play next" onclick="onNext(false)" style="cursor:pointer"></span> | <img src="<spring:theme code='forwardImage'/>" alt="Play next" title="Play next" onclick="onNext(false)" style="cursor:pointer"></span> |
</td> </td>
</c:if> </c:if>
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<span class="header"> <span class="header">
<a href="javascript:onClear()" class="player-control"> <a href="javascript:onClear()" class="player-control">
<img src="<spring:theme code="clearImage"/>" alt="Clear playlist" title="Clear playlist" style="cursor:pointer; height:18px"> <img src="<spring:theme code='clearImage'/>" alt="Clear playlist" title="Clear playlist" style="cursor:pointer; height:18px">
</a> </a>
</span> |</td> </span> |</td>
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<span class="header"> <span class="header">
<a href="javascript:onShuffle()" id="shuffleQueue" class="player-control"> <a href="javascript:onShuffle()" id="shuffleQueue" class="player-control">
<img src="<spring:theme code="shuffleImage"/>" alt="Shuffle" title="Shuffle" style="cursor:pointer; height:18px"> <img src="<spring:theme code='shuffleImage'/>" alt="Shuffle" title="Shuffle" style="cursor:pointer; height:18px">
</a> </a>
</span> |</td> </span> |</td>
@ -907,7 +907,7 @@
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<span class="header"> <span class="header">
<a href="javascript:onToggleRepeat()" id="repeatQueue" class="player-control"> <a href="javascript:onToggleRepeat()" id="repeatQueue" class="player-control">
<img id="toggleRepeat" src="<spring:theme code="repeatOn"/>" alt="Toggle repeat" title="Toggle repeat" style="cursor:pointer; height:18px"> <img id="toggleRepeat" src="<spring:theme code='repeatOn'/>" alt="Toggle repeat" title="Toggle repeat" style="cursor:pointer; height:18px">
</a> </a>
</span> |</td> </span> |</td>
</c:if> </c:if>
@ -915,7 +915,7 @@
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<span class="header"> <span class="header">
<a href="javascript:onUndo()" id="undoQueue" class="player-control"> <a href="javascript:onUndo()" id="undoQueue" class="player-control">
<img src="<spring:theme code="undoImage"/>" alt="Undo" title="Undo" style="cursor:pointer; height:18px"> <img src="<spring:theme code='undoImage'/>" alt="Undo" title="Undo" style="cursor:pointer; height:18px">
</a> </a>
</span> |</td> </span> |</td>
@ -923,14 +923,14 @@
<td style="white-space:nowrap;"> <td style="white-space:nowrap;">
<span class="header"> <span class="header">
<a href="playerSettings.view?id=${model.player.id}" target="main" class="player-control"> <a href="playerSettings.view?id=${model.player.id}" target="main" class="player-control">
<img src="<spring:theme code="settingsImage"/>" alt="Settings" title="Settings" style="cursor:pointer; height:18px"> <img src="<spring:theme code='settingsImage'/>" alt="Settings" title="Settings" style="cursor:pointer; height:18px">
</a> </a>
</span> |</td> </span> |</td>
</c:if> </c:if>
<td style="white-space:nowrap;"><select id="moreActions" onchange="actionSelected(this.options[selectedIndex].id)"> <td style="white-space:nowrap;"><select id="moreActions" onchange="actionSelected(this.options[selectedIndex].id)">
<option id="top" selected="selected"><fmt:message key="playlist.more"/></option> <option id="top" selected="selected"><fmt:message key="playlist.more"/></option>
<optgroup label="<fmt:message key="playlist.more.playlist"/>"> <optgroup label="<fmt:message key='playlist.more.playlist'/>">
<option id="savePlayQueue"><fmt:message key="playlist.saveplayqueue"/></option> <option id="savePlayQueue"><fmt:message key="playlist.saveplayqueue"/></option>
<option id="loadPlayQueue"><fmt:message key="playlist.loadplayqueue"/></option> <option id="loadPlayQueue"><fmt:message key="playlist.loadplayqueue"/></option>
<option id="savePlaylist"><fmt:message key="playlist.save"/></option> <option id="savePlaylist"><fmt:message key="playlist.save"/></option>
@ -944,7 +944,7 @@
<option id="sortByAlbum"><fmt:message key="playlist.more.sortbyalbum"/></option> <option id="sortByAlbum"><fmt:message key="playlist.more.sortbyalbum"/></option>
<option id="sortByArtist"><fmt:message key="playlist.more.sortbyartist"/></option> <option id="sortByArtist"><fmt:message key="playlist.more.sortbyartist"/></option>
</optgroup> </optgroup>
<optgroup label="<fmt:message key="playlist.more.selection"/>"> <optgroup label="<fmt:message key='playlist.more.selection'/>">
<option id="selectAll"><fmt:message key="playlist.more.selectall"/></option> <option id="selectAll"><fmt:message key="playlist.more.selectall"/></option>
<option id="selectNone"><fmt:message key="playlist.more.selectnone"/></option> <option id="selectNone"><fmt:message key="playlist.more.selectnone"/></option>
<option id="removeSelected"><fmt:message key="playlist.remove"/></option> <option id="removeSelected"><fmt:message key="playlist.remove"/></option>
@ -971,11 +971,11 @@
<tbody id="playlistBody"> <tbody id="playlistBody">
<tr id="pattern" style="display:none;margin:0;padding:0;border:0"> <tr id="pattern" style="display:none;margin:0;padding:0;border:0">
<td class="fit"> <td class="fit">
<img id="starSong" onclick="onStar(this.id.substring(8) - 1)" src="<spring:theme code="ratingOffImage"/>" <img id="starSong" onclick="onStar(this.id.substring(8) - 1)" src="<spring:theme code='ratingOffImage'/>"
style="cursor:pointer;height:18px;" alt="" title=""></td> style="cursor:pointer;height:18px;" alt="" title=""></td>
<td class="fit"> <td class="fit">
<img id="removeSong" onclick="onRemove(this.id.substring(10) - 1)" src="<spring:theme code="removeImage"/>" <img id="removeSong" onclick="onRemove(this.id.substring(10) - 1)" src="<spring:theme code='removeImage'/>"
style="cursor:pointer; height:18px;" alt="<fmt:message key="playlist.remove"/>" title="<fmt:message key="playlist.remove"/>"></td> style="cursor:pointer; height:18px;" alt="<fmt:message key='playlist.remove'/>" title="<fmt:message key='playlist.remove'/>"></td>
<td class="fit"><input type="checkbox" class="checkbox" id="songIndex"></td> <td class="fit"><input type="checkbox" class="checkbox" id="songIndex"></td>
<c:if test="${model.visibility.trackNumberVisible}"> <c:if test="${model.visibility.trackNumberVisible}">
@ -983,7 +983,7 @@
</c:if> </c:if>
<td class="truncate"> <td class="truncate">
<img id="currentImage" src="<spring:theme code="currentImage"/>" alt="" style="display:none;padding-right: 0.5em"> <img id="currentImage" src="<spring:theme code='currentImage'/>" alt="" style="display:none;padding-right: 0.5em">
<c:choose> <c:choose>
<c:when test="${model.player.externalWithPlaylist}"> <c:when test="${model.player.externalWithPlaylist}">
<span id="title" class="songTitle">Title</span> <span id="title" class="songTitle">Title</span>
@ -1024,7 +1024,7 @@
<div style="height:3.2em"></div> <div style="height:3.2em"></div>
<div id="dialog-select-playlist" title="<fmt:message key="main.addtoplaylist.title"/>" style="display: none;"> <div id="dialog-select-playlist" title="<fmt:message key='main.addtoplaylist.title'/>" style="display: none;">
<p><fmt:message key="main.addtoplaylist.text"/></p> <p><fmt:message key="main.addtoplaylist.text"/></p>
<div id="dialog-select-playlist-list"></div> <div id="dialog-select-playlist-list"></div>
</div> </div>

@ -4,11 +4,11 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
</head> </head>
<body class="mainframe bgcolor1"> <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/wz_tooltip.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/tip_balloon.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<script lang="javascript"> <script lang="javascript">
@ -195,8 +195,8 @@ $(document).ready(function() {
</table> </table>
</c:if> </c:if>
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-top:1em;margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-top:1em;margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>" style="margin-top:1em"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>" style="margin-top:1em"></a>
</form:form> </form:form>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>

@ -4,9 +4,9 @@
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/playlistService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/playlistService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/starService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/starService.js'/>"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
var playlist; var playlist;
@ -227,16 +227,16 @@
<tbody id="playlistBody"> <tbody id="playlistBody">
<tr id="pattern" style="display:none;margin:0;padding:0;border:0"> <tr id="pattern" style="display:none;margin:0;padding:0;border:0">
<td class="fit"> <td class="fit">
<img id="starSong" onclick="onStar(this.id.substring(8) - 1)" src="<spring:theme code="ratingOffImage"/>" <img id="starSong" onclick="onStar(this.id.substring(8) - 1)" src="<spring:theme code='ratingOffImage'/>"
style="cursor:pointer;height:18px;" alt="" title=""></td> style="cursor:pointer;height:18px;" alt="" title=""></td>
<td class="fit"> <td class="fit">
<img id="play" src="<spring:theme code="playImage"/>" alt="<fmt:message key="common.play"/>" title="<fmt:message key="common.play"/>" <img id="play" src="<spring:theme code='playImage'/>" alt="<fmt:message key='common.play'/>" title="<fmt:message key='common.play'/>"
style="padding-right:0.1em;cursor:pointer;height:18px;" onclick="onPlay(this.id.substring(4) - 1)"></td> style="padding-right:0.1em;cursor:pointer;height:18px;" onclick="onPlay(this.id.substring(4) - 1)"></td>
<td class="fit"> <td class="fit">
<img id="add" src="<spring:theme code="addImage"/>" alt="<fmt:message key="common.add"/>" title="<fmt:message key="common.add"/>" <img id="add" src="<spring:theme code='addImage'/>" alt="<fmt:message key='common.add'/>" title="<fmt:message key='common.add'/>"
style="padding-right:0.1em;cursor:pointer;height:18px;" onclick="onAdd(this.id.substring(3) - 1)"></td> style="padding-right:0.1em;cursor:pointer;height:18px;" onclick="onAdd(this.id.substring(3) - 1)"></td>
<td class="fit" style="padding-right:30px"> <td class="fit" style="padding-right:30px">
<img id="addNext" src="<spring:theme code="addNextImage"/>" alt="<fmt:message key="main.addnext"/>" title="<fmt:message key="main.addnext"/>" <img id="addNext" src="<spring:theme code='addNextImage'/>" alt="<fmt:message key='main.addnext'/>" title="<fmt:message key='main.addnext'/>"
style="padding-right:0.1em;cursor:pointer;height:18px;" onclick="onAddNext(this.id.substring(7) - 1)"></td> style="padding-right:0.1em;cursor:pointer;height:18px;" onclick="onAddNext(this.id.substring(7) - 1)"></td>
<td class="fit rightalign"><span id="index">1</span></td> <td class="fit rightalign"><span id="index">1</span></td>
@ -248,19 +248,19 @@
<c:if test="${model.editAllowed}"> <c:if test="${model.editAllowed}">
<td class="fit"> <td class="fit">
<img id="removeSong" onclick="onRemove(this.id.substring(10) - 1)" src="<spring:theme code="removeImage"/>" <img id="removeSong" onclick="onRemove(this.id.substring(10) - 1)" src="<spring:theme code='removeImage'/>"
style="cursor:pointer;height:18px;" alt="<fmt:message key="playlist.remove"/>" title="<fmt:message key="playlist.remove"/>"></td> style="cursor:pointer;height:18px;" alt="<fmt:message key='playlist.remove'/>" title="<fmt:message key='playlist.remove'/>"></td>
</c:if> </c:if>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div id="dialog-delete" title="<fmt:message key="common.confirm"/>" style="display: none;"> <div id="dialog-delete" title="<fmt:message key='common.confirm'/>" style="display: none;">
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span> <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
<fmt:message key="playlist2.confirmdelete"/></p> <fmt:message key="playlist2.confirmdelete"/></p>
</div> </div>
<div id="dialog-edit" title="<fmt:message key="common.edit"/>" style="display: none;"> <div id="dialog-edit" title="<fmt:message key='common.edit'/>" style="display: none;">
<form> <form>
<label for="newName" style="display:block;"><fmt:message key="playlist2.name"/></label> <label for="newName" style="display:block;"><fmt:message key="playlist2.name"/></label>
<input type="text" name="newName" id="newName" value="${fn:escapeXml(model.playlist.name)}" class="ui-widget-content" <input type="text" name="newName" id="newName" value="${fn:escapeXml(model.playlist.name)}" class="ui-widget-content"

@ -7,7 +7,7 @@
</head><body class="mainframe bgcolor1"> </head><body class="mainframe bgcolor1">
<h1 style="padding-bottom: 1em"> <h1 style="padding-bottom: 1em">
<img src="<spring:theme code="playlistImage"/>" alt=""> <img src="<spring:theme code='playlistImage'/>" alt="">
<span style="vertical-align: middle"><fmt:message key="left.playlists"/></span> <span style="vertical-align: middle"><fmt:message key="left.playlists"/></span>
</h1> </h1>

@ -178,7 +178,7 @@
</tr></table> </tr></table>
<div id="dialog-delete" title="<fmt:message key="common.confirm"/>" style="display: none;"> <div id="dialog-delete" title="<fmt:message key='common.confirm'/>" style="display: none;">
<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span> <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
<fmt:message key="podcastreceiver.confirmdelete"/></p> <fmt:message key="podcastreceiver.confirmdelete"/></p>
</div> </div>

@ -26,7 +26,7 @@
</head><body class="mainframe bgcolor1"> </head><body class="mainframe bgcolor1">
<h1 style="padding-bottom: 1em"> <h1 style="padding-bottom: 1em">
<img src="<spring:theme code="podcastLargeImage"/>" alt=""> <img src="<spring:theme code='podcastLargeImage'/>" alt="">
<span style="vertical-align: middle"><fmt:message key="podcastreceiver.title"/></span> <span style="vertical-align: middle"><fmt:message key="podcastreceiver.title"/></span>
</h1> </h1>
@ -104,7 +104,7 @@
<tr> <tr>
<td><fmt:message key="podcastreceiver.subscribe"/></td> <td><fmt:message key="podcastreceiver.subscribe"/></td>
<td><input type="text" name="add" value="http://" style="width:30em" onclick="select()"/></td> <td><input type="text" name="add" value="http://" style="width:30em" onclick="select()"/></td>
<td><input type="submit" value="<fmt:message key="common.ok"/>"/></td> <td><input type="submit" value="<fmt:message key='common.ok'/>"/></td>
</tr> </tr>
</table> </table>
</form:form> </form:form>

@ -79,8 +79,8 @@
<tr> <tr>
<td style="padding-top:1.5em" colspan="2"> <td style="padding-top:1.5em" colspan="2">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</td> </td>
</tr> </tr>

@ -31,10 +31,10 @@ PARAMETERS
<c:choose> <c:choose>
<c:when test="${param.readonly}"> <c:when test="${param.readonly}">
<img style="height:18px" src="${imageUrl}" style="margin-right:-3px;height:18px;" alt="" title="<fmt:message key="rating.rating"/> ${param.rating/10}"> <img style="height:18px" src="${imageUrl}" style="margin-right:-3px;height:18px;" alt="" title="<fmt:message key='rating.rating'/> ${param.rating/10}">
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a href="${ratingUrl}"><img src="${imageUrl}" style="margin-right:-3px;height:18px" alt="" title="<fmt:message key="rating.rating"/> ${i}"></a> <a href="${ratingUrl}"><img src="${imageUrl}" style="margin-right:-3px;height:18px" alt="" title="<fmt:message key='rating.rating'/> ${i}"></a>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
@ -47,5 +47,5 @@ PARAMETERS
</sub:url> </sub:url>
<c:if test="${not param.readonly}"> <c:if test="${not param.readonly}">
&nbsp;| <a href="${clearRatingUrl}"><img src="<spring:theme code="clearRatingImage"/>" alt="" title="<fmt:message key="rating.clearrating"/>" style="margin-right:5px;height:18px"></a> &nbsp;| <a href="${clearRatingUrl}"><img src="<spring:theme code='clearRatingImage'/>" alt="" title="<fmt:message key='rating.clearrating'/>" style="margin-right:5px;height:18px"></a>
</c:if> </c:if>

@ -18,7 +18,7 @@
<c:if test="${empty model.sentTo}"> <c:if test="${empty model.sentTo}">
<input type="text" id="usernameOrEmail" autofocus name="usernameOrEmail" style="width:18em;margin-right: 1em"> <input type="text" id="usernameOrEmail" autofocus name="usernameOrEmail" style="width:18em;margin-right: 1em">
<input name="submit" type="submit" value="<fmt:message key="recover.send"/>"> <input name="submit" type="submit" value="<fmt:message key='recover.send'/>">
</c:if> </c:if>
<c:if test="${not empty model.recaptchaSiteKey and empty model.sentTo}"> <c:if test="${not empty model.recaptchaSiteKey and empty model.sentTo}">

@ -4,10 +4,10 @@
<head> <head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/util.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/nowPlayingService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/nowPlayingService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
<script type="text/javascript"> <script type="text/javascript">
@ -89,7 +89,7 @@
</c:if> </c:if>
<div id="scanningStatus" style="display: none;" class="warning"> <div id="scanningStatus" style="display: none;" class="warning">
<img src="<spring:theme code="scanningImage"/>" title="" alt=""> <fmt:message key="main.scanning"/> <span id="scanCount"></span> <img src="<spring:theme code='scanningImage'/>" title="" alt=""> <fmt:message key="main.scanning"/> <span id="scanCount"></span>
</div> </div>
<div id="nowPlaying"></div> <div id="nowPlaying"></div>

@ -24,7 +24,7 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="searchImage"/>" alt=""/> <img src="<spring:theme code='searchImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="search.title"/></span> <span style="vertical-align: middle"><fmt:message key="search.title"/></span>
</h1> </h1>

@ -11,7 +11,7 @@
<c:set var="categories" value="${param.restricted ? 'personal password player share' : 'musicFolder general advanced personal user player share dlna sonos transcoding internetRadio podcast database'}"/> <c:set var="categories" value="${param.restricted ? 'personal password player share' : 'musicFolder general advanced personal user player share dlna sonos transcoding internetRadio podcast database'}"/>
<h1> <h1>
<img src="<spring:theme code="settingsImage"/>" alt=""/> <img src="<spring:theme code='settingsImage'/>" alt=""/>
<span style="vertical-align: middle"><fmt:message key="settingsheader.title"/></span> <span style="vertical-align: middle"><fmt:message key="settingsheader.title"/></span>
</h1> </h1>

@ -57,8 +57,8 @@
</table> </table>
<p style="padding-top:1em"> <p style="padding-top:1em">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>" style="margin-right:2.0em"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>" style="margin-right:2.0em"></a>
<input type="checkbox" id="deleteExpired" name="deleteExpired"/> <input type="checkbox" id="deleteExpired" name="deleteExpired"/>
<label for="deleteExpired"><fmt:message key="sharesettings.deleteexpired"/></label> <label for="deleteExpired"><fmt:message key="sharesettings.deleteexpired"/></label>
</p> </p>

@ -21,12 +21,12 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/scripts.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/scripts.js'/>"></script>
</head> </head>
<body class="mainframe bgcolor1"> <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/wz_tooltip.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/tip_balloon.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
<c:param name="cat" value="sonos"/> <c:param name="cat" value="sonos"/>
@ -37,7 +37,7 @@
<sec:csrfInput /> <sec:csrfInput />
<div> <div>
<input type="checkbox" name="sonosEnabled" id="sonosEnabled" ${model.sonosEnabled? "checked": ""}/> <input type="checkbox" name="sonosEnabled" id="sonosEnabled" ${model.sonosEnabled ? "checked" : ""}/>
<label for="sonosEnabled"><fmt:message key="sonossettings.enabled"/></label> <label for="sonosEnabled"><fmt:message key="sonossettings.enabled"/></label>
</div> </div>
@ -47,15 +47,15 @@
<div> <div>
<fmt:message key="sonossettings.servicename"/> <fmt:message key="sonossettings.servicename"/>
<input name="sonosServiceName" id="sonosServiceName" size="40" <input name="sonosServiceName" id="sonosServiceName" size="40"
value="<c:out value="${model.sonosServiceName}" escapeXml="true"/>"/> value="<c:out value='${model.sonosServiceName}' escapeXml='true'/>"/>
</div> </div>
<p class="detail" style="width:60%;white-space:normal;padding-top:0"> <p class="detail" style="width:60%;white-space:normal;padding-top:0">
<fmt:message key="sonossettings.servicename.description"/> <fmt:message key="sonossettings.servicename.description"/>
</p> </p>
<p> <p>
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>"></a>
</p> </p>
</form> </form>

@ -3,11 +3,11 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
<script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script> <script type="text/javascript" src="<c:url value='/dwr/util.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/starService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/starService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/playlistService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/playlistService.js'/>"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
function toggleStar(mediaFileId, imageId) { function toggleStar(mediaFileId, imageId) {
@ -39,7 +39,7 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="starredImage"/>" alt=""> <img src="<spring:theme code='starredImage'/>" alt="">
<span style="vertical-align: middle"><fmt:message key="starred.title"/></span> <span style="vertical-align: middle"><fmt:message key="starred.title"/></span>
</h1> </h1>

@ -9,7 +9,7 @@
<body class="mainframe bgcolor1"> <body class="mainframe bgcolor1">
<h1> <h1>
<img src="<spring:theme code="statusImage"/>" alt=""> <img src="<spring:theme code='statusImage'/>" alt="">
<span style="vertical-align: middle"><fmt:message key="status.title"/></span> <span style="vertical-align: middle"><fmt:message key="status.title"/></span>
</h1> </h1>
@ -94,16 +94,16 @@
<th><fmt:message key="home.chart.stream"/></th> <th><fmt:message key="home.chart.stream"/></th>
</tr> </tr>
<tr> <tr>
<td><img src="<c:url value="/userChart.view"><c:param name="type" value="total"/></c:url>" alt=""></td> <td><img src="<c:url value='/userChart.view'><c:param name='type' value='total'/></c:url>" alt=""></td>
<td><img src="<c:url value="/userChart.view"><c:param name="type" value="stream"/></c:url>" alt=""></td> <td><img src="<c:url value='/userChart.view'><c:param name='type' value='stream'/></c:url>" alt=""></td>
</tr> </tr>
<tr> <tr>
<th><fmt:message key="home.chart.download"/></th> <th><fmt:message key="home.chart.download"/></th>
<th><fmt:message key="home.chart.upload"/></th> <th><fmt:message key="home.chart.upload"/></th>
</tr> </tr>
<tr> <tr>
<td><img src="<c:url value="/userChart.view"><c:param name="type" value="download"/></c:url>" alt=""></td> <td><img src="<c:url value='/userChart.view'><c:param name='type' value='download'/></c:url>" alt=""></td>
<td><img src="<c:url value="/userChart.view"><c:param name="type" value="upload"/></c:url>" alt=""></td> <td><img src="<c:url value='/userChart.view'><c:param name='type' value='upload'/></c:url>" alt=""></td>
</tr> </tr>
</table> </table>

@ -4,8 +4,8 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/multiService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/multiService.js'/>"></script>
<script type="text/javascript"> <script type="text/javascript">
var previousQuery = ""; var previousQuery = "";
@ -81,45 +81,45 @@
<table style="margin:0;padding-top:5px"> <table style="margin:0;padding-top:5px">
<tr> <tr>
<td style="padding-right:4.5em;"> <td style="padding-right:4.5em;">
<img id="show-left-frame" src="<spring:theme code="sidebarImage"/>" onclick="showLeftFrame()" alt="" style="display:${model.showSideBar ? 'none' : 'inline'};cursor:pointer"> <img id="show-left-frame" src="<spring:theme code='sidebarImage'/>" onclick="showLeftFrame()" alt="" style="display:${model.showSideBar ? 'none' : 'inline'};cursor:pointer">
<img id="hide-left-frame" src="<spring:theme code="sidebarImage"/>" onclick="hideLeftFrame()" alt="" style="display:${model.showSideBar ? 'inline' : 'none'};cursor:pointer"> <img id="hide-left-frame" src="<spring:theme code='sidebarImage'/>" onclick="hideLeftFrame()" alt="" style="display:${model.showSideBar ? 'inline' : 'none'};cursor:pointer">
</td> </td>
<td style="min-width:3em;padding-right:1em;text-align: center"> <td style="min-width:3em;padding-right:1em;text-align: center">
<a href="home.view?" target="main"><img src="<spring:theme code="homeImage"/>" title="${home}" alt="${home}"></a> <a href="home.view?" target="main"><img src="<spring:theme code='homeImage'/>" title="${home}" alt="${home}"></a>
<div class="topHeader"><a href="home.view?" target="main">${home}</a></div> <div class="topHeader"><a href="home.view?" target="main">${home}</a></div>
</td> </td>
<td style="min-width:3em;padding-right:1em;text-align: center"> <td style="min-width:3em;padding-right:1em;text-align: center">
<a href="nowPlaying.view?" target="main"><img src="<spring:theme code="nowPlayingImage"/>" title="${nowPlaying}" alt="${nowPlaying}"></a> <a href="nowPlaying.view?" target="main"><img src="<spring:theme code='nowPlayingImage'/>" title="${nowPlaying}" alt="${nowPlaying}"></a>
<div class="topHeader"><a href="nowPlaying.view?" target="main">${nowPlaying}</a></div> <div class="topHeader"><a href="nowPlaying.view?" target="main">${nowPlaying}</a></div>
</td> </td>
<td style="min-width:3em;padding-right:1em;text-align: center"> <td style="min-width:3em;padding-right:1em;text-align: center">
<a href="starred.view?" target="main"><img src="<spring:theme code="starredImage"/>" title="${starred}" alt="${starred}"></a> <a href="starred.view?" target="main"><img src="<spring:theme code='starredImage'/>" title="${starred}" alt="${starred}"></a>
<div class="topHeader"><a href="starred.view?" target="main">${starred}</a></div> <div class="topHeader"><a href="starred.view?" target="main">${starred}</a></div>
</td> </td>
<td style="min-width:3em;padding-right:1em;text-align: center"> <td style="min-width:3em;padding-right:1em;text-align: center">
<a href="playlists.view?" target="main"><img src="<spring:theme code="playlistImage"/>" title="${playlists}" alt="${playlists}"></a> <a href="playlists.view?" target="main"><img src="<spring:theme code='playlistImage'/>" title="${playlists}" alt="${playlists}"></a>
<div class="topHeader"><a href="playlists.view?" target="main">${playlists}</a></div> <div class="topHeader"><a href="playlists.view?" target="main">${playlists}</a></div>
</td> </td>
<td style="min-width:4em;padding-right:1em;text-align: center"> <td style="min-width:4em;padding-right:1em;text-align: center">
<a href="podcastChannels.view?" target="main"><img src="<spring:theme code="podcastLargeImage"/>" title="${podcast}" alt="${podcast}"></a> <a href="podcastChannels.view?" target="main"><img src="<spring:theme code='podcastLargeImage'/>" title="${podcast}" alt="${podcast}"></a>
<div class="topHeader"><a href="podcastChannels.view?" target="main">${podcast}</a></div> <div class="topHeader"><a href="podcastChannels.view?" target="main">${podcast}</a></div>
</td> </td>
<c:if test="${model.user.settingsRole}"> <c:if test="${model.user.settingsRole}">
<td style="min-width:3em;padding-right:1em;text-align: center"> <td style="min-width:3em;padding-right:1em;text-align: center">
<a href="settings.view?" target="main"><img src="<spring:theme code="settingsImage"/>" title="${settings}" alt="${settings}"></a> <a href="settings.view?" target="main"><img src="<spring:theme code='settingsImage'/>" title="${settings}" alt="${settings}"></a>
<div class="topHeader"><a href="settings.view?" target="main">${settings}</a></div> <div class="topHeader"><a href="settings.view?" target="main">${settings}</a></div>
</td> </td>
</c:if> </c:if>
<td style="min-width:3em;padding-right:1em;text-align: center"> <td style="min-width:3em;padding-right:1em;text-align: center">
<a href="status.view?" target="main"><img src="<spring:theme code="statusImage"/>" title="${status}" alt="${status}"></a> <a href="status.view?" target="main"><img src="<spring:theme code='statusImage'/>" title="${status}" alt="${status}"></a>
<div class="topHeader"><a href="status.view?" target="main">${status}</a></div> <div class="topHeader"><a href="status.view?" target="main">${status}</a></div>
</td> </td>
<td style="min-width:3em;padding-right:1em;text-align: center"> <td style="min-width:3em;padding-right:1em;text-align: center">
<a href="more.view?" target="main"><img src="<spring:theme code="moreImage"/>" title="${more}" alt="${more}"></a> <a href="more.view?" target="main"><img src="<spring:theme code='moreImage'/>" title="${more}" alt="${more}"></a>
<div class="topHeader"><a href="more.view?" target="main">${more}</a></div> <div class="topHeader"><a href="more.view?" target="main">${more}</a></div>
</td> </td>
<td style="min-width:3em;padding-right:1em;text-align: center"> <td style="min-width:3em;padding-right:1em;text-align: center">
<a href="help.view?" target="main"><img src="<spring:theme code="helpImage"/>" title="${help}" alt="${help}"></a> <a href="help.view?" target="main"><img src="<spring:theme code='helpImage'/>" title="${help}" alt="${help}"></a>
<div class="topHeader"><a href="help.view?" target="main">${help}</a></div> <div class="topHeader"><a href="help.view?" target="main">${help}</a></div>
</td> </td>
@ -127,7 +127,7 @@
<form method="post" action="search.view" target="main" name="searchForm"> <form method="post" action="search.view" target="main" name="searchForm">
<td><input required type="text" name="query" id="query" size="28" placeholder="${search}" onclick="select();" <td><input required type="text" name="query" id="query" size="28" placeholder="${search}" onclick="select();"
onkeyup="triggerInstantSearch();"></td> onkeyup="triggerInstantSearch();"></td>
<td><a href="javascript:document.searchForm.submit()"><img src="<spring:theme code="searchImage"/>" alt="${search}" title="${search}"></a></td> <td><a href="javascript:document.searchForm.submit()"><img src="<spring:theme code='searchImage'/>" alt="${search}" title="${search}"></a></td>
</form> </form>
</td> </td>
@ -143,7 +143,7 @@
</div> </div>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<img src="<spring:theme code="userImage"/>" alt="User" height="24"> <img src="<spring:theme code='userImage'/>" alt="User" height="24">
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
@ -154,8 +154,8 @@
</td> </td>
<td style="padding-left:15pt;padding-right:5pt;vertical-align: right;width: 100%;text-align: center"> <td style="padding-left:15pt;padding-right:5pt;vertical-align: right;width: 100%;text-align: center">
<a href="<c:url value="/logout"/>" target="_top"> <a href="<c:url value='/logout'/>" target="_top">
<img src="<spring:theme code="logoutImage"/>" alt="logout" height="24"> <img src="<spring:theme code='logoutImage'/>" alt="logout" height="24">
<div class="detail"> <div class="detail">
<fmt:message key="top.logout" var="logout"></fmt:message> <fmt:message key="top.logout" var="logout"></fmt:message>
<c:out value="${logout}"/> <c:out value="${logout}"/>

@ -5,8 +5,8 @@
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
</head> </head>
<body class="mainframe bgcolor1"> <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/wz_tooltip.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/tip_balloon.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
<c:param name="cat" value="transcoding"/> <c:param name="cat" value="transcoding"/>
@ -41,11 +41,11 @@
</tr> </tr>
<tr> <tr>
<td><input class="monospace" name="name" size="10" placeholder="<fmt:message key="transcodingsettings.name"/>" value="${fn:escapeXml(newTranscoding.name)}"/></td> <td><input class="monospace" name="name" size="10" placeholder="<fmt:message key='transcodingsettings.name'/>" value="${fn:escapeXml(newTranscoding.name)}"/></td>
<td><input class="monospace" name="sourceFormats" size="36" placeholder="<fmt:message key="transcodingsettings.sourceformat"/>" value="${newTranscoding.sourceFormats}"/></td> <td><input class="monospace" name="sourceFormats" size="36" placeholder="<fmt:message key='transcodingsettings.sourceformat'/>" value="${newTranscoding.sourceFormats}"/></td>
<td><input class="monospace" name="targetFormat" size="10" placeholder="<fmt:message key="transcodingsettings.targetformat"/>" value="${newTranscoding.targetFormat}"/></td> <td><input class="monospace" name="targetFormat" size="10" placeholder="<fmt:message key='transcodingsettings.targetformat'/>" value="${newTranscoding.targetFormat}"/></td>
<td><input class="monospace" name="step1" size="60" placeholder="<fmt:message key="transcodingsettings.step1"/>" value="${newTranscoding.step1}"/></td> <td><input class="monospace" name="step1" size="60" placeholder="<fmt:message key='transcodingsettings.step1'/>" value="${newTranscoding.step1}"/></td>
<td><input class="monospace" name="step2" size="22" placeholder="<fmt:message key="transcodingsettings.step2"/>" value="${newTranscoding.step2}"/></td> <td><input class="monospace" name="step2" size="22" placeholder="<fmt:message key='transcodingsettings.step2'/>" value="${newTranscoding.step2}"/></td>
<td/> <td/>
</tr> </tr>
@ -81,8 +81,8 @@
<p style="padding-top:0.75em"> <p style="padding-top:0.75em">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>" style="margin-right:1.3em"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>" style="margin-right:1.3em"></a>
<a href="https://airsonic.github.io/docs/transcode/" target="_blank" rel="noopener noreferrer"><fmt:message key="transcodingsettings.recommended"/></a> <a href="https://airsonic.github.io/docs/transcode/" target="_blank" rel="noopener noreferrer"><fmt:message key="transcodingsettings.recommended"/></a>
</p> </p>

@ -4,7 +4,7 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
<script type="text/javascript"> <script type="text/javascript">
function init() { function init() {
enablePasswordChangeFields(); enablePasswordChangeFields();
@ -36,8 +36,8 @@
</head> </head>
<body class="mainframe bgcolor1" onload="init()"> <body class="mainframe bgcolor1" onload="init()">
<script type="text/javascript" src="<c:url value="/script/wz_tooltip.js"/>"></script> <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> <script type="text/javascript" src="<c:url value='/script/tip_balloon.js'/>"></script>
<c:import url="settingsHeader.jsp"> <c:import url="settingsHeader.jsp">
<c:param name="cat" value="user"/> <c:param name="cat" value="user"/>
@ -216,8 +216,8 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-top:1.5em;margin-right:0.3em"> <input type="submit" value="<fmt:message key='common.save'/>" style="margin-top:1.5em;margin-right:0.3em">
<a href='nowPlaying.view'><input type="button" value="<fmt:message key="common.cancel"/>" style="margin-top:1.5em"></a> <a href='nowPlaying.view'><input type="button" value="<fmt:message key='common.cancel'/>" style="margin-top:1.5em"></a>
</form:form> </form:form>
</body></html> </body></html>

@ -23,7 +23,7 @@
<html><head> <html><head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<script type="text/javascript" src="<c:url value="/script/utils.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/utils.js'/>"></script>
<script type="text/javascript"> <script type="text/javascript">
var image; var image;
@ -126,7 +126,7 @@
</c:if> </c:if>
</table> </table>
<c:if test="${model.thereIsMore && fn:length(model.subDirs) gt 0}"> <c:if test="${model.thereIsMore && fn:length(model.subDirs) gt 0}">
<input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key="main.showall"/>" onclick="showAllAlbums()"> <input id="showAllButton" class="albumOverflowButton" type="button" value="<fmt:message key='main.showall'/>" onclick="showAllAlbums()">
</c:if> </c:if>
<div style="clear:both;height:1.5em"></div> <div style="clear:both;height:1.5em"></div>

@ -4,19 +4,19 @@
<head> <head>
<%@ include file="head.jsp" %> <%@ include file="head.jsp" %>
<%@ include file="jquery.jsp" %> <%@ include file="jquery.jsp" %>
<link rel="stylesheet" type="text/css" href="<c:url value="/style/videoPlayer.css"/>"> <link rel="stylesheet" type="text/css" href="<c:url value='/style/videoPlayer.css'/>">
<script type="text/javascript" src="<c:url value="/dwr/engine.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/engine.js'/>"></script>
<script type="text/javascript" src="<c:url value="/dwr/interface/starService.js"/>"></script> <script type="text/javascript" src="<c:url value='/dwr/interface/starService.js'/>"></script>
<script type="text/javascript" src="<c:url value="/script/cast_sender-v1.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/cast_sender-v1.js'/>"></script>
<script type="text/javascript" language="javascript"> <script type="text/javascript" language="javascript">
function toggleStar(mediaFileId, imageId) { function toggleStar(mediaFileId, imageId) {
if ($(imageId).attr("src").indexOf("<spring:theme code="ratingOnImage"/>") != -1) { if ($(imageId).attr("src").indexOf("<spring:theme code='ratingOnImage'/>") != -1) {
$(imageId).attr("src", "<spring:theme code="ratingOffImage"/>"); $(imageId).attr("src", "<spring:theme code="ratingOffImage"/>");
starService.unstar(mediaFileId); starService.unstar(mediaFileId);
} }
else if ($(imageId).attr("src").indexOf("<spring:theme code="ratingOffImage"/>") != -1) { else if ($(imageId).attr("src").indexOf("<spring:theme code='ratingOffImage'/>") != -1) {
$(imageId).attr("src", "<spring:theme code="ratingOnImage"/>"); $(imageId).attr("src", "<spring:theme code='ratingOnImage'/>");
starService.star(mediaFileId); starService.star(mediaFileId);
} }
} }
@ -31,7 +31,7 @@
hide_download: ${model.user.downloadRole ? 1: 0} hide_download: ${model.user.downloadRole ? 1: 0}
} }
</script> </script>
<script type="text/javascript" src="<c:url value="/script/videoPlayerCast.js"/>"></script> <script type="text/javascript" src="<c:url value='/script/videoPlayerCast.js'/>"></script>
</head> </head>
<body class="mainframe bgcolor1" style="padding-bottom:0.5em"> <body class="mainframe bgcolor1" style="padding-bottom:0.5em">
@ -76,7 +76,7 @@
<h1 style="padding-top:1em;padding-bottom:0.5em;"> <h1 style="padding-top:1em;padding-bottom:0.5em;">
<img id="starImage" src="<spring:theme code="${not empty model.video.starredDate ? 'ratingOnImage' : 'ratingOffImage'}"/>" <img id="starImage" src="<spring:theme code='${not empty model.video.starredDate ? \'ratingOnImage\' : \'ratingOffImage\'}'/>"
onclick="toggleStar(${model.video.id}, '#starImage'); return false;" style="cursor:pointer" alt=""> onclick="toggleStar(${model.video.id}, '#starImage'); return false;" style="cursor:pointer" alt="">
<span style="vertical-align:middle">${fn:escapeXml(model.video.title)}</span> <span style="vertical-align:middle">${fn:escapeXml(model.video.title)}</span>
</h1> </h1>

@ -26,12 +26,12 @@
</c:url> </c:url>
<c:choose> <c:choose>
<c:when test="${model.viewAsList}"> <c:when test="${model.viewAsList}">
<img src="<spring:theme code="viewAsListImage"/>" alt="" class="headerSelected" style="margin-right:8px"/> <img src="<spring:theme code='viewAsListImage'/>" alt="" class="headerSelected" style="margin-right:8px"/>
<a href="${changeViewUrl}"><img src="<spring:theme code="viewAsGridImage"/>" alt=""/></a> <a href="${changeViewUrl}"><img src="<spring:theme code='viewAsGridImage'/>" alt=""/></a>
</c:when> </c:when>
<c:otherwise> <c:otherwise>
<a href="${changeViewUrl}"><img src="<spring:theme code="viewAsListImage"/>" alt="" style="margin-right:8px"/></a> <a href="${changeViewUrl}"><img src="<spring:theme code='viewAsListImage'/>" alt="" style="margin-right:8px"/></a>
<img src="<spring:theme code="viewAsGridImage"/>" alt="" class="headerSelected"/> <img src="<spring:theme code='viewAsGridImage'/>" alt="" class="headerSelected"/>
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</div> </div>

Loading…
Cancel
Save