forked from I2P_Developers/i2p.i2p
i2psnark: Disable changing types for predefined trackers
This commit is contained in:
@ -2311,11 +2311,16 @@ public class I2PSnarkServlet extends BasicServlet {
|
|||||||
.append(announceURL).append("\"");
|
.append(announceURL).append("\"");
|
||||||
if (!(isOpen || isPrivate))
|
if (!(isOpen || isPrivate))
|
||||||
buf.append(" checked=\"checked\"");
|
buf.append(" checked=\"checked\"");
|
||||||
|
else if (t.announceURL.equals("http://tracker.welterde.i2p/a"))
|
||||||
|
buf.append(" disabled=\"disabled\"");
|
||||||
buf.append(">" +
|
buf.append(">" +
|
||||||
"</td><td><input type=\"radio\" class=\"optbox\" value=\"1\" name=\"ttype_")
|
"</td><td><input type=\"radio\" class=\"optbox\" value=\"1\" name=\"ttype_")
|
||||||
.append(announceURL).append("\"");
|
.append(announceURL).append("\"");
|
||||||
if (isOpen)
|
if (isOpen)
|
||||||
buf.append(" checked=\"checked\"");
|
buf.append(" checked=\"checked\"");
|
||||||
|
else if (t.announceURL.equals("http://diftracker.i2p/announce.php") ||
|
||||||
|
t.announceURL.equals("http://tracker2.postman.i2p/announce.php"))
|
||||||
|
buf.append(" disabled=\"disabled\"");
|
||||||
buf.append(">" +
|
buf.append(">" +
|
||||||
"</td><td><input type=\"radio\" class=\"optbox\" value=\"2\" name=\"ttype_")
|
"</td><td><input type=\"radio\" class=\"optbox\" value=\"2\" name=\"ttype_")
|
||||||
.append(announceURL).append("\"");
|
.append(announceURL).append("\"");
|
||||||
|
Reference in New Issue
Block a user