diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java index a5c6506391aa82cd5572dfb2f87f3a96a5b48698..d460775a0af10eddea0c4a75dd47e5ae5248a07f 100644 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java +++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java @@ -1559,15 +1559,15 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn String header = getErrorPage("ahelper-new", ERR_AHELPER_NEW); out.write(header); out.write("<table id=\"proxyNewHost\">\n<tr><td align=\"right\">" + _t("Host") + - "</td><td>" + idn + "</td></tr>\n"); + ":</td><td>" + idn + "</td></tr>\n"); try { String b32 = Base32.encode(SHA256Generator.getInstance().calculateHash(Base64.decode(ahelperKey)).getData()); - out.write("<tr><td align=\"right\">" + _t("Base32") + "</td>" + + out.write("<tr><td align=\"right\">" + _t("Base32") + ":</td>" + "<td><a href=\"http://" + b32 + ".b32.i2p/\">" + b32 + ".b32.i2p</a></td></tr>"); } catch(Exception e) { } - out.write("<tr><td align=\"right\">" + _t("Destination") + "</td><td>" + - "<textarea rows=\"1\" style=\"height: 6em; min-width: 0; min-height: 0;\" cols=\"70\" wrap=\"off\" readonly=\"readonly\" >" + ahelperKey + "</textarea>" + + out.write("<tr><td align=\"right\">" + _t("Destination") + ":</td><td>" + + "<textarea rows=\"1\" style=\"height: 3em; min-width: 0; min-height: 0;\" cols=\"70\" wrap=\"off\" readonly=\"readonly\" >" + ahelperKey + "</textarea>" + "</td></tr>\n</table>\n" + "<hr>\n" + // FIXME if there is a query remaining it is lost