;------------- Report Window ------------

[ReportWindow]
props           = $DlgAttr at(resizable,minimizable,dragable) sz(520,400,645,485) h(1079)
Content         = [Report_Content]
Help            = t(hotlink) f(Hotlink_white) i(help) a(lb) xy(0,4) v(help)
ViewReportsList = t(hotlink) f(Hotlink_white) i(i16) xy(10,4) a(ab) v(report:Protection.Reports)
Back            = t(hotlink) f(Hotlink_white) xy(20,5) a(ab)
Next            = t(hotlink) f(Hotlink_white) xy(7,5) a(ab)
Close           = $Button_Medium a(rb)
SaveAs          = $Button_Medium a(pb) xy($Button_Shift)

[Report_Content]
props=sz(p,p) xy(,,,$DialogPanelSizeY) bg(GroupBody)
State=[Task_Report_Header]
Body=[Report_Body]

$StatOffsetY=7
$StatSizeX=160
$StatSizeY=50

$StatTop=a(lt) xy(90,$StatOffsetY) sz(380,$StatSizeY) rs(100,0)
$StatLeft=a(la) xy(90,$StatOffsetY) sz($StatSizeX,a) rs(0,0)
$StatRight=a(as) xy(30,0) sz(p,a) rs(0,0)
$StatValOffsetX=80
$StatValTop=xy($StatValOffsetX) sz(p,0)
$StatValLeft=t(value) $Static_Shift sz($StatSizeX,0) va(l,r)
$StatValRight=t(value) $Static_Shift sep(80)

$ReportDetails=xy(0,130) sz(p,p) mg(7,7)
$ReportProgress=t(progress) a(la) xy(0,4) sz(380,14)
$ReportSelector=$Checkbox a(ab) xy(,,$Button_Shift,5) at(invert,rememberdata) v(0)
$ReportSelectorDefOff=$Checkbox a(ab) xy(,,$Button_Shift,5) at(invert,rememberdata) v(1)
$ReportActions=$Button_Medium a(rb) xy(,,,5) v(menu:EventsLog)

[Report_Body]
props            = a(la) sz(p,p) at(body) mg(7,7)
TaskImage        = sz(80,100) xy(10,10) text($(state,Report_TaskImage)$(type,TaskTypeIcon)) disable($($IsTaskActive,EnableIfNotZero))

StatisticsRun    = [Report_Body.StatisticsRun.antihacker]    usefor($(type,=,antihacker))
StatisticsRun    = [Report_Body.StatisticsRun.antispam]      usefor($(type,=,antispam))
StatisticsRun    = [Report_Body.StatisticsRun.ods]           usefor($(type,=,ods))
StatisticsRun    = [Report_Body.StatisticsRun.antispy]       usefor($(type,=,antispy))
StatisticsRun    = [Report_Body.StatisticsRun.updater]       usefor($(type,=,updater))
StatisticsRun    = [Report_Body.StatisticsRun.retran]        usefor($(type,=,retran))
StatisticsRun    = [Report_Body.StatisticsRun.rollback]      usefor($(type,=,rollback))
StatisticsRun    = [Report_Body.StatisticsRun]

StatisticsResult = [Report_Body.StatisticsResult.antihacker] usefor($(type,=,antihacker))
StatisticsResult = [Report_Body.StatisticsResult.antispam]   usefor($(type,=,antispam))
StatisticsResult = [Report_Body.StatisticsResult.antispy]    usefor($(type,=,antispy))
StatisticsResult = [Report_Body.StatisticsResult.updater]    usefor($(type,=,updater))
StatisticsResult = [Report_Body.StatisticsResult.retran]     usefor($(type,=,retran))
StatisticsResult = [Report_Body.StatisticsResult.rollback]   usefor($(type,=,rollback))
StatisticsResult = [Report_Body.StatisticsResult]

