From abb52331a5fe1325f81979e49f9209ace4a8ee7d Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Sun, 21 Feb 2016 14:04:41 +0000 Subject: [PATCH] /configfamily tweaks --- apps/routerconsole/jsp/configfamily.jsp | 26 ++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/apps/routerconsole/jsp/configfamily.jsp b/apps/routerconsole/jsp/configfamily.jsp index 7a4ddb03d9..119239098d 100644 --- a/apps/routerconsole/jsp/configfamily.jsp +++ b/apps/routerconsole/jsp/configfamily.jsp @@ -21,8 +21,8 @@ <%@include file="formhandler.jsi" %> <p><%=intl._t("Routers in the same family share a family key.")%> -<%=intl._t("To start a new family, enter a family name.")%> <%=intl._t("To join an existing family, import the private key you exported from a router in the family.")%> +<%=intl._t("To start a new family, enter a family name.")%> </p> <% @@ -30,26 +30,26 @@ if (family.length() <= 0) { // no family yet %> -<div class="configure"><form action="" method="POST"> -<input type="hidden" name="nonce" value="<%=pageNonce%>" > -<h3><%=intl._t("Create Router Family")%></h3> -<p><%=intl._t("Family Name")%> : -<input name="family" type="text" size="30" value="" /> -</p> -<div class="formaction"> -<input type="submit" name="action" class="accept" value="<%=intl._t("Create Router Family")%>" /> -</div></form></div> - <div class="configure"> <form action="" method="POST" enctype="multipart/form-data" accept-charset="UTF-8"> <input type="hidden" name="nonce" value="<%=pageNonce%>" > -<h3><%=intl._t("Join Router Family")%></h3> +<h3><%=intl._t("Join Existing Router Family")%></h3> <p><%=intl._t("Import the secret family key that you exported from an existing router in the family.")%> <p><%=intl._t("Select secret key file")%> : <input name="file" type="file" value="" /> </p> <div class="formaction"> -<input type="submit" name="action" class="download" value="<%=intl._t("Join Router Family")%>" /> +<input type="submit" name="action" class="download" value="<%=intl._t("Join Existing Router Family")%>" /> +</div></form></div> + +<div class="configure"><form action="" method="POST"> +<input type="hidden" name="nonce" value="<%=pageNonce%>" > +<h3><%=intl._t("Create New Router Family")%></h3> +<p><%=intl._t("Family Name")%> : +<input name="family" type="text" size="30" value="" /> +</p> +<div class="formaction"> +<input type="submit" name="action" class="accept" value="<%=intl._t("Create New Router Family")%>" /> </div></form></div> <% } else { -- GitLab