Changeset 2a30bfe


Ignore:
Timestamp:
Mar 19, 2018 5:19:21 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9f11188e, a1ccd5a
Parents:
129188f
Message:

Console: Hide links to i2ptunnel if disabled
/configwebapps changes don't require restart

Location:
apps/routerconsole/jsp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/jsp/configkeyring.jsp

    r129188f r2a30bfe  
    3030          <td class="infohelp" colspan="2">
    3131 <%=intl._t("Enter keys for encrypted remote destinations here.")%>
     32<%
     33    net.i2p.util.PortMapper pm = net.i2p.I2PAppContext.getGlobalContext().portMapper();
     34    if (pm.isRegistered(net.i2p.util.PortMapper.SVC_I2PTUNNEL)) {
     35%>
    3236 <%=intl._t("Keys for local destinations must be entered on the")%> <a href="i2ptunnel/"><%=intl._t("I2PTunnel page")%></a>.
     37<%  }  %>
    3338          </td>
    3439        </tr><tr>
  • apps/routerconsole/jsp/configtunnels.jsp

    r129188f r2a30bfe  
    2929 <%=intl._t("Exploratory tunnel setting changes are stored in the router.config file.")%>
    3030 <%=intl._t("Client tunnel changes are temporary and are not saved.")%>
     31<%
     32    net.i2p.util.PortMapper pm = net.i2p.I2PAppContext.getGlobalContext().portMapper();
     33    if (pm.isRegistered(net.i2p.util.PortMapper.SVC_I2PTUNNEL)) {
     34%>
    3135 <%=intl._t("To make permanent client tunnel changes see the")%>&nbsp;<a href="/i2ptunnelmgr"><%=intl._t("i2ptunnel page")%></a>.
     36<%  }  %>
    3237 </p>
    3338<form action="" method="POST">
  • apps/routerconsole/jsp/configwebapps.jsp

    r129188f r2a30bfe  
    3232 <%=intl._t("The Java web applications listed below are started by the webConsole client and run in the same JVM as the router. They are usually web applications accessible through the router console. They may be complete applications (e.g. i2psnark), front-ends to another client or application which must be separately enabled (e.g. susidns, i2ptunnel), or have no web interface at all (e.g. addressbook).")%>&nbsp;
    3333 <%=intl._t("A web app may also be disabled by removing the .war file from the webapps directory; however the .war file and web app will reappear when you update your router to a newer version, so disabling the web app here is the preferred method.")%>
    34  <i><%=intl._t("All changes require restart to take effect.")%></i>
    3534 </p><div class="wideload">
    3635<form action="configwebapps" method="POST">
Note: See TracChangeset for help on using the changeset viewer.