<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html><head>
    <%@ include file="head.jsp" %>
</head>
<body class="mainframe bgcolor1">

<h1 style="padding-bottom:0.5em">
    <fmt:message key="importPlaylist.title"/>
</h1>

<c:if test="${not empty model.playlist}">
    <p>
        <fmt:message key="importPlaylist.success"><fmt:param value="${model.playlist.name}"/></fmt:message>
        <script type="text/javascript" language="javascript">
            top.left.updatePlaylists();
        </script>
    </p>
</c:if>

<c:if test="${not empty model.error}">
    <p class="warning">
        <fmt:message key="importPlaylist.error"><fmt:param value="${model.error}"/></fmt:message>
    </p>
</c:if>

<div style="padding-bottom: 0.25em">
    <fmt:message key="importPlaylist.text"/>
</div>
<form method="post" enctype="multipart/form-data" action="importPlaylist.view">
    <input type="file" id="file" name="file" size="40"/>
    <input type="submit" value="<fmt:message key="common.ok"/>"/>
</form>


</body></html>