diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-07-27 14:33:25 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-07-27 14:33:38 -0700 |
commit | 4738428c2c205f42200386ae09b44b9ec07b9144 (patch) | |
tree | a6402978fe1b4655f90c3c8a181f4d246fbc5e89 /subsonic-main/src/main/webapp/WEB-INF/jsp/wap/playlist.jsp | |
parent | 82ec8315f777c319f2372540098e21111019d629 (diff) | |
download | dsub-4738428c2c205f42200386ae09b44b9ec07b9144.tar.gz dsub-4738428c2c205f42200386ae09b44b9ec07b9144.tar.bz2 dsub-4738428c2c205f42200386ae09b44b9ec07b9144.zip |
Move subsonic-android to root
Diffstat (limited to 'subsonic-main/src/main/webapp/WEB-INF/jsp/wap/playlist.jsp')
-rw-r--r-- | subsonic-main/src/main/webapp/WEB-INF/jsp/wap/playlist.jsp | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/subsonic-main/src/main/webapp/WEB-INF/jsp/wap/playlist.jsp b/subsonic-main/src/main/webapp/WEB-INF/jsp/wap/playlist.jsp deleted file mode 100644 index 481e00d3..00000000 --- a/subsonic-main/src/main/webapp/WEB-INF/jsp/wap/playlist.jsp +++ /dev/null @@ -1,56 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
-
-<%@ page language="java" contentType="text/vnd.wap.wml; charset=utf-8" pageEncoding="iso-8859-1"%>
-
-<wml>
-
- <%@ include file="head.jsp" %>
-
- <c:if test="${fn:length(model.players) eq 1}">
- <c:choose>
- <c:when test="${empty model.players[0].name}">
- <c:set var="playerName" value=" - Player ${model.players[0].id}"/>
- </c:when>
- <c:otherwise>
- <c:set var="playerName" value=" - ${model.players[0].name}"/>
- </c:otherwise>
- </c:choose>
- </c:if>
-
-
- <card id="main" title="Subsonic" newcontext="false">
- <p><small><b><fmt:message key="wap.playlist.title"/>${playerName}</b></small></p>
- <p><small>
-
- <c:choose>
- <c:when test="${empty model.players}">
- <fmt:message key="wap.playlist.noplayer"/>
- </c:when>
- <c:otherwise>
- <b><a href="<c:url value="/wap/index.view"/>">[<fmt:message key="common.home"/>]</a></b><br/>
- <b><a href="<c:url value="/wap/loadPlaylist.view"/>">[<fmt:message key="wap.playlist.load"/>]</a></b><br/>
- <b><a href="<c:url value="/wap/playlist.view?random"/>">[<fmt:message key="wap.playlist.random"/>]</a></b><br/>
-
- <c:set var="playlist" value="${model.players[0].playlist}"/>
-
- <c:if test="${not empty playlist.files}">
- <b><a href="<c:url value="/play.m3u"/>">[<fmt:message key="wap.playlist.play"/>]</a></b><br/>
- <b><a href="<c:url value="/wap/playlist.view?clear"/>">[<fmt:message key="wap.playlist.clear"/>]</a></b><br/>
- </small></p>
- <p><small>
-
- <c:forEach items="${playlist.files}" var="file" varStatus="loopStatus">
- <c:set var="isCurrent" value="${(file eq playlist.currentFile) and (loopStatus.count - 1 eq playlist.index)}"/>
- ${isCurrent ? "<b>" : ""}
- <a href="<c:url value="/wap/playlist.view?skip=${loopStatus.count - 1}"/>">${fn:escapeXml(file.title)}</a>
- ${isCurrent ? "</b>" : ""}
- <br/>
- </c:forEach>
- </c:if>
- </c:otherwise>
- </c:choose>
- </small></p>
- </card>
-</wml>
-
|