;------------- file monitoring --------------

[File_Monitoring]
props=$Task_TreatsPanel
State=[Task_Header]
Body=[OAS_Body]

[OAS_Body]
props=$Task_Body
Description=[Task_Description]
Settings=[Task_Protection_Status]
Statistics=[File_Monitoring_Statistics]

[File_Monitoring_Statistics]
props      = $Task_Statistics
Scaned     = $Task_Statistics_Item v($(NumScaned))                   f($($ProfileActiveStateFont))
Detected   = $Task_Statistics_Item $Detected                         f($($ProfileActiveStateFont))
;Untreated = $Task_Statistics_Item $Untreated                        f($($ProfileActiveStateFont))
LastScaned = $Task_Statistics_Item v($(CurObject,Last_Scanned_None)) f($($ProfileActiveStateFont)) at(compresspath)

;------------- SettingsWindow.File_Monitoring -----------

[SettingsWindow.File_Monitoring]
props=$SettingsViewPanel h(1060)
Header=$SettingsViewHeader i(File)
Body=[SettingsWindow.File_Monitoring_Body]

[SettingsWindow.File_Monitoring_Body]
props=$SettingsBodyAttr
Startup=[SettingsViewStartup]
StartupGroup=[SettingsViewStartup_Group]
SettingsGroup=[LevelGroup3] xy(0,$Group_Shift) lb(v($(flags,levfld($OasLevelFields))))
TreatGroup=[Treat_Group] usefor($IsNotFS) lb(v($(flags,fld($OasActionFields))))
TreatFSGroup=[TreatFS_Group] usefor($IsFS) lb(v($(flags,fld($OasActionFields))))

;-------------- File_Server ----------------------------------

[TreatFS_Group]
props              = $SettingsGroupNext sz(p,a)
TryDisinfect       = $Checkbox $First_Control v($(TryDisinfect)) tt($Treat_Group_TryDisinfect)
TryDelete          = $Checkbox $Next_Control v($(TryDelete)) tt($Treat_Group_TryDelete)
BanUser            = $Checkbox $Next_Control v($(BanUser))
BanLabel           = a(rs) disable($(BanUser,EnableIfNotZero))
BanValue           = t(edit) at(number) a(ps) sz(65) nl(1,99) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(BanUserPeriod)) disable($(BanUser,EnableIfNotZero))
NetSend            = $Checkbox $Next_Control v($(SendNotification))
NetSendTemplateBtn = $Button_Medium a(rs) xy(,-5) v(dialog:NetSendDlg) disable($(SendNotification,EnableIfNotZero))

;-------------- File_Server.NetSendDlg ------------------------

[NetSendDlg]
props=$DlgAttr sz(320,240) at(resizable) h(1305)
Dlg=[NetSendDlg.Dlg]

[NetSendDlg.Dlg]
props=$DlgBodyAttr
Reset=$Button_Medium a(lb) v(netsend_reset)
Macro=$Button_Medium a(rs) v(menu:)
Template=t(edit) a(lp) sz(p,p) xy(,7) at(multiline,vscroll,notrim) v($(SendTemplate))

[NetSendDlg.Dlg.Macro.menu]
props  = t(menu)
Murl   = t(menuitem) v(addtext:id(Template)Murl_Tpl)
Mvirus = t(menuitem) v(addtext:id(Template)Mvirus_Tpl)
;Merror = t(menuitem)

;------------- SettingsWindow.File_Monitoring.Customize -----------

[SettingsWindow.File_Monitoring.Customize]
props=$DlgAttr alias(filemonadvsettdlg) sz(390,375) at(resizable) text($CustomSettings: $ProfileDescription)

$dlg_enable_ok=$(ScanObjects,isanyenabled,Enabled,EnableIfNotZero)
Tab=[FileMonAdvSettTab]

[FileMonAdvSettTab]
props=$DlgBodyTabAttr
FileMonAdvSettCommonTab=[FileMonAdvSettCommon] h(1062)
FileMonAdvSettAddTab=[FileMonAdvSettAdd] h(1064)
FileMonFSSettingsTab=[FileMonFSSettings] h(1291)

[FileMonAdvSettCommon]
FileTypesGroup=[FileTypes_Group]
DontCheckGroup=[DontCheck_Group]
CompoundFilesGroup=[CompoundFiles_Group]

[FileMonAdvSettAdd]
;ExcludeGroup=[Exclude_Group]
IncludeGroup=[Include_Group]

