Changeset 2a922098


Ignore:
Timestamp:
Dec 16, 2005 4:01:05 AM (15 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7726bd1
Parents:
3ec92c8
git-author:
jrandom <jrandom> (12/16/05 04:01:05)
git-committer:
zzz <zzz@…> (12/16/05 04:01:05)
Message:

refresh link (good idea Complication)

Location:
apps/i2psnark/java/src/org/klomp/snark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2psnark/java/src/org/klomp/snark/SnarkManager.java

    r3ec92c8 r2a922098  
    344344        long len = snark.meta.getTotalLength();
    345345        addMessage("Download complete of " + f.getName()
    346                    + (len < 5*1024*1024 ? " (size: " + (len/1024) + "KB)" : " (size: " + (len/1024*1024) + "MB)"));
     346                   + (len < 5*1024*1024 ? " (size: " + (len/1024) + "KB)" : " (size: " + (len/(1024*1024l)) + "MB)"));
    347347    }
    348348   
  • apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java

    r3ec92c8 r2a922098  
    5454        out.write("<meta http-equiv=\"refresh\" content=\"60;" + req.getRequestURI() + "\">\n");
    5555        out.write(HEADER);
     56        out.write("<a href=\"" + req.getRequestURI() + "\">Refresh</a>\n");
    5657        out.write("<textarea class=\"snarkMessages\" rows=\"2\" cols=\"100\" wrap=\"off\" >");
    5758        List msgs = _manager.getMessages();
Note: See TracChangeset for help on using the changeset viewer.