%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/309157/root/home/waritko/subsonic/ROOT/WEB-INF/jsp/
Upload File :
Create Path :
Current File : //proc/309157/root/home/waritko/subsonic/ROOT/WEB-INF/jsp/premiumSettings.jsp

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %>
<%--@elvariable id="command" type="net.sourceforge.subsonic.command.PremiumSettingsCommand"--%>
<html>
<head>
    <%@ include file="head.jsp" %>
    <%@ include file="jquery.jsp" %>
</head>
<body class="mainframe bgcolor1">

<c:set var="category" value="premium"/>
<c:set var="toast" value="${command.toast}"/>
<c:set var="user" value="${command.user}"/>
<%@ include file="settingsHeader.jsp" %>

<div style="width:50em; max-width:50em">

    <fmt:message key="premium.text"/>
    <fmt:formatDate value="${command.licenseInfo.licenseExpires}" dateStyle="long" var="expirationDate"/>

    <c:if test="${command.licenseInfo.licenseValid}">
        <c:choose>
            <c:when test="${empty command.licenseInfo.licenseExpires}">
                <p><b><fmt:message key="premium.licensed"/></b></p>
            </c:when>
            <c:otherwise>
                <p><b><fmt:message key="premium.licensedexpires"><fmt:param value="${expirationDate}"/></fmt:message></b></p>
            </c:otherwise>
        </c:choose>
        <c:if test="${not command.forceChange and not command.submissionError}">
            <p>
                <fmt:message key="premium.licensedto"><fmt:param value="${command.licenseInfo.licenseEmail}"/></fmt:message>
            </p>
            <c:if test="${command.user.adminRole}">
                <i class="fa fa-chevron-right icon"></i>&nbsp;<a href="premiumSettings.view?change"><fmt:message key="premium.forcechange"/></a>
            </c:if>
        </c:if>
    </c:if>

    <c:if test="${not command.licenseInfo.licenseValid}">
        <c:if test="${not empty command.licenseInfo.licenseExpires}">
            <p><b><fmt:message key="premium.licensedexpired"><fmt:param value="${expirationDate}"/></fmt:message></b></p>
        </c:if>
        <p style="font-size:1.2em;margin-left: 1em"><i class="fa fa-chevron-right icon"></i>&nbsp;<b><a href="http://subsonic.org/pages/premium.jsp" target="_blank">
            <fmt:message key="premium.getpremium"/>
            <c:if test="${command.licenseInfo.trialDaysLeft gt 0}">
                &ndash; <fmt:message key="top.trialdaysleft"><fmt:param value="${command.licenseInfo.trialDaysLeft}"/></fmt:message>
            </c:if>
        </a></b></p>

        <p><fmt:message key="premium.register"/></p>
    </c:if>

    <c:if test="${not command.licenseInfo.licenseValid or command.forceChange or command.submissionError}">
        <form:form commandName="command" method="post" action="premiumSettings.view">
            <table>
                <tr>
                    <td><fmt:message key="premium.register.email"/></td>
                    <td>
                        <form:input path="licenseInfo.licenseEmail" size="60"/>
                    </td>
                </tr>
                <tr>
                    <td><fmt:message key="premium.register.license"/></td>
                    <td>
                        <form:input path="licenseCode" size="60"/>
                    </td>
                    <td><input type="submit" value="<fmt:message key="common.ok"/>"/></td>
                </tr>
                <tr>
                    <td/>
                    <td class="warning"><form:errors path="licenseCode"/></td>
                </tr>
            </table>
        </form:form>

        <p><fmt:message key="premium.resend"/></p>
    </c:if>

</div>
</body>
</html>

Zerion Mini Shell 1.0