[CompoundFiles_Group]
props=$SettingsGroupNext sz(p,a)
;lb(v($(flags,fld(ScanArchived,ScanSFXArchived,ScanOLE,UseCompoundPostponeSize,CompoundPostponeSize,UseSizeLimit,SizeLimit,ForUnchangedObjects))))
Archive=$Checkbox $First_Control v($(ScanArchived))	tt($(ScanArchived,CompoundFiles_Group_ScanArchived))
SFX=$Checkbox $Next_Control v($(ScanSFXArchived))	tt($(ScanSFXArchived,CompoundFiles_Group_ScanSFXArchived))
OLE=$Checkbox $Next_Control v($(ScanOLE))			tt($(ScanOLE,CompoundFiles_Group_ScanOLE))
PostponeSizeCheck=$Checkbox $Next_Control xy(0,10) v($(UseCompoundPostponeSize))	tt($(UseCompoundPostponeSize,CompoundFiles_Group_UseCompoundPostponeSize))
PostponeSizeLabel=a(rs) sz(25)
PostponeSizeValue=t(edit) at(number) nl(0,9999) a(ps) sz(65,0) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(CompoundPostponeSize)) disable($(UseCompoundPostponeSize,Enable_if))
SkipSizeCheck=$Checkbox $Next_Control v($(UseSizeLimit))	tt($(UseSizeLimit,CompoundFiles_Group_UseSizeLimit))
SkipSizeLabel=a(rs) sz(25)
SkipSizeValue=t(edit) at(number) nl(1,9999) a(ps) sz(65,0) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(SizeLimit)) disable($(UseSizeLimit,Enable_if))

[DontCheck_Group]
props=$SettingsGroupNext sz(p,a)
;lb(v($(flags,fld(ScanUnchangedObjects))))
CheckNew=$CheckBox $Next_Control xy(,4) at(invert) v($(ScanUnchangedObjects)) tt($(ScanUnchangedObjects,OAS_DontCheck_Group_ScanUnchangedObjects))
;SkipTimeCheck=$Checkbox $Next_Control v($(UseTimeLimit))
;SkipTimeLabel=a(rs) sz(25)
;SkipTimeValue=t(edit) at(number) nl(1) a(ps) sz(65,0) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) ;v($(TimeLimit)) disable($(UseTimeLimit,Enable_if))

[Include_Group]
props    =$SettingsGroupFirst sz(p,p) rs(,100) h(1035)
;lb(v($(flags,fld(ScanObjects))))
InclList =[ScanObjectsList] alias(vector.ScanObject) a(lt) sz(p,p) xy(,,80)
Add      =$Button a(rs) xy(,,,$Button_Shift) tt($OAS_Include_Group_Add)
Edit     =$Button a(ra) xy(,,,$Button_Shift) tt($OAS_Include_Group_Edt)
Delete   =$Button a(ra) xy(,,,$Button_Shift) tt($OAS_Include_Group_Del)

[Exclude_Group]
props=$SettingsGroupNext a(lb) sz(p,a) rs(,) usefor($($IsAK,!))
Text=$First_Control sz(p,a)
TrustedZone=$Button_Large a(ra) xy(,5) v(dialog:Trusted_Zone)

[FileMonFSSettings]
CheckModeGroup=[CheckMode_Group]
PauseGroup=[Pause_Group]

[CheckMode_Group]
props=$SettingsGroupFirst sz(p,a) v($(WorkingMode))
;lb(v($(flags,fld(WorkingMode))))
CheckModeSmart=t(radio) $First_Control v(4) usefor($($IsProcessor64Bit,!))
CheckModeAll=t(radio) $Next_Control v(0)
CheckModeOpen=t(radio) $Next_Control v(3)
CheckModeExec=t(radio) $Next_Control v(2)

;-------------- File_Server.PauseScheduleDlg ------------------

[PauseScheduleDlg]
props=$DlgAttr sz(280,100) h(1292)
Dlgr=[PauseScheduleInner]

[PauseScheduleInner]
props=$DlgBodyAttr
FromLabel=$First_Control
FromEdit=t(timeedit) a(rs) xy(,-3) sz(60,20) v($(smode.From))
ToLabel=$Next_Control
ToEdit=t(timeedit) a(rs) xy(,-3) sz(60,20) v($(smode.To))

;-------------- File_Server.PauseAppDlg -----------------------

[PauseAppDlg]
props=$DlgAttr sz(320,240) at(resizable) h(1293)
Dlg=[PauseAppInner]

[PauseAppInner]
props=$DlgBodyAttr
AppList  =[PauseAppInner_List]
Add      =$Button a(rs) xy(,,,$Button_Shift) v(browse:app(Name))
Delete   =$Button a(ra) xy(,,,$Button_Shift)

[PauseAppInner_List]
props=t(list) alias(vector) a(lt) sz(p,p) xy(,,80) at(singlesel,noheader,checked) v($(smode.AppList))
App=v($(Name)$(Name,moduleiconasync),$(Enabled))

;------------- ReportWindow.File_Monitoring -----------

[Report_Body.ReportDetails.oas]
props=$Tab $ReportDetails
Threats=[Task_Report_Detected]
Events=[Task_Report]
Objects=[Scan_Objects_List]
Settings=[Task_Report_Settings]
Banned=[Task_Report_Banned] usefor($IsFS)

[Task_Report_Banned]
props	=h(1307)
List=[Task_Report_Banned_List]

[Task_Report_Banned_List]
props=t(list) alias(vector) sz(p,p) at(sorted,autoscroll) v($(BanList.Users))
EventTime=sz(135) v($(StartTime,datetime)i(error))
UserName=sz(p,30) v($(sUserName))
ComputerName=sz(p,30) v($(sMachineName))
RemainingTime=sz(95) v($(RemainTime,timestamp))

[Task_Report_Banned_List.menu]
props = t(menu)
Unban = t(menuitem) at(nobindhide) v(unban_host) text($(sUserName,Dummy))
