Fix columns when port is unknown

https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3301613&group_id=17457
This commit is contained in:
Jamie Cameron
2011-05-13 13:37:09 -07:00
parent dbfa03c93d
commit 0ee7d80ca4

View File

@@ -77,7 +77,6 @@ foreach $x (@conf) {
}
}
local @cols;
local @mytds = @tds;
push(@cols, "<a href='edit_serv.cgi?idx=$x->{'index'}'>".
&html_escape($x->{'value'})."</a>");
push(@cols, &indexof('RPC', @{$q->{'type'}}) < 0 ?
@@ -88,8 +87,7 @@ foreach $x (@conf) {
push(@cols, &html_escape(uc($s[3])));
}
else {
push(@cols, "<i>$text{'index_noport'}</i>");
push(@mytds, "", "", "colspan=2");
push(@cols, "<i>$text{'index_noport'}</i>", "");
}
push(@cols, $q->{'user'} ? &html_escape($q->{'user'}->[0]) : "");
push(@cols, &indexof('INTERNAL', @{$q->{'type'}}) >= 0 ?