mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Fix columns when port is unknown
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3301613&group_id=17457
This commit is contained in:
@@ -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 ?
|
||||
|
||||
Reference in New Issue
Block a user