I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit d382f121 authored by meeh's avatar meeh
Browse files

merge of 'a2e8a7d9b157e9a7d5ab0e4356b7b046715a4243'

     and 'c3ae5fc1d281c2f9c6357dd72bfc2147bae71877'
parents 36a5790b 5d100417
No related branches found
No related tags found
No related merge requests found
...@@ -43,9 +43,17 @@ input.default { width: 1px; height: 1px; visibility: hidden; } ...@@ -43,9 +43,17 @@ input.default { width: 1px; height: 1px; visibility: hidden; }
<%=intl._t("Enabled without SSL")%></label><br> <%=intl._t("Enabled without SSL")%></label><br>
<label><input type="radio" class="optbox" name="mode" value="2" <%=clientshelper.i2cpModeChecked(2) %> > <label><input type="radio" class="optbox" name="mode" value="2" <%=clientshelper.i2cpModeChecked(2) %> >
<%=intl._t("Enabled with SSL required")%></label><br> <%=intl._t("Enabled with SSL required")%></label><br>
<label><input type="radio" class="optbox" name="mode" value="0" <%=clientshelper.i2cpModeChecked(0) %> > <%
// returns nonempty string if disabled
String disableChecked = clientshelper.i2cpModeChecked(0);
boolean isDisabled = disableChecked.length() > 0;
%>
<label><input type="radio" class="optbox" name="mode" value="0" <%=disableChecked%> >
<%=intl._t("Disabled - Clients outside this Java process may not connect")%></label><br> <%=intl._t("Disabled - Clients outside this Java process may not connect")%></label><br>
</td></tr> </td></tr>
<%
if (!isDisabled) {
%>
<tr><td> <tr><td>
<b><%=intl._t("I2CP Interface")%>:</b> <b><%=intl._t("I2CP Interface")%>:</b>
<select name="interface"> <select name="interface">
...@@ -77,6 +85,9 @@ input.default { width: 1px; height: 1px; visibility: hidden; } ...@@ -77,6 +85,9 @@ input.default { width: 1px; height: 1px; visibility: hidden; }
<b><%=intl._t("Password")%>:</b> <b><%=intl._t("Password")%>:</b>
<input name="nofilter_pw" type="password" value="" /> <input name="nofilter_pw" type="password" value="" />
</td></tr> </td></tr>
<%
} // !isDisabled
%>
<tr><td class="optionsave" align="right"> <tr><td class="optionsave" align="right">
<input type="submit" class="default" name="action" value="<%=intl._t("Save Interface Configuration")%>" /> <input type="submit" class="default" name="action" value="<%=intl._t("Save Interface Configuration")%>" />
<input type="submit" class="cancel" name="foo" value="<%=intl._t("Cancel")%>" /> <input type="submit" class="cancel" name="foo" value="<%=intl._t("Cancel")%>" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment