Add head content

master
Heuzef 5 years ago
parent 23018a6d5a
commit 1aded7a278
  1. 9
      Check.pm

@ -31,7 +31,7 @@ sub action
{ {
# Init # Init
my($fullTot, $fullSizeTot, $incrTot, $incrSizeTot, $str, my($fullTot, $fullSizeTot, $incrTot, $incrSizeTot, $str,
$strNone, $strGood, $hostCntGood, $hostCntNone); $strNone, $strGood, $hostCntGood, $hostCntNone, $head_content);
$hostCntGood = $hostCntNone = 0; $hostCntGood = $hostCntNone = 0;
GetStatusInfo("hosts info"); GetStatusInfo("hosts info");
@ -250,8 +250,13 @@ EOF
my $DUmaxTime = timeStamp2($Info{DUDailyMaxTime}); my $DUmaxTime = timeStamp2($Info{DUDailyMaxTime});
my $DUInodemaxTime = timeStamp2($Info{DUInodeDailyMaxTime}); my $DUInodemaxTime = timeStamp2($Info{DUInodeDailyMaxTime});
# Show header
$head_content = <<EOF;
New header content
EOF
my $content = eval ("qq{$Lang->{BackupPC_Check}}"); my $content = eval ("qq{$Lang->{BackupPC_Check}}");
Header("BackupPC: Check", $content); Header("BackupPC: Check", $head_content ,$content);
Trailer(); Trailer();
} }

Loading…
Cancel
Save