;------------- mail monitoring --------------

[Mail_Monitoring]
props=$Task_TreatsPanel
State=[Task_Header]
Body=[MC_Body]

[MC_Body]
props=$Task_Body
Description=[Task_Description]
Settings=[Mail_Monitoring_Status]
Statistics=[Mail_Monitoring_Statistics]

[Mail_Monitoring_Status]
props       = $Task_Settings
Status      = $Task_Statistics_Item v($(state,ProfileState))	                                        f($(state,SubProfileStateFont))
ProtLevel   = $Task_Statistics_Item v($(level,Profile_Protection_Level))                                f($($ProfileActiveStateFont))
Alert       = $Task_Statistics_Item v($(ScanAction,Profile_Alert_Type))                                 f($($ProfileActiveStateFont))
Tfaffic	    = $Task_Statistics_Item v($(CheckTrafficMonitorMessages,SubComponentState,SubProfileState)) f($(CheckTrafficMonitorMessages,SubComponentActiveState,SubProfileStateFont))
Clients     = $Task_Statistics_Item v($(CheckExternalPluginMessages,SubComponentState,SubProfileState)) f($(CheckExternalPluginMessages,SubComponentActiveState,SubProfileStateFont))

[Mail_Monitoring_Statistics]
props       = $Task_Statistics
Scaned      = $Task_Statistics_Item v($(NumScaned))	f($($ProfileActiveStateFont))
Detected    = $Task_Statistics_Item $Detected		f($($ProfileActiveStateFont))

;------------- ReportWindow.Mail_Monitoring -----------

[Report_Body.StatisticsLeft.mc]
props=$StatLeft
Scanned=a(lt) $StatValLeft v($(NumScaned))
Detected=a(la) $StatValLeft $Detected

;------------- SettingsWindow.Mail_Monitoring -----------

[SettingsWindow.Mail_Monitoring]
props=$SettingsViewPanel h(1073)
Header=$SettingsViewHeader i(mc)
Body=[SettingsWindow.Mail_Monitoring_Body]

[SettingsWindow.Mail_Monitoring_Body]
props=$SettingsBodyAttr
Startup=[SettingsViewStartup]
StartupGroup=[SettingsViewStartup_Group]
SettingsGroup=[LevelGroup3] xy(0,$Group_Shift) lb(v($(flags,levfld($McLevelFields))))
TreatGroup=[Treat_Group] lb(v($(flags,fld($ScanActionFields))))
ConnectivityGroup=[Connectivity_Group]

[Connectivity_Group]
props=$SettingsGroupNext sz(p,a) disable($(enabled,EnableIfNotZero)) lb(v($(flags,fld($McConnectivityFields))))
Traffic=$Checkbox $First_Control v($(CheckTrafficMonitorMessages))	tt($(CheckTrafficMonitorMessages,Connectivity_Group_Traffic))
Clients=$Checkbox $Next_Control v($(CheckExternalPluginMessages))	tt($(CheckExternalPluginMessages,Connectivity_Group_Clients))

;------------- SettingsWindow.Mail_Monitoring.Customize -----------

[SettingsWindow.Mail_Monitoring.Customize]
props=$DlgAttr alias(customleveldlg) sz(380,310) h(1075)
MailMonAdvSettCommon=[MailMonAdvSett_Common]

[MailMonAdvSett_Common]
props=$DlgBodyAttr
MailScopeGroup=[MailScope_Group]
MailOptionsGroup=[MailOptions_Group]
AttachmentFilterGroup=[AttachmentFilter_Group]

[MailMonAdvSettAdd]
props=a(lt) sz(p,p) usefor($($IsAK,!))
Info=a(lt)
ExclList=[Exclusion_Masks.ExclusionList] a(la) sz(p,p) xy(,,80) v($(AVService.Excludes),$(type))
Add=$Button a(rs)							
Edit=$Button a(ra) v(dialog:ExclusionEdit)	
Delete=$Button a(ra)						

[MailScope_Group]
props=$SettingsGroupFirst sz(p,a) v($(CheckIncomingMessagesOnly))
;lb(v($(flags,fld(CheckIncomingMessagesOnly))))
All=$Radio $First_Control v(0)		
Incoming=$Radio $Next_Control v(1)

[MailOptions_Group]
props=$SettingsGroupNext sz(p,a)
;lb(v($(flags,fld(ScanArchived,ScanMailBases,ScanMailBases,UseTimeLimit,TimeLimit))))
Archive=$Checkbox at(invert) $First_Control v($(ScanArchived))	tt($(ScanArchived,MailOptions_Group_Archive))
;MailDB=$Checkbox at(invert) $Next_Control v($(ScanMailBases))
SkipCheck=$Checkbox $Next_Control v($(UseTimeLimit)) 			tt($(UseTimeLimit,MailOptions_Group_SkipCheck))
SkipLabel=a(rs) sz(25)
SkipValue=t(edit) at(number) nl(1,9999) a(ps) sz(65,0) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(TimeLimit)) disable($(UseTimeLimit,EnableIfNotZero))

