- Simplify bw form

- Add config link to UPnP status
This commit is contained in:
zzz
2009-05-01 15:26:49 +00:00
parent 79a963fcab
commit 0e4c846942
4 changed files with 35 additions and 14 deletions

View File

@@ -403,7 +403,7 @@ public class UPnP extends ControlPoint implements DeviceChangeListener {
public String renderStatusHTML() {
final StringBuilder sb = new StringBuilder();
sb.append("<b>UPnP Status:</b><br />");
sb.append("<a name=\"upnp\"><b>UPnP Status:</b><br />");
if(isDisabled) {
sb.append("The plugin has been disabled; Do you have more than one UPnP Internet Gateway Device on your LAN ?");

View File

@@ -139,7 +139,7 @@ public class UPnPManager {
public String renderStatusHTML() {
if (!_isRunning)
return "<b>UPnP is not enabled</b>\n";
return "<a name=\"upnp\"><<b>UPnP is not enabled</b>\n";
return _upnp.renderStatusHTML();
}
}