;------------- script monitoring --------------

[Web_Monitoring]
props=$Task_TreatsPanel
State=[Task_Header]
Body=[SC_Body]

[SC_Body]
props=$Task_Body
Description=[Task_Description]
Status=[Web_Monitoring_Status]
Statistics=[Web_Monitoring_Statistics]

[Web_Monitoring_Status]
props         = $Task_Settings
Status		  = $Task_Statistics_Item                v($(state,ProfileState))                                          f($(state,SubProfileStateFont)) text($Web_Monitor)
ProtLevel     = $Task_Statistics_Item                v($(level,Profile_Protection_Level))                              f($($ProfileActiveStateFont))
Alert         = $Task_Statistics_Item                v($(httpscan.ScanAction,WebActions))                              f($($ProfileActiveStateFont))
StatusTraffic = $Task_Statistics_Item at(nobindhide) v($(httpscan.enabled,SubComponentState_httpscan,SubProfileState)) f($(httpscan.enabled,SubComponentActiveState_httpscan,SubProfileStateFont))
StatusBrowser = $Task_Statistics_Item at(nobindhide) v($(sc.enabled,SubComponentState_sc,SubProfileState))             f($(sc.enabled,SubComponentActiveState_sc,SubProfileStateFont))

[Web_Monitoring_Statistics]
props         = $Task_Statistics
Checked       = $Task_Statistics_Item at(nobindhide) v($(sc.NumScaned,+,httpscan.NumScaned)) f($($ProfileActiveStateFont))
Detected      = $Task_Statistics_Item $Detected                                              f($($ProfileActiveStateFont))
;Untreated     = $Task_Statistics_Item $Untreated                                             f($($ProfileActiveStateFont))

;------------- SettingsWindow.Web_Monitoring -----------

[SettingsWindow.Web_Monitoring]
props=$SettingsViewPanel h(1084)
Header=$SettingsViewHeader i(web)
Body=[SettingsWindow.Web_Monitoring_Body]

[SettingsWindow.Web_Monitoring_Body]
props=$SettingsBodyAttr
Startup=[SettingsViewStartup]
StartupGroup=[SettingsViewStartup_Group]
SettingsGroup=[LevelGroup3] xy(0,$Group_Shift) disable($(enabled,EnableIfNotZero)$(httpscan.enabled,EnableIfNotZero)) lb(v($(state,levfld($ScLevelFields))))
ActionGroup=[WTreat_Group]
ConnectivityGroup=[WConnectivity_Group]

[WTreat_Group]
props=$SettingsGroupNext sz(p,a) v($(httpscan.ScanAction)) disable($(enabled,EnableIfNotZero)$(httpscan.enabled,EnableIfNotZero)) lb(v($(httpscan.flags,fld($ScanActionFields))))
Ask=$Radio $First_Control v(#SCAN_ACTION_ASKDETECT)		tt($WTreat_Group_Ask)
Block=$Radio $Next_Control v(#SCAN_ACTION_DETECT)		tt($WTreat_Group_DontAsk)
Allow=$Radio $Next_Control v(#SCAN_ACTION_REPORT)		tt($WTreat_Group_Allow)

[WConnectivity_Group]
props=$SettingsGroupNext sz(p,a) disable($(enabled,EnableIfNotZero)) lb(v($(state,fld($ScConnectivityFields))))
Traffic=$Checkbox $First_Control v($(httpscan.enabled))	tt($(httpscan.enabled,WConnectivity_Group_Traffic))
Clients=$Checkbox $Next_Control v($(sc.enabled))		tt($(sc.enabled,WConnectivity_Group_Clients))

;------------- SettingsWindow.Web_Monitoring.Customize -----------

[SettingsWindow.Web_Monitoring.Customize]
props=$DlgAttr alias(customleveldlg) sz(400,350) at(resizable) h(1085)
Dlg=[HTTP_Dlg]

[HTTP_Dlg]
props=$DlgBodyAttr
ProductivityGroup=[Productivity_Group]
TrustedSitesGroup=[TrustedSites_Group]

[Productivity_Group]
$EnableIfQuickScan=disable($(httpscan.HTTPSettings.UseStreamProcessor,!,EnableIfNotZero))
props=$SettingsGroupNext sz(p,a) v($(httpscan.HTTPSettings.UseStreamProcessor))
;lb(v($(httpscan.flags,fld(HTTPSettings))))
QuickScan=$Radio $First_Control v(1)
FullScan=$Radio $Next_Control v(0)
;Archive=$Checkbox a(la) xy(20,7) at(invert) v($(httpscan.ScanArchived))	$EnableIfQuickScan tt($(httpscan.ScanArchived,Restrictions_Group_Archive))
SkipCheck=$Checkbox a(la) xy(15,7) v($(httpscan.HTTPSettings.UseTimeLimit))	$EnableIfQuickScan tt($(httpscan.HTTPSettings.UseTimeLimit,Restrictions_Group_SkipCheck))
SkipValue=t(edit) at(number) nl(1,9999) a(as) sz(50,0) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(httpscan.HTTPSettings.TimeLimit)) disable($(httpscan.HTTPSettings.UseTimeLimit,EnableIfNotZero)) $EnableIfQuickScan
SkipLabel=a(as) xy($Edit_CommentOffsetX,2) $EnableIfQuickScan

[TrustedSites_Group]
props=$SettingsGroupNext sz(p,p)
;lb(v($(httpscan.flags,fld(TrustedSites))))
ExclList=[HTTP_Settings.ExclList]
Add=$Button a(rs) xy(,,,$Button_Shift)
Edit=$Button a(ra) xy(,,,$Button_Shift)
Delete=$Button a(ra) xy(,,,$Button_Shift)

[HTTP_Settings.ExclList]
props=t(list) alias(vector) at(checked,noheader) xy(0,$Group_Shift,80) sz(p,p) a(la) v($(httpscan.TrustedSites))
Site=v($(Rule),$(Enabled))sz(100)

;------------- TrustedSites_Group.Edit -----------

[TrustedSites_Group.Edit]
$dlg_enable_ok=$(Rule,EnableIfNotZero)
props=$DlgAttr sz(320,90) at(dragable) h(1087)
Body=[TrustedSites_Group.Edit_Body]

[TrustedSites_Group.Edit_Body]
props=$DlgBodyAttr
Name=t(edit) $First_Control sz(p) v($(Rule))
Example=a(la) f(Normal_grey)

;------------- ReportWindow.Web_Monitoring -----------

[Report_Body.StatisticsLeft.wm]
props=a(la) $StatLeft
Scaned=a(lt) $StatValLeft v($(sc.NumScaned,+,httpscan.NumScaned))
Detected=a(la) $StatValLeft $Detected
Untreated=a(la) $StatValLeft $Untreated

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

;------------- IE.Plugin -----------
;[IE.Plugin]
;props=t(propsheetpage) mg(7,7) h(1166)
;Scaned=a(lt) $StatValLeft v($(sc.NumScaned,+,httpscan.NumScaned))
;Detected=a(la) $StatValLeft v($(sc.NumThreats)) f($(sc.NumThreats,Font_Normal_BoldRed))
;DetectedHTTP=a(la) $StatValLeft v($(httpscan.NumThreats)) f($(httpscan.NumThreats,Font_Normal_BoldRed))

