reorder things on status page
This commit is contained in:
@ -32,15 +32,15 @@
|
|||||||
<b>UDP Announce Support:</b> <%=udp ? "yes" : "no"%><br>
|
<b>UDP Announce Support:</b> <%=udp ? "yes" : "no"%><br>
|
||||||
<%
|
<%
|
||||||
if (udp) {
|
if (udp) {
|
||||||
int port = ZzzOTController.udpPort();
|
|
||||||
if (host != null) {
|
|
||||||
%>
|
|
||||||
<b>UDP Announce URL:</b> <a href="udp://<%=host%>:<%=port%>/"</a>udp://<%=host%>:<%=port%>/</a><br>
|
|
||||||
<%
|
|
||||||
}
|
|
||||||
%>
|
%>
|
||||||
<b>UDP Connection Lifetime:</b> <%=torrents.getUDPLifetime() / 60%> minutes<br>
|
<b>UDP Connection Lifetime:</b> <%=torrents.getUDPLifetime() / 60%> minutes<br>
|
||||||
<%
|
<%
|
||||||
|
if (host != null) {
|
||||||
|
int port = ZzzOTController.udpPort();
|
||||||
|
%>
|
||||||
|
<b>UDP Announce URL:</b> <a href="udp://<%=host%>:<%=port%>/"</a>udp://<%=host%>:<%=port%>/</a><br>
|
||||||
|
<%
|
||||||
|
}
|
||||||
}
|
}
|
||||||
%>
|
%>
|
||||||
</p>
|
</p>
|
||||||
|
Reference in New Issue
Block a user