<table style="fview" width="100%">
<tr>
<td class="tableheader">Host</td>
- <td class="tableheader">Type</td>
<td class="tableheader">Name</td>
- <td class="tableheader">backup no.</td>
- <td class="tableheader">size</td>
- <td class="tableheader">date</td>
+ <td class="tableheader">Type</td>
+ <td class="tableheader">#</td>
+ <td class="tableheader">Size</td>
+ <td class="tableheader">Date</td>
<td class="tableheader">Media</td>
</tr>
};
}
foreach $file (@files) {
- my $ftype = "file";
- $ftype = "dir" if ($file->{'type'} == BPC_FTYPE_DIR);
-
+ my $typeStr = BackupPC::Attrib::fileType2Text(undef, $file->{'type'});
$retHTML .= "<tr>";
foreach my $v ((
$file->{'hname'},
- $ftype,
- hilite_html( $file->{'fpath'}, $hilite ),
+ qq{<img src="$Conf{CgiImageDirURL}/icon-$typeStr.gif" align="center"> } . hilite_html( $file->{'fpath'}, $hilite ),
+ $typeStr,
$file->{'backupno'},
$file->{'size'},
$file->{'date'},