[AttachmentFilter_Group]
props=$SettingsGroupNext sz(p,a) v($(DetectByMaskAction))
;lb(v($(flags,fld(DetectByMaskAction,DetectMasksList))))
Skip=t(radio) $First_Control v(#ACTION_UNKNOWN)	tt($AttachmentFilter_Group_Skip)
Rename=t(radio) $Next_Control v(#ACTION_RENAME)	tt($AttachmentFilter_Group_Rename)
Delete=t(radio) $Next_Control v(#ACTION_DELETE)	tt($AttachmentFilter_Group_Delete)
FileTypes=$Button_Medium a(ra) v(dialog:) disable($(DetectByMaskAction,EnableIfNotZero))	tt($AttachmentFilter_Group_FileTypes)

;------------- AttachmentFilter_Group.FileTypes -----------

[AttachmentFilter_Group.FileTypes]
props=$DlgAttr sz(320,300) at(resizable) h(1076)
Body=[AttachmentFilter_Group.FileTypes_Body]

[AttachmentFilter_Group.FileTypes_Body]
props         = $DlgBodyAttr
FileTypesList = [AttachmentFilter_Group.FileTypes_List]
Add           = $Button a(rs) xy(,,,$Button_Shift) tt($AttachmentFilter_Group_FileTypes_Body_Add)
Edit          = $Button a(ra) xy(,,,$Button_Shift) tt($AttachmentFilter_Group_FileTypes_Body_Edt) v(dialog:AttachmentFilter_Group.Edit)
Delete        = $Button a(ra) xy(,,,$Button_Shift) tt($AttachmentFilter_Group_FileTypes_Body_Del)

[AttachmentFilter_Group.FileTypes_List]
props=t(list) alias(vector) sz(p,p) xy(,,80) at(noheader,checked) v($(DetectMasksList))
Name=v($(Name),$(Enabled))

;------------- AttachmentFilter_Group.Edit -----------

[AttachmentFilter_Group.Edit]
$dlg_enable_ok=$(Name,EnableIfNotZero)
props=$DlgAttr sz(320,a) h(1257)
Body=[AttachmentFilter_Group.Edit_Body]

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

;------------- OutlookPlugun.Antivirus -----------

[OutlookPlugun.Antivirus]
props=t(propsheetpage) sz(550,500) mg(7,7) h(1062)
Dlg=[OutlookPlugun.AntivirusCmn] sz(399,p)

[OutlookPlugun.AntivirusCmn]
props=sz(p,p) a(lt) mg(7,7)
Main=a(lt)
MainLine=b(Topline_medium) a(as) sz(p,7) xy(7,7)
Icon=a(la) xy(0,7)
Info=a(as)
Info2=a(sa)

Status=a(lt) xy(0,60)
StatusLine=b(Topline_medium) a(as) sz(p,7) xy(7,7)
EnableStat=a(la) xy(30,7)
Settings=a(sa)
Link=t(hotlink) a(as) f(Hotlink)

Options=a(lt) xy(0,120)
OptionsLine=b(Topline_medium) a(as) sz(p,7) xy(7,7)
CheckDelivery=$Checkbox $Next_Control xy(30,7) v($(CheckOnDelivery))
CheckRead=$Checkbox $Next_Control xy(30,7) v($(CheckOnRead))
CheckSend=$Checkbox $Next_Control xy(30,7) v($(CheckOnWriteComplete))

;------------- TrafficMonConnectionTerm -------------

[TrafficMonConnectionTerm]
props=$DlgAttr sz(350,100) at(a_yes,a_no) h(1049)
Dlg=[TrafficMonConnectionTerm.Dlg]

[TrafficMonConnectionTerm.Dlg]
props=$DlgBodyAttr
Confirm=$Fisrt_Control
AutoTerm=$Next_Control

;------------- TrafficMonAskActionDlg -------------

[TrafficMonAskActionDlg]
props       = $AlertDialogAttr sz(270,300) h(1304)
Body        = [TrafficMonAskActionDlg_Body]

[TrafficMonAskActionDlg_Body]
props       = $BorderedDailogAttr
Header      = [AlertDialog.Header] text()
Info        = [TrafficMonAskActionDlg_Info]
Action      = [TrafficMonAskActionDlg_Action]

[TrafficMonAskActionDlg_Info]
props       = $SettingsGroupNext sz(p,a) xy(0,10)
AppIcon     = a(lt) xy(,-1) sz(,16) i(info)
AppName     = a(lt) xy(22) sz(,16) text($(DisplayName))
RemoteHost  = t(value) $Next_Control sz(p) sep(100) v($(ServerName))
RemotePort  = t(value) $Next_Control sz(p) sep(100) v($(ServerPort))

[TrafficMonAskActionDlg_Action]
props       = $SettingsGroupNext sz(p,p)
Description = t(richedit) at(readonly,noborder,nofocus) xy(,,$ButtonsLineSizeX) a(lc) sz(p,a)
UseRule     = $Checkbox l(la) xy(,$Control_Shift) v($(UseRule))
BtnGrp      = [TrafficMonAskActionDlg_BtnGrp] a(rt)

[TrafficMonAskActionDlg_BtnGrp]
props       = sz(a,a)
Process     = $Button a(la) xy(,,,$Control_Shift)
Skip        = $Button a(la)

;------------- TMUnaccessDetails ------------------

[TMUnaccessDetails]
props		= $DlgAttr sz(350,350)
Body		= [TMUnaccessDetails_Body]

[TMUnaccessDetails_Body]
props		= $DlgBodyAttr
