/[BackupPC]/trunk/lib/BackupPC/SearchLib.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/BackupPC/SearchLib.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by dpavlin, Mon Jul 11 14:58:54 2005 UTC revision 24 by dpavlin, Mon Jul 11 16:48:33 2005 UTC
# Line 280  sub displayGrid($$$$) { Line 280  sub displayGrid($$$$) {
280          <table style="fview" width="100%">          <table style="fview" width="100%">
281                  <tr>                  <tr>
282                  <td class="tableheader">Host</td>                  <td class="tableheader">Host</td>
                 <td class="tableheader">Type</td>  
283                  <td class="tableheader">Name</td>                  <td class="tableheader">Name</td>
284                  <td class="tableheader">backup no.</td>                  <td class="tableheader">Type</td>
285                  <td class="tableheader">size</td>                  <td class="tableheader">#</td>
286                  <td class="tableheader">date</td>                  <td class="tableheader">Size</td>
287                    <td class="tableheader">Date</td>
288                  <td class="tableheader">Media</td>                  <td class="tableheader">Media</td>
289                  </tr>                  </tr>
290          };          };
# Line 298  sub displayGrid($$$$) { Line 298  sub displayGrid($$$$) {
298          }          }
299    
300          foreach $file (@files) {          foreach $file (@files) {
301                  my $ftype = "file";                  my $typeStr  = BackupPC::Attrib::fileType2Text(undef, $file->{'type'});
                 $ftype = "dir" if ($file->{'type'} == BPC_FTYPE_DIR);  
   
302                  $retHTML .= "<tr>";                  $retHTML .= "<tr>";
303    
304                  foreach my $v ((                  foreach my $v ((
305                          $file->{'hname'},                          $file->{'hname'},
306                          $ftype,                          qq{<img src="$Conf{CgiImageDirURL}/icon-$typeStr.gif" align="center">&nbsp;} . hilite_html( $file->{'fpath'}, $hilite ),
307                          hilite_html( $file->{'fpath'}, $hilite ),                          $typeStr,
308                          $file->{'backupno'},                          $file->{'backupno'},
309                          $file->{'size'},                          $file->{'size'},
310                          $file->{'date'},                          $file->{'date'},

Legend:
Removed from v.20  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26