#
#========================================================================
#
-# Version 2.0.0_CVS, released 18 Jan 2003.
+# Version 2.0.0_CVS, released 3 Feb 2003.
#
# See http://backuppc.sourceforge.net.
#
# Loop over each of the files in this directory
#
foreach my $f ( sort(keys(%$attr)) ) {
- my($dirOpen, $gotDir, $imgStr, $img);
+ my($dirOpen, $gotDir, $imgStr, $img, $path);
my $fURI = $f; # URI escaped $f
my $shareURI = $share; # URI escaped $share
- (my $path = "$relDir/$f") =~ s{//+}{/}g;
+ if ( $relDir eq "" ) {
+ $path = $f;
+ } else {
+ ($path = "$relDir/$f") =~ s{//+}{/}g;
+ }
if ( $shareURI eq "" ) {
$shareURI = $path;
$path = "/";
$jobStr .= "</tr>\n";
}
foreach my $host ( sort(keys(%Status)) ) {
- next if ( $Status{$host}{reason} ne "Reason_backup_failed" );
+ next if ( $Status{$host}{reason} ne "Reason_backup_failed"
+ || $Status{$host}{error} =~ /^Can't find host \Q$host/ );
my $startTime = timeStamp2($Status{$host}{startTime});
my($errorTime, $XferViewStr);
if ( $Status{$host}{errorTime} > 0 ) {
}
Header($Lang->{H_BackupPC_Server_Status});
- #Header("H_BackupPC_Server_Status");
print (eval ("qq{$Lang->{BackupPC_Server_Status}}"));
-
- #Header($Lang->{BackupPC_Server_Status});
-
- #my $trans_text = $Lang->{BackupPC_Server_Status};
- #print eval ("qq{$trans_text}");
Trailer();
}