Changeset a5e4d586


Ignore:
Timestamp:
Aug 11, 2013 11:26:40 AM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d846633
Parents:
28a1c224
Message:

dont display jump server msg if we dont know any

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java

    r28a1c224 ra5e4d586  
    11821182                }
    11831183                if(jumpServers != null && jumpServers.length() > 0) {
    1184                     out.write("<br><br>".getBytes());
    1185                     out.write(_("Click a link below to look for an address helper by using a \"jump\" service:").getBytes("UTF-8"));
    1186                     out.write("<br>\n".getBytes());
    1187 
     1184                    boolean first = true;
    11881185                    if(uri.startsWith("http://")) {
    11891186                        uri = uri.substring(7);
     
    12141211                        }
    12151212
     1213                        if (first) {
     1214                            first = false;
     1215                            out.write("<br><br>".getBytes());
     1216                            out.write(_("Click a link below to look for an address helper by using a \"jump\" service:").getBytes("UTF-8"));
     1217                            out.write("<br>\n".getBytes());
     1218                        }
    12161219                        out.write("<br><a href=\"".getBytes());
    12171220                        out.write(jurl.getBytes());
Note: See TracChangeset for help on using the changeset viewer.