I2PSnark: show/hide peer icons.
This commit is contained in:
@ -243,10 +243,10 @@ public class I2PSnarkServlet extends Default {
|
|||||||
out.write(req.getRequestURI());
|
out.write(req.getRequestURI());
|
||||||
if (peerParam != null) {
|
if (peerParam != null) {
|
||||||
out.write("\">");
|
out.write("\">");
|
||||||
out.write(_("Hide Peers"));
|
out.write(_("<img border=\"0\" src=\"/themes/console/snark/images/hidepeers.png\" title=\"Hide Peers\">"));
|
||||||
} else {
|
} else {
|
||||||
out.write("?p=1\">");
|
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");
|
out.write("</a><br>\n");
|
||||||
}
|
}
|
||||||
|
BIN
installer/resources/themes/console/snark/images/hidepeers.png
Normal file
BIN
installer/resources/themes/console/snark/images/hidepeers.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 921 B |
BIN
installer/resources/themes/console/snark/images/showpeers.png
Normal file
BIN
installer/resources/themes/console/snark/images/showpeers.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 920 B |
Reference in New Issue
Block a user