{tdArgs}>$d->{link}\n";
@@ -273,14 +296,22 @@ EOF
$pathURI =~ s/([^\w.\/-])/uc sprintf("%%%02x", ord($1))/eg;
$shareURI =~ s/([^\w.\/-])/uc sprintf("%%%02x", ord($1))/eg;
foreach my $i ( $view->backupList($share, $dir) ) {
- push(@otherDirs, "$i");
+ push(@otherDirs, $i);
}
if ( @otherDirs ) {
my $otherDirs = join(",\n", @otherDirs);
+ my $inc = 0;
+ foreach my $value (@otherDirs) {
+ my $selected = undef;
+ my $showDate = timeStamp2($Backups[$inc]{startTime});
+ $selected = " selected" if ($value == $num);
+ $otherDirs .= "\n";
+ $inc++;
+ }
$filledBackup .= eval("qq{$Lang->{Visit_this_directory_in_backup}}");
}
- print (eval("qq{$Lang->{Backup_browse_for__host}}"));
+ my $content = eval("qq{$Lang->{Backup_browse_for__host}}");
+ Header(eval("qq{$Lang->{Browse_backup__num_for__host}}"), $content);
Trailer();
}
|