From 07855ed552632a58a0f6bac2514e3035ae45278d Mon Sep 17 00:00:00 2001 From: Guus der Kinderen Date: Thu, 14 Nov 2024 13:19:03 +0100 Subject: [PATCH] Fix missing date for Openfire plugins The Openfire plugins archive page lists all versions for a certain plugin. The 'release date' column is empty (but should not be). That is fixed by this commit. The similar column on the page that lists all different plugins didn't suffer from this problem. --- src/main/webapp/projects/openfire/plugin-archive.jsp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/webapp/projects/openfire/plugin-archive.jsp b/src/main/webapp/projects/openfire/plugin-archive.jsp index 5deda463..bdf022fa 100644 --- a/src/main/webapp/projects/openfire/plugin-archive.jsp +++ b/src/main/webapp/projects/openfire/plugin-archive.jsp @@ -6,11 +6,8 @@ return; } %> -<%@ page import="java.net.URLEncoder"%> -<%@ page import="java.nio.charset.StandardCharsets"%> <%@ page import="java.nio.file.Path"%> <%@ page import="java.nio.file.Paths"%> -<%@ page import="java.text.DateFormat"%> <%@ page import="java.util.List"%> <%@ page import="org.jivesoftware.site.PluginManager" %> <%@ page import="java.io.BufferedReader" %> @@ -22,6 +19,7 @@ <%@ page import="org.jsoup.safety.Safelist" %> <%@ page import="org.slf4j.LoggerFactory" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://igniterealtime.org/website/tags" prefix="ir" %> <% String openfirePluginsPath = config.getServletContext().getInitParameter("openfire-plugins-path");