Changeset 51ba6c1


Ignore:
Timestamp:
Dec 6, 2010 1:15:43 PM (10 years ago)
Author:
z3d <z3d@…>
Branches:
master
Children:
e7426f7
Parents:
6749931
Message:

I2PSnark resolutions.

Files:
6 added
1 edited

Legend:

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

    r6749931 r51ba6c1  
    351351            out.write("\"> ");
    352352            out.write("&nbsp;");
    353             out.write(ngettext("1 torrent", "{0} torrents", snarks.size()));
    354             out.write(", ");
    355             out.write(DataHelper.formatSize2(stats[5]) + "B, ");
    356             out.write(ngettext("1 connected peer", "{0} connected peers", (int) stats[4]));
     353//            out.write(ngettext("1 connected peer", "{0} connected peers", (int) stats[4]));
     354
     355            out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_peers.png\">");
     356            out.write(ngettext("1", "{0}", (int) stats[4]));
     357            out.write("&nbsp;&nbsp;");
     358//            out.write(ngettext("1 torrent", "{0} torrents", snarks.size()));
     359            out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_snarks.png\">");
     360            out.write(ngettext("1", "{0}", snarks.size()));
     361            out.write("&nbsp;&nbsp;");
     362            out.write("<img border=\"0\" src=\"/themes/snark/" + _manager.getTheme() + "/images/head_loaded.png\">");
     363            out.write(DataHelper.formatSize2(stats[5]) + "B");
    357364            out.write("</th>\n" +
    358365                      "    <th>&nbsp;</th>\n" +
Note: See TracChangeset for help on using the changeset viewer.