<%-- - $RCSfile$ - $Revision$ - $Date$ --%> <%@ page import="org.jivesoftware.messenger.container.*, java.text.DateFormat, java.util.HashMap, java.util.Map, org.jivesoftware.util.*" %> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %> <%-- Define Administration Bean --%> <jsp:useBean id="admin" class="org.jivesoftware.util.WebManager" /> <% admin.init(request, response, session, application, out ); %> <!-- Define BreadCrumbs --> <c:set var="title" value="License Details" /> <c:set var="breadcrumbs" value="${admin.breadCrumbs}" /> <c:set target="${breadcrumbs}" property="Home" value="index.jsp" /> <c:set target="${breadcrumbs}" property="${title}" value="license-details.jsp" /> <jsp:include page="top.jsp" flush="true" /> <% // Get parameters String licenseText = ParamUtils.getParameter(request,"licenseText"); boolean loadNew = request.getParameter("loadNew") != null; // Handle a new license Map errors = new HashMap(); if (loadNew) { // Validate if (licenseText == null) { errors.put("licenseText","licenseText"); } // if no errors, continue if (errors.size() == 0) { } } // Date dateFormatter for all dates on this page: DateFormat dateFormatter = DateFormat.getDateTimeInstance(DateFormat.MEDIUM,DateFormat.SHORT); %> <p> <fmt:message key="license.details.info" /> <fmt:message key="short.title" /> <fmt:message key="license.details.info1" /> </p> <table class="box" cellpadding="3" cellspacing="1" border="0" width="600"> <tr class="tableHeaderBlue"><td colspan="2" align="center"><fmt:message key="short.title" /> <fmt:message key="license.details.details" /></td></tr> <tr> <td class="jive-label"> <fmt:message key="license.details.type" /> </td> <td> </td> </tr> <tr> <td class="jive-label"> <fmt:message key="license.details.max_session" /> </td> <td> <fmt:message key="license.details.unlimited" /> </td> </tr> <tr> <td class="jive-label"> <fmt:message key="license.details.expiration_date" /> </td> <td> <fmt:message key="license.details.expiration_date_never" /> </td> </tr> </table> </div> <%-- <br> <p> <b>Update License</b> </p> <p> You can update your license by entering new license text below and clicking "Update License". Note, this will first verify the license before overriding your current one. </p> <form action="license-details.jsp" method="post"> <div class="jive-table"> <table cellpadding="3" cellspacing="1" border="0" width="100%"> <tr valign="top"> <td class="jive-label"> New License Text: </td> <td> <textarea cols="50" rows="6" wrap="virtual" name="licenseText"></textarea> </td> </tr> </table> </div> <br> <input type="submit" name="loadNew" value="Update License"> </form> --%> <jsp:include page="bottom.jsp" flush="true" />