From 9fe65ff02dc6a9ea47b833629c02a4a43c98e5b6 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 16 Feb 2011 19:06:21 +0100 Subject: [PATCH 1/1] added only_increment checkbox --- lib/BackupPC/CGI/Browse.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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}}"); -- 2.20.1