StatisticsLeft   = [Report_Body.StatisticsLeft.Protection]   usefor($(name,=,Protection))
StatisticsLeft   = [Report_Body.StatisticsLeft.antihacker]   usefor($(type,=,antihacker))
StatisticsLeft   = [Report_Body.StatisticsLeft.antispam]     usefor($(type,=,antispam))
StatisticsLeft   = [Report_Body.StatisticsLeft.bb]           usefor($(type,=,bb))
StatisticsLeft   = [Report_Body.StatisticsLeft.bb2]          usefor($(type,=,bb2))
StatisticsLeft   = [Report_Body.StatisticsLeft.mc]           usefor($(type,=,mc))
StatisticsLeft   = [Report_Body.StatisticsLeft.wm]           usefor($(type,=,wm))
StatisticsLeft   = [Report_Body.StatisticsLeft.antispy]      usefor($(type,=,antispy))
StatisticsLeft   = [Report_Body.StatisticsLeft.updater]      usefor($(type,=,updater))
StatisticsLeft   = [Report_Body.StatisticsLeft.retran]       usefor($(type,=,retran))
StatisticsLeft   = [Report_Body.StatisticsLeft.rollback]     usefor($(type,=,rollback))
StatisticsLeft   = [Report_Body.StatisticsLeft]

StatisticsRight  = [Report_Body.StatisticsRight]

ReportDetails    = [Report_Body.ReportDetails.Protection]    usefor($(name,=,Protection))
ReportDetails    = [Report_Body.ReportDetails.antihacker]    usefor($(type,=,antihacker))
ReportDetails    = [Report_Body.ReportDetails.antispam]      usefor($(type,=,antispam))
ReportDetails    = [Report_Body.ReportDetails.bb]            usefor($(type,=,bb))
ReportDetails    = [Report_Body.ReportDetails.bb2]           usefor($(type,=,bb2))
ReportDetails    = [Report_Body.ReportDetails.mc]            usefor($(type,=,mc))
ReportDetails    = [Report_Body.ReportDetails.oas]           usefor($(type,=,oas))
ReportDetails    = [Report_Body.ReportDetails.wm]            usefor($(type,=,wm))
ReportDetails    = [Report_Body.ReportDetails.qs]            usefor($(type,=,qs))
ReportDetails    = [Report_Body.ReportDetails.antispy]       usefor($(type,=,antispy))
ReportDetails    = [Report_Body.ReportDetails.updater]       usefor($(type,=,updater))
ReportDetails    = [Report_Body.ReportDetails.retran]        usefor($(type,=,retran))
ReportDetails    = [Report_Body.ReportDetails.rollback]      usefor($(type,=,rollback))
ReportDetails    = [Report_Body.ReportDetails]

[Report_Body.StatisticsRun]
props      = $StatTop b(Footer_Border)
Status     = xy(,10)

[Report_Body.StatisticsResult]
props      = $StatTop b(Footer_Border)
Status     = xy(,10)

[Report_Body.StatisticsLeft]
props      = $StatLeft
Scanned    = a(lt) $StatValLeft v($(NumScaned))
Detected   = a(la) $StatValLeft $Detected
Untreated  = a(la) $StatValLeft $Untreated
;LastObject= a(la) $StatValLeft v($(CurObject,Last_Scanned_None))

[Report_Body.StatisticsRight]
props      = $StatRight
StartTime  = a(lt) $StatValRight v($(StartTime,datetime))
Duration   = a(la) $StatValRight v($(DurationTime,timestamp))
FinishTime = a(la) $StatValRight v($(FinishTime,datetime)) hide($(persistent,ShowFinishTime_Persistent,ShowIfNotZero))

[Report_Body.ReportDetails]
props      = $Tab $ReportDetails
Threats    = [Task_Report_Detected]
Events     = [Task_Report]
Objects    = [Scan_Objects_List]
Settings   = [Task_Report_Settings]

[Task_Report]
props      = h(1208)
ReportSelector = $ReportSelector hide($(eventsDeleted,ShowIfZero))
Oops       = a(ab) xy(,4,$Button_Shift,5) hide($(eventsDeleted,ShowIfNotZero))
Actions    = $ReportActions v(menu:EventsLog)
EventsLog  = [Task_Report.EventsLog] a(lp) sz(p,p)

