X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=lib%2FBackupPC%2FCGI%2FBrowse.pm;fp=lib%2FBackupPC%2FCGI%2FBrowse.pm;h=33c525df99440adeb3e26f396b9267899eba0dce;hp=014ef9e74b1c7040c1cfaaa92dfd4f55aa21eba6;hb=9fe65ff02dc6a9ea47b833629c02a4a43c98e5b6;hpb=c43f8e0668467cbdb70868253e83caea1e5e5e92 diff --git a/lib/BackupPC/CGI/Browse.pm b/lib/BackupPC/CGI/Browse.pm index 014ef9e..33c525d 100644 --- a/lib/BackupPC/CGI/Browse.pm +++ b/lib/BackupPC/CGI/Browse.pm @@ -162,7 +162,7 @@ sub action push(@DirStr, {needTick => 1, tdArgs => " class=\"$tdStyle\"", link => <$imgStr $dirName +$imgStr $dirName EOF $fileCnt++; $gotDir = 1; @@ -297,10 +297,15 @@ EOF my $showDate = timeStamp2($Backups[$i]{startTime}); my $backupNum = $Backups[$i]{num}; $selected = " selected" if ( $backupNum == $num ); - $otherDirs .= "\n"; + $otherDirs .= "\n"; } $filledBackup .= eval("qq{$Lang->{Visit_this_directory_in_backup}}"); } + + # XXX ASA + my $checked = $In{only_increment} ? ' checked' : ''; + $filledBackup .= "
  • show only this increment"; + $dir = decode_utf8($dir); $share = decode_utf8($share); my $content = eval("qq{$Lang->{Backup_browse_for__host}}");