%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/help.jsp

<%@ 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" %>
    <script type="text/javascript" src="<c:url value="/script/scripts-2.0.js"/>"></script>
</head>
<body class="mainframe bgcolor1">

<c:choose>
    <c:when test="${empty model.buildDate}">
        <fmt:message key="common.unknown" var="buildDateString"/>
    </c:when>
    <c:otherwise>
        <fmt:formatDate value="${model.buildDate}" dateStyle="long" var="buildDateString"/>
    </c:otherwise>
</c:choose>

<c:choose>
    <c:when test="${empty model.localVersion}">
        <fmt:message key="common.unknown" var="versionString"/>
    </c:when>
    <c:otherwise>
        <c:set var="versionString" value="${model.localVersion} (build ${model.buildNumber})"/>
    </c:otherwise>
</c:choose>

<h1 style="padding-bottom:0.5em"><i class="fa fa-info-circle fa-lg icon"></i>&nbsp;&nbsp;<fmt:message key="help.title"><fmt:param value="${model.brand}"/></fmt:message></h1>

<c:if test="${model.newVersionAvailable}">
    <p class="warning"><fmt:message key="help.upgrade"><fmt:param value="${model.brand}"/><fmt:param value="${model.latestVersion}"/></fmt:message></p>
</c:if>

<table width="75%" class="ruleTable indent">

    <tr><td class="ruleTableHeader"><fmt:message key="help.premium.title"/></td>
        <td class="ruleTableCell">
            <c:choose>
                <c:when test="${model.licenseInfo.licenseValid}">
                    <c:choose>
                        <c:when test="${model.user.settingsRole}">
                            <a href="premiumSettings.view">Subsonic Premium</a>
                        </c:when>
                        <c:otherwise>
                            Subsonic Premium
                        </c:otherwise>
                    </c:choose>
                    <c:if test="${not empty model.licenseInfo.licenseExpires}">
                        <fmt:message key="help.premium.expires">
                            <fmt:param><fmt:formatDate type="date" dateStyle="long" value="${model.licenseInfo.licenseExpires}"/></fmt:param>
                        </fmt:message>
                    </c:if>
                </c:when>
                <c:otherwise>
                    <fmt:message key="help.premium.upgrade"/>
                    <c:if test="${not empty model.licenseInfo.licenseExpires}">
                        <fmt:message key="help.premium.expired">
                            <fmt:param><fmt:formatDate type="date" dateStyle="long" value="${model.licenseInfo.licenseExpires}"/></fmt:param>
                        </fmt:message>
                    </c:if>
                </c:otherwise>
            </c:choose>
        </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.license.title"/></td><td class="ruleTableCell">
        <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="http://www.subsonic.org/">subsonic.org</a></td></tr>
    <tr><td class="ruleTableHeader"><fmt:message key="help.forum.title"/></td><td class="ruleTableCell"><a target="_blank" href="http://forum.subsonic.org/">forum.subsonic.org</a></td></tr>
    <tr><td class="ruleTableHeader"><fmt:message key="help.contact.title"/></td><td class="ruleTableCell"><fmt:message key="help.contact.text"><fmt:param value="${model.brand}"/></fmt:message></td></tr>

    <c:if test="${model.statistics.songCount gt 0}">
        <tr>
            <td class="ruleTableHeader"><fmt:message key="help.statistics.title"/></td>
            <td class="ruleTableCell">
                <fmt:message key="left.statistics">
                    <fmt:param value="${model.statistics.artistCount}"/>
                    <fmt:param value="${model.statistics.albumCount}"/>
                    <fmt:param value="${model.statistics.songCount}"/>
                    <fmt:param value="${model.bytes}"/>
                    <fmt:param value="${model.hours}"/>
                </fmt:message>
            </td>
        </tr>
    </c:if>
</table>

<h2 style="padding-top:1em"><i class="fa fa-list fa-lg icon"></i>&nbsp;&nbsp;<fmt:message key="help.log"/></h2>

<table cellpadding="2" class="log indent">
    <c:forEach items="${model.logEntries}" var="entry">
        <tr>
            <td>[<fmt:formatDate value="${entry.date}" dateStyle="short" timeStyle="long" type="both"/>]</td>
            <td>${entry.level}</td><td>${entry.category}</td><td>${fn:escapeXml(entry.message)}</td>
        </tr>
    </c:forEach>
</table>

<p><fmt:message key="help.logfile"><fmt:param value="${model.logFile}"/></fmt:message> </p>

<i class="fa fa-refresh fa-lg fa-fw icon"></i>&nbsp;&nbsp;<a href="help.view"><fmt:message key="common.refresh"/></a>

<div style="padding-top:2em"></div>
</body></html>

Zerion Mini Shell 1.0