[Task_Report.EventsLog]
props=t(list) at(sorted,autoscroll) alias(taskreport) v(eventlog,eventcritlog)
ReportTime=sz(135)v($(ReportTime,datetime)) at(index)
ObjectName=sz(p,50)v($(TaskType,Task_Report_ObjectName))
ObjectStatus=sz(80)v($(ObjectStatus,Task_Report_ObjectStatus))
Reason=sz(65)v($(ObjectStatus,Task_Report_Description))
UserName    =sz(p,15) v($(UserName))    usefor($($IsNTBasedOS)) usefor($IsOAS)
MachineName =sz(p,15) v($(MachineName)) usefor($($IsNTBasedOS)) usefor($IsOAS)

[Task_Report.EventsLog.menu]
props         = t(menu)
AddToExclude  = $AddToExcludeMenuItem
GotoFile      = $GotoFileMenuItem
Separator     = t(menuitem)
ViewOnWeb     = $ViewOnWebMenuItem
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

[Task_Report_Detected]
props=alias(tasktreats) h(1207)
ThreatsList=[Task_Report_Detected.ThreatsList]
ShowTreated=$Checkbox a(lb) v(1) at(rememberdata) hide($(type,=,bb,!,ShowIfNotZero))
ThreatsProcessing=[Task_Report_Threats_Processing]
ThreatsActions=[Task_Report_Threats_Actions]

[Task_Report_Detected.ThreatsList]
props        = t(list)  at(sorted) sz(p,p) xy(,,,$ButtonsLineSizeY)
ObjectStatus = sz(p,50) v($(ObjectStatus,Task_Report_TreatStatus))
ObjectName   = sz(p,50) v($(TaskType,Task_Report_ObjectName))
UserName     = sz(p,15) v($(UserName))    usefor($($IsNTBasedOS)) usefor($IsOAS)
MachineName  = sz(p,15) v($(MachineName)) usefor($($IsNTBasedOS)) usefor($IsOAS)

[Task_Report_Threats_Actions]
props=a(ab) sz(p,23) rs(100,0)
TreatAll=$Button_Medium a(rb) at(disable)
;DiscardAll=$Button_Medium a(pb) at(disable) xy($Button_Shift)
Actions=$Button_Medium a(pb) xy($Button_Shift) v(menu:ThreatsList)

[Task_Report_Threats_Processing]
props=a(ab) sz(p,23) rs(100,0) at(hide)
Stop=$Button a(rb)
Progress=t(progress) a(pb) xy(10,6,10) sz(p,10)

[Scan_Objects_List]
props=h(1209)
Objects=[Scan_Objects_List.Objects]

[Scan_Objects_List.Objects]
props                  = t(list) alias(taskobjstat) sz(p,p)
Object                 = v($(strName)) sz(p,30)            text($SOLO_Object)
SOLO_Scanned           = v($(NumScaned))                   text($SOLO_Scanned)
SOLO_Threats           = v($(NumThreats))                  text($SOLO_Threats)
SOLO_Untreated         = v($(NumUntreated)) usefor($(type,=,mc,!)) text($SOLO_Untreated)
SOLO_Triggered         = at(hide) v($(NumDetected))        text($SOLO_Triggered)
SOLO_Disinfected       = at(hide) v($(NumDisinfected))     text($SOLO_Disinfected)
SOLO_Deleted           = v($(NumDeleted))                  text($SOLO_Deleted)
SOLO_Quarantined       = v($(NumQuarantined))              text($SOLO_Quarantined)
SOLO_Archived          = v($(NumArchived))                 text($SOLO_Archived)
SOLO_Packed            = v($(NumPacked))                   text($SOLO_Packed)
SOLO_PasswordProtected = v($(NumPswProtected))             text($SOLO_PasswordProtected)
SOLO_Corrupted         = v($(NumCorrupted))                text($SOLO_Corrupted)
SOLO_ScanErrors        = at(hide) v($(NumScanErrors))      text($SOLO_ScanErrors)

[Task_Report_Settings]
props                = h(1210)
_Settings            = t(hotlink) f(Hotlink) a(rb) xy(,,,5) v(configure:$(origin,ReportSettingsLink)) disable($(type,EnableReportSettingsLink)) usefor($IsLocalTask)
ShutdownWhenFinished = $Checkbox a(lb) xy(,,,7) disable($(state,ShutdownWhenFinished_Show_TaskState)) v($(EnableStopMode)) usefor($IsLocalOdsTask)
ABS                  = $CheckBox a(lp) xy(,,,7) disable($(state,ShutdownWhenFinished_Show_TaskState)) v($(ABSNumber)) usefor($IsLocalOdsTask)
SettingsList         = [Task_Settings_List] sz(p,p) a(lp)

