Changeset 145730f5 for apps


Ignore:
Timestamp:
Apr 28, 2018 3:25:05 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
780fdfe
Parents:
624a6722
Message:

SSL wizard: Add missing file, fix form params

Location:
apps/i2ptunnel
Files:
1 added
1 edited

Legend:

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

    r624a6722 r145730f5  
    100100    if (name == null || name.equals(""))
    101101        name = editBean.getTunnelName(curTunnel);
    102 %>
    103                 <input type="hidden" name="tunnel" value="<%=curTunnel%>" />
    104                 <input type="hidden" name="nonce" value="<%=net.i2p.i2ptunnel.web.IndexBean.getNextNonce()%>" />
    105                 <input type="hidden" name="type" value="<%=tunnelType%>" />
    106                 <input type="submit" class="default" name="action" value="Save changes" />
    107 <%
    108102    if (!"new".equals(tunnelType)) {
    109103%>
    110104
    111 <form method="post" action="ssl?tunnel=<%=curTunnel%>" accept-charset="UTF-8">
     105<form method="post" action="ssl" accept-charset="UTF-8">
     106<input type="hidden" name="tunnel" value="<%=curTunnel%>" />
     107<input type="hidden" name="nonce" value="<%=net.i2p.i2ptunnel.web.IndexBean.getNextNonce()%>" />
     108<input type="hidden" name="type" value="<%=tunnelType%>" />
     109<input type="submit" class="default" name="action" value="Save changes" />
    112110<table>
    113111<tr><td colspan="4" class="infohelp"><%=intl._t("Experts only!")%> Beta!</td></tr>
     
    375373<%
    376374                }  // isPWDefault
     375%>
     376<tr><td colspan="7"><b><%=intl._t("Password")%>:</b>
     377<input type="password" name="nofilter_keyPassword" title="<%=intl._t("Set password required to access this service")%>" value="" class="freetext password" />
     378</td></tr>
     379<tr><td class="buttons" colspan="7">
     380<button id="controlSave" class="control" type="submit" name="action" value="Generate"><%=intl._t("Generate certificate")%></button>
     381</td></tr>
     382<%
    377383            }  // canConfigure
    378384        }  // for client
Note: See TracChangeset for help on using the changeset viewer.