diff --git a/monitorix.cgi b/monitorix.cgi
index a0dc025..8f916af 100755
--- a/monitorix.cgi
+++ b/monitorix.cgi
@@ -496,18 +496,14 @@ EOF
}
if(($val ne "all" || $val ne "group") && $mode ne "multihost") {
- push(@output, "
\n");
- push(@output, " Host: \n");
- push(@output, " | \n");
+ push(@output, " Host: | \n");
}
if($val =~ m/group(\d+)/) {
my $gnum = $1;
my $gname = (split(',', $config{multihost}->{remotegroup_list}))[$gnum];
$gname = trim($gname);
- push(@output, " \n");
- push(@output, " $gname \n");
- push(@output, " | \n");
+ push(@output, " $gname \n");
}
push(@output, " | \n");
@@ -536,14 +532,12 @@ EOF
if($mode ne "multihost" || $graph ne "all" || $val eq "all") {
print @output;
- print(" $title \n");
+ print(" $title \n");
print(" | \n");
- print(" \n");
- print(" last $twhen \n");
- print(" | \n");
+ print(" last $twhen | \n");
print(" \n");
print(" \n");
- print encode('utf-8', " " . strftime("%a %b %e %H:%M:%S %Z %Y", localtime) . "
\n");
+ print encode('utf-8', " " . strftime("%a %b %e %H:%M:%S %Z %Y", localtime) . "
\n");
}
}