Ignore:
Timestamp:
Dec 12, 2010 9:30:29 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
384f1bd
Parents:
4a9f7b7
Message:

Disable I2CP host/port options when in router context

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/jsp/editServer.jsp

    r4a9f7b7 r653a68b8  
    306306
    307307            <div id="optionsField" class="rowItem">
    308                 <label><%=intl._("I2CP Options")%>:</label>
     308                <label><%=intl._("Router I2CP Address")%>:</label>
    309309            </div>
    310310            <div id="optionsHostField" class="rowItem">
     
    312312                    <%=intl._("Host")%>(<span class="accessKey">o</span>):
    313313                </label>
    314                 <input type="text" id="clientHost" name="clientHost" size="20" title="I2CP Hostname or IP" value="<%=editBean.getI2CPHost(curTunnel)%>" class="freetext" />               
     314                <input type="text" id="clientHost" name="clientHost" size="20" title="I2CP Hostname or IP" value="<%=editBean.getI2CPHost(curTunnel)%>" class="freetext" <% if (editBean.isRouterContext()) { %> readonly="readonly" <% } %> />               
    315315            </div>
    316316            <div id="optionsPortField" class="rowItem">
     
    318318                    <%=intl._("Port")%>(<span class="accessKey">r</span>):
    319319                </label>
    320                 <input type="text" id="clientPort" name="clientport" size="20" title="I2CP Port Number" value="<%=editBean.getI2CPPort(curTunnel)%>" class="freetext" />               
     320                <input type="text" id="clientPort" name="clientport" size="20" title="I2CP Port Number" value="<%=editBean.getI2CPPort(curTunnel)%>" class="freetext" <% if (editBean.isRouterContext()) { %> readonly="readonly" <% } %> />               
    321321            </div>
    322322           
Note: See TracChangeset for help on using the changeset viewer.