From 9ce54d803fd5fb9f180916280fdb183e84cece75 Mon Sep 17 00:00:00 2001
From: z3d <z3d@mail.i2p>
Date: Sun, 19 Sep 2010 17:05:11 +0000
Subject: [PATCH] I2PSnark: show/hide peer icons.

---
 .../src/org/klomp/snark/web/I2PSnarkServlet.java  |   4 ++--
 .../themes/console/snark/images/hidepeers.png     | Bin 0 -> 921 bytes
 .../themes/console/snark/images/showpeers.png     | Bin 0 -> 920 bytes
 3 files changed, 2 insertions(+), 2 deletions(-)
 create mode 100644 installer/resources/themes/console/snark/images/hidepeers.png
 create mode 100644 installer/resources/themes/console/snark/images/showpeers.png

diff --git a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java
index 678674fc58..921d1f89bb 100644
--- a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java
+++ b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java
@@ -243,10 +243,10 @@ public class I2PSnarkServlet extends Default {
             out.write(req.getRequestURI());
             if (peerParam != null) {
                 out.write("\">");
-                out.write(_("Hide Peers"));
+                out.write(_("<img border=\"0\" src=\"/themes/console/snark/images/hidepeers.png\" title=\"Hide Peers\">"));
             } else {
                 out.write("?p=1\">");
-                out.write(_("Show Peers"));
+                out.write(_("<img border=\"0\" src=\"/themes/console/snark/images/showpeers.png\" title=\"Show Peers\">"));
             }
             out.write("</a><br>\n");
         }
diff --git a/installer/resources/themes/console/snark/images/hidepeers.png b/installer/resources/themes/console/snark/images/hidepeers.png
new file mode 100644
index 0000000000000000000000000000000000000000..18050ddf2b5b224eb66ed69e2b00725288805f4b
GIT binary patch
literal 921
zcmV;K17`e*P)<h;3K|Lk000e1NJLTq000~S000aK1^@s6aogPw00009a7bBm000id
z000id0mpBsWB>pIOG!jQRCt_iQ*B67VH7^^-Q34@v+d?hiWW9Uf|(R0*@qRDK_5gV
z6&MNG2Srl-$Y0eo2v!K$uZj?gA}X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Xu0mjf%nGgY

literal 0
HcmV?d00001

diff --git a/installer/resources/themes/console/snark/images/showpeers.png b/installer/resources/themes/console/snark/images/showpeers.png
new file mode 100644
index 0000000000000000000000000000000000000000..8050024fa700190f97afe0b3eacaeca777a5fe82
GIT binary patch
literal 920
zcmV;J184k+P)<h;3K|Lk000e1NJLTq000~S000aK1^@s6aogPw00009a7bBm000id
z000id0mpBsWB>pIN=ZaPRCt_ilxs+nQ5eUc^Dft#+uAe}v_^Kps6ihR$_(jZbPqAg
zFw9~Q6;YoSL@}52!BQ&9K_4oM%#sKT6X^nyLxZ9V8PN^85#>s|tVZ*_JpK1>bFO^h
zfA+jP=RCjj{LeYBpwwr2jy1=lYHEqB%65%4vYM>#!b<o;|L=Z3`hN`{%*1&_$|)jg
zBHnt543&aJSnu<312HcqLEngkSNO#3;d7;|^sJ*!yEAmQw2_0JKIUpoSMT;G>?!gn
z8DlaA3<krRRG`uhaZ>WpIIM!b+F&9F;)g?^XaiW|qP&G$U+sKpshU+qS>~*vq^|KU
zI$Uzd@OaxJhtujj59o$rOna(9A~A6WDoab2Lm61as0469t~Ix;xvbe7mcvwgua;&v
z70{%Uc{IU4kycz=Nv$th31g_o-EFfOZ6`2iLcGR1Xyka>pHQ0~8R$IP_em?neORjK
zakeG9JFumTJF7a`neF5Qdk^sY%D2pt!m4eM@7DBid1*NpO)cX7Jzu$Dc|%Ad$)B`U
z-3L4Sp;ak%*YGS@`5cyBL3PF<55}3t4YXHWcdTn$Pd9Jer2I?Mh-x|2sV0d|htE*`
z{(1^jb&<cm;YT%lAIDQ8nQ$R^NG_2<b3`tUr9QGz5UZI2eS?n!@v+aOKk^@~vUL+R
zU2dZM+<c;AG1y94P1WR!joYD-d$XIIGo4h{vKCpUyuoB^Oj5dTVl+0e1v_U1ARQp|
zAr>@7k9A>erYW-oM_&m90?as^i4!-O@_0Edi@n2Mjxf93Znl|h(beW8EseNfYmi2G
zVCP--s-FKk%w}^(K|z7aUjbaIa_UiscB`z&3Y$!(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