[Task_Settings_List]
props=t(list) alias(tasksettings) at(readonly)
Name=sz(p,50)v(i(info))
Value=sz(p,50)

[Task_Report_Detected.ThreatsList.menu]
props         = t(menu)
Treat         = $ActionOnObjectMenuItem at(default,nobindhide)
Delete        = $ActionOnObjectMenuItem	at(nobindhide)
AddToExclude  = $AddToExcludeMenuItem
GotoFile      = $GotoFileMenuItem
Discard       = t(menuitem)	at(nobindhide) text($(ObjectStatus,Dummy))
Separator     = t(menuitem)
TreatAll      = t(menuitem)
DiscardAll    = t(menuitem)
Separator     = t(menuitem)
ViewOnWeb     = $ViewOnWebMenuItem

[SettingsView_ProtLevelCustom]
props=sz(a,a) hide($(level,ShowLevel_Custom))
HeaderText=f(Bold)

;------------- Report Export Dialog ------------

[ReportExportDialog]
props=$DlgAttr sz(300,a) at(nohelp)
Body=[ReportExportDialog_Body]

[ReportExportDialog_Body]
props=$DlgBodyAttr sz(p,a)
Saving=
Completion=t(progress) a(la) xy(0,4) sz(p,16)

;------------- reports -----------

[Reports]
props=alias(repsview)
ReportsList=[Reports.ReportsList]
History=$Checkbox a(lb) at(rememberdata)
TaskDetails=$Button_Medium at(default) a(rb)

[Reports.ReportsList]
props=t(list) at(singlesel,sorted) xy(,,,$ButtonsLineSizeY) sz(p,p)
TaskName=sz(p,30)v($(state,TaskStateIcon)$ProfileDescription)
TaskStatus=sz(p,14)v($(state,ProfileState))
TaskStart=sz(120)v($(StartTime,datetime)) at(index)
TaskFinish=sz(120)v($(FinishTime,TaskTime_Valid)) sorted($(FinishTime))
DataSize=sz(p,10)v($(ReportSize,filesize))

;------------- quarantine -----------

[Quarantine]
props=alias(filesview)
FilesList=[Quarantine.FilesList]
Delete=$Button_Medium a(lb)
Restore=$Button_Medium a(ab) xy($Button_Shift)
Add=$Button_Medium a(ab) xy($Button_Shift)
Scan=$Button_Medium a(rb)

[Quarantine.FilesList]
props=t(list) at(sorted) xy(,,,$ButtonsLineSizeY) sz(p,p) tt($QBObjectDescription)
Status=sz(p,19)v($QBObjectStatus)
Object=sz(p,50)v($(ObjectName))
Size=sz(p,10)v($(ObjectSize,filesize))
Time=sz(120)v($(ReportTime,datetime))

[Quarantine.FilesList.menu]
props        =t(menu)
Delete       =t(menuitem)
Restore      =t(menuitem)
Send         =t(menuitem) usefor($(ProductType,env,=,wks,!)) disable($(SendToKL,bindok,EnableIfNotZero)$($IsFunctionalityLevel_Protection,EnableIfNotZero))
ScanSelected =t(menuitem) at(default)
Separator    =t(menuitem)
Add          =t(menuitem)

;------------- backup -----------

[Backup]
props=alias(filesview)
FilesList=[Backup.FilesList]
Delete=$Button_Medium a(lb)
Restore=$Button_Medium a(ab) xy($Button_Shift)

[Backup.FilesList]
props=t(list) at(sorted) xy(,,,$ButtonsLineSizeY) sz(p,p) tt($QBObjectDescription)
Status=sz(p,40)v($QBObjectStatus)
Object=sz(p,50)v($(ObjectName))
Size=sz(p,10)v($(ObjectSize,filesize))
Time=at(hide)v($(ReportTime,datetime)) at(index)

[Backup.FilesList.menu]
props=t(menu)
Delete=t(menuitem)
Restore=t(menuitem) at(default)
