diff --git a/apps/routerconsole/jsp/configplugins.jsp b/apps/routerconsole/jsp/configplugins.jsp index 46b1be05c1..f71c1ef1ff 100644 --- a/apps/routerconsole/jsp/configplugins.jsp +++ b/apps/routerconsole/jsp/configplugins.jsp @@ -45,10 +45,10 @@ input.default { width: 1px; height: 1px; visibility: hidden; } } // pluginUpdateEnabled if (clientshelper.isPluginInstallEnabled()) { %> -

<%=intl._t("Plugin Installation")%>

+

<%=intl._t("Plugin Installation")%>

-
+
<%=intl._t("Look for available plugins on {0}.", "i2pwiki.i2p")%>
@@ -58,7 +58,11 @@ input.default { width: 1px; height: 1px; visibility: hidden; } URL: - " > +<% + String url = request.getParameter("pluginURL"); + String value = url != null ? "value=\"" + url + '"' : ""; +%> + " <%=value%>> " /> @@ -69,14 +73,25 @@ input.default { width: 1px; height: 1px; visibility: hidden; }
-
-<%=intl._t("Installation from File")%> +
+<%=intl._t("Installation from File")%>
<%=intl._t("Select xpi2p or su3 file")%>: +<% + String file = request.getParameter("pluginFile"); + if (file != null) { +%> + +<% + } else { +%> +<% + } +%> " /> @@ -88,7 +103,7 @@ input.default { width: 1px; height: 1px; visibility: hidden; } } // pluginInstallEnabled if (clientshelper.isPluginUpdateEnabled()) { %> -

<%=intl._t("Update All Plugins")%>

+

<%=intl._t("Update All Plugins")%>