;------------- Protection common --------------

[Templates]
$AddToExcludeMenuItem   = t(menuitem) at(nobindhide) v(dialog:ExclusionEdit)                             hide($(DetectName,ShowIfNotZero)$(ObjectStatus,=,#OBJSTATUS_ADDEDTOEXCLUDE,!,ShowIfNotZero)$(TaskType,=,sc,!,ShowIfNotZero)$(TaskType,=,httpscan,!,ShowIfNotZero)$(TaskType,=,wm,!,ShowIfNotZero)) disable($(AVService.Excludes,ismandat,EnableIfZero))
$ActionOnObjectMenuItem = t(menuitem) disable($(ObjectStatus,IsTreatable,EnableIfNotZero)$(TaskType,IsTaskRemoteObjects,!,EnableIfNotZero))
$GotoFileMenuItem       = t(menuitem) at(nobindhide) v(gotofile:$(ObjectName))                           disable($(ObjectType,IsPhysFile,EnableIfNotZero)$(ObjectStatus,=,#OBJSTATUS_DELETED,!,EnableIfNotZero)$(TaskType,IsTaskRemoteObjects,!,EnableIfNotZero))
$ViewOnWebMenuItem      = t(menuitem) at(nobindhide) v(url:$ViruslistThreatLink)                         hide($(DetectName,ShowIfNotZero)$(DetectType,=,#DETYPE_UNKNOWN,!,ShowIfNotZero))
$ViewOnGoogleMenuItem   = t(menuitem) at(nobindhide) v(url:www.google.com/search?q=$(DetectName)&hl=$(Localization,env)&lr=lang_$(Localization,env)) hide($(DetectName,ShowIfNotZero))

[Task_Protection_Settings]
props     = $Task_Settings
ProtLevel = $Task_Statistics_Item v($(level,Profile_Protection_Level))
Alert     = $Task_Statistics_Item v($(ScanAction,Profile_Alert_Type))
Schedule  = $Task_Statistics_Item v($(schedule.Mode,Update_Method)) hide($(name,=,Scan_Objects,!,ShowIfNotZero))

[Task_Protection_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))

;------------- Pause Protection Request Dialog -----------

[PauseProtectionRequestDialog]
props    = $DlgAttr sz(280,a) h(1046)
Body     = [PauseProtectionRequestDialog_Body]

[PauseProtectionRequestDialog_Body]
props    = $DlgBodyAttr sz(p,a) v($(ResumeMode)) at(rememberdata)
Text     = $First_Control a(la) sz(p,a)
Time     = $Radio $Next_Control v(#cREQUEST_DELAY_MAKE_PERSISTENT)
Value    = t(combo) at(rememberdata) a(as) xy($Control_Shift,-4) sz(150) v($(ResumeTime)) disable($(ResumeMode,=,#cREQUEST_DELAY_MAKE_PERSISTENT,EnableIfNotZero))
NextRun  = $Radio $Next_Control xy(,3)  v(0)
Never    = $Radio $Next_Control  v(-1)

[PauseProtectionRequestDialog_Body.Value]
a1  = v(#cREQUEST_DELAY_MAKE_PERSISTENT|60) at(default)
a2  = v(#cREQUEST_DELAY_MAKE_PERSISTENT|180)
a3  = v(#cREQUEST_DELAY_MAKE_PERSISTENT|300)
a4  = v(#cREQUEST_DELAY_MAKE_PERSISTENT|900)
a5  = v(#cREQUEST_DELAY_MAKE_PERSISTENT|1800)
a6  = v(#cREQUEST_DELAY_MAKE_PERSISTENT|3600)
a7  = v(#cREQUEST_DELAY_MAKE_PERSISTENT|10800)
a8  = v(#cREQUEST_DELAY_MAKE_PERSISTENT|18000)

;------------- protection --------------

[Protection]
props=$Task_TreatsPanel
State=[Task_Header]
Body=[Protection_Body]

[Protection_Body]
props       = $Task_Body
Description = [Task_Description]
Summary     = [Protection_Summary]
Statistics  = [Protection_Events]

[Protection_Summary]
props       = $GroupBox  a(la) mg(14,14) sz(p,a) xy(0,$Group_Shift)
ThreatInfo  = t(hotlink) a(lt) f(Bold_Green) v(report:Protection.Threats)
UpdateInfo  = t(hotlink) a(sa) xy(,7) f(Bold_Green)
ProtectInfo = t(hotlink) a(sa) xy(,7) f(Bold_Green) v(report:Protection.Reports)

[Protection_Events]
props=$Task_Statistics
Scanned        =$Task_Statistics_Item v($(AVService.NumGenericScaned))
Threats        =$Task_Statistics_Item v($(AVService.NumThreats))   f($(AVService.NumUntreated,Font_Normal_BoldRed))
Untreated      =$Task_Statistics_Item v($(AVService.NumUntreated)) f($(AVService.NumUntreated,Font_Normal_BoldRed))
AttacksBlocked =$Task_Statistics_Item v($(ids.AttacksDetected))    f($(ids.AttacksDetected,Font_Normal_BoldRed)) at(nobindhide)

;------------- SettingsWindow.Protection -----------

[SettingsWindow.Protection]
props=$SettingsViewPanel h(1044)
Header=$SettingsViewHeader i(protection)
Body=[SettingsWindow.Protection_Body]

[SettingsWindow.Protection_Body]
props              = $SettingsBodyAttr
StartupGroup       = [ProtectionStartup_Group]
GlobalDefend_Group = [GlobalDefend_Group]
;GlobalTrustedGroup = [GlobalTrusted_Group]
PowerSaving=[PowerSaving_Group]

[ProtectionStartup_Group]
props       = $SettingsGroupFirst sz(p,a) lb(v($(state,fld(enabled,RunAtSystemStartup,AVService.Excludes,ProcMon.aItems)))) hide($HideInWinPE)
Enable      = $Checkbox xy(,,,7)        v($(enabled))            tt($(enabled, ProtectionStartupGroupEnable)) hide($($IsProtectionInstalled,ShowIfNotZero))
Startup     = $Checkbox a(la) sz(a,a)   v($(RunAtSystemStartup)) tt($ProtectionStartup_Group_Startup)
TrustedZone = $Button_Large a(ra) xy(,5) v(dialog:Trusted_Zone) tt($GlobalTrusted_Group_TrustedZone)

[GlobalDefend_Group]
props       = $SettingsGroupNext sz(p,a) lb(v($(state,fld(AVService.DetectMask))))
VirWare     = $Checkbox at(disable) $First_Control v($(AVService.DetectMask)) bits(0x01)
AdWare      = $Checkbox $Next_Control v($(AVService.DetectMask)) bits(0x02)
RiskWare    = $Checkbox $Next_Control v($(AVService.DetectMask)) bits(0x04)
Descr       = $Next_Control sz(p) xy(18,$Control_Shift) usefor(localgui)

[GlobalTrusted_Group]
props       = $SettingsGroupNext sz(p,a) lb(v($(state,fld(AVService.Excludes,ProcMon.aItems))))
Text        = $First_Control sz(p,a)

[PowerSaving_Group]
props       = $SettingsGroupNext sz(p,a) lb(v($(state,fld(AVService.UseActiveDisinfection,BatterySafe,AVService.UseABS,AVService.MultiThreaded,OasInstances))))
AdvDisinfect= $Checkbox $First_Control xy(,,,$Control_Shift) v($(AVService.UseActiveDisinfection)) usefor($IsNotFS)    hide($ShowNTBasedFufure)
Battery     = $Checkbox $Next_Control  xy(,,,$Control_Shift) v($(BatterySafe))					   usefor($IsNotFS)	   tt($(BatterySafe, PowerSaving_Group_Battery)) 
CPU         = $Checkbox $Next_Control  xy(,,,$Control_Shift) v($(AVService.UseABS))									   tt($(AVService.UseABS, PowerSaving_Group_CPU))
MultiCPU    = $Button_Large a(ra)                            v(dialog:SettingsWindow.MultiCPUDlg)  usefor($IsFS)

[Protection_Apperance_Group]
props       = $SettingsGroupNext sz(p,a) lb(v($(state,fld(EnableInteraction,SupportCustom.strDescription,SupportCustom.aLinks))))
Apperance   = $Button_Medium a(rb) xy(,,$Control_Shift) v(dialog:SettingsWindow.Protection.Apperance)
Interaction = $Checkbox a(pt) sz(p,a) v($(EnableInteraction))

;------------- SettingsWindow.Protection.Apperance -----------

[SettingsWindow.Protection.Apperance]
props = $DlgAttr sz(420,370)
Body  = [SettingsWindow.Protection.Apperance_Body]

[SettingsWindow.Protection.Apperance_Body]
props         = $DlgBodyTabAttr
SupportCustom = [Protection_Apperance_SupportCustom]

;------------- Protection_Apperance_SupportCustom -----------

[Protection_Apperance_SupportCustom]
props       = h(9996)
Description = t(edit) at(multiline) sz(p,100) v($(SupportCustom.strDescription))
Links       = t(list) alias(vector) v($(SupportCustom.aLinks)) a(la) xy(,$Control_Shift,$ButtonsLineSizeX) sz(p,p) [Apperance_SupportCustom_Links]
Add         = $Button a(rs)
Edit        = $Button $Next_Control a(ra)
Delete      = $Button $Next_Control a(ra)
MoveDown    = $Button $First_Control a(rb)
MoveUp      = $Button $Next_Control a(rp)

[Apperance_SupportCustom_Links]
Name        = v($(strName)i(info))
URL         = v($(strURL))
Description = v($(strDescription))

;------------- Protection_Apperance_SupportCustom.Edit -----------

[Protection_Apperance_SupportCustom.Edit]
props       = $DlgAttr sz(320,a) h(9995)
Body        = [Protection_Apperance_SupportCustom.Edit_Body]

[Protection_Apperance_SupportCustom.Edit_Body]
props       = $DlgBodyAttr sz(p,a)
NameLbl     = a(la) xy(,3)
Name        = t(edit) a(ls) sz(p,a) xy(70,$Edit_CenterOffsetY,,$Control_Shift) v($(strName))
URLLbl      = a(la)
URL         = t(edit) a(ls) sz(p,a) xy(70,$Edit_CenterOffsetY,,$Control_Shift) v($(strURL))
DescrLbl    = a(la)
Descr       = t(edit) a(ls) sz(p,a) xy(70,$Edit_CenterOffsetY,,$Control_Shift) v($(strDescription))

;------------- Trusted_Zone -----------

[Trusted_Zone]
props=$DlgAttr sz(420,370) at(resizable)
Tab=[Trusted_Tab]

[Trusted_Tab]
props          = $DlgBodyTabAttr
ExclusionMasks = [Exclusion_Masks] h(1052)
TrustedApps    = [Trusted_Apps]    h(1055) hide($($IsProtectionInstalled,ShowIfNotZero)$ShowNTBasedFufure)

;------------- Trusted_Zone.Trusted_Apps -----------

[Trusted_Apps]
AppList=[Trusted_Apps.AppList]
Add=$Button a(rt) v(dialog:TrustedAppEdit)
Edit=$Button $Next_Control a(ra) v(dialog:TrustedAppEdit)
Delete=$Button $Next_Control a(ra)
Rule=t(richedit) alias(listitemdescr) at(readonly,nofocus,vscroll) a(lb) sz(p,80) text($TrustedAppDescr)
Text=a(lp)

[Trusted_Apps.AppList]
props=t(list) alias(vector) at(noheader,checked,sorted) sz(p,185) xy(,,$ButtonsLineSizeX) v($(ProcMon.aItems))
App=v($(sImagePath)$(sImagePath,moduleicon),$(bEnabled))

;------------- Trusted_Zone.Exclusion_Masks -----------

[Exclusion_Masks]
ExclusionList=[Exclusion_Masks.ExclusionList] sz(p,185) xy(,,$ButtonsLineSizeX) v($(AVService.Excludes))
Add=$Button a(rt)
Edit=$Button $Next_Control a(ra) v(dialog:ExclusionEdit)
Delete=$Button $Next_Control a(ra)
Rule=t(richedit) alias(listitemdescr) at(readonly,nofocus,vscroll) a(lb) sz(p,80) text($ExclusionMasksDescr)
Text=a(lp)

[Exclusion_Masks.ExclusionList]
props=t(list) alias(vector.cDetectExclude) at(checked,sorted)
ObjectMask=v($($IsExclObjectMask_Avail,ExclusionList_ObjectMask),$(Enable)) sz(120)
VerdictMask=v($($IsExclVerdictMask_Avail,ExclusionList_VerdictMask)) sz(80)
Description=v($(Description)) sz(120)

;------------- TrustedAppEdit -----------

[TrustedAppEdit]
$dlg_enable_ok=$(nTriggers,bits(#BL_fExclOpenFiles|#BL_fExclBehavior|#BL_fExclRegistry|#BL_fExclNet),!!,EnableIfNotZero)$(sImagePath,EnableIfNotZero)$(sImagePath,ispathmasked,!,EnableIfNotZero)$($IsTrustedApp_HostAvail,EnableIfNotZero)$($IsTrustedApp_PortAvail,EnableIfNotZero)
props=$DlgAttr sz(420,265) h(1055)
Dlg=[TrustedAppEdit_Body]

[TrustedAppEdit_Body]
props     = $DlgBodyAttr
NameLabel = $Next_Control
AppEdit   = [TrustedAppEdit_AppEditBrowse] xy(100,$Edit_CenterOffsetY) a(ls) sz(p,a) usefor($($IsAK,!))
Name      = t(edit) v($(sImagePath))       xy(100,$Edit_CenterOffsetY) a(ls) sz(p,a) usefor($($IsAK))
PropLabel = $Next_Control
PropList  = t(list) alias(flagslist) a(ls) sz(p,75) xy(100) at(checked,noheader) v($(nTriggers))
Text      = $Next_Control
Rule      = t(richedit) a(la) sz(p,p) at(readonly,nofocus,vscroll) text($TrustedAppDescr)

[TrustedAppEdit_Body.PropList.items]
ExclOpenFiles   = v(#BL_fExclOpenFiles) usefor($(*,profileexist(File_Monitoring)))
ExclBehavior    = v(#BL_fExclBehavior)  usefor($(*,profileexist(pdm)))
ExclBehavior    = v(#BL_fExclBehavior)  usefor($(*,profileexist(pdm2)))
ExclRegistry    = v(#BL_fExclRegistry)  usefor($(*,profileexist(pdm),IsPDMRegGuardUsed))
ExclRegistry    = v(#BL_fExclRegistry)  usefor($(*,profileexist(regguard2)))
ExclNet         = v(#BL_fExclNet)       usefor($(*,profileexist(TrafficMonitor)))

[TrustedAppEdit_AppEditBrowse]
AppBrowse = $Button_Medium a(rt) xy(,,7) v(browse:app(sImagePath,Hash)) text($Browse)
Name      = t(edit) a(ps) sz(p) v($(sImagePath))

;------------- ExclNetHostEdit -----------

[ExclNetHostEdit]
props=$DlgAttr sz(270,a) h(1256)
Dlg=[ExclNetHostEdit_Body]

[ExclNetHostEdit_Body]
props=$DlgBodyAttr sz(p,a)
Text=$First_Control
Value=$IpAddr a(rs) v($(nHost))

;------------- ExclNetPortEdit -----------

[ExclNetPortEdit]
props=$DlgAttr sz(270,a) h(1255)
Dlg=[ExclNetPortEdit_Body]

[ExclNetPortEdit_Body]
props=$DlgBodyAttr sz(p,a)
Text=$First_Control
Value=t(edit) a(rs) at(number) nl(1,65535) sz(120,20) v($(nPort))

;------------- ExclusionEdit -----------

[ExclusionEdit]
$dlg_enable_ok=$($IsExclusion_ObjectMask_Correct,EnableIfNotZero)$($IsExclusion_VerdictMask_Correct,EnableIfNotZero)$($IsExclusion_TaskList_Correct,EnableIfNotZero)$($IsExclObjectVerdictMask_Avail,EnableIfNotZero)$($IsExclObjectMask_Avail,ExclusionObjectMaskIsAll,ExclusionObjectMask_CheckVerdictIsAll,!,EnableIfNotZero)$($IsExclVerdictMask_Avail,ExclusionVerdictMaskIsAll,ExclusionVerdictMask_CheckObjectIsAll,!,EnableIfNotZero)
props=$DlgAttr alias(protection_excludeitem) sz(400,250) h(1052)
Dlg=[ExclusionEdit_Body]

[ExclusionEdit_Body]
props=$DlgBodyAttr
PropLabel=$Next_Control
PropList=t(list) alias(flagslist) a(ls) sz(p,50) xy(100) at(checked,noheader) v($(Triggers))
NameLabel=$Next_Control
Name=t(edit) a(ls) sz(p) xy(100,$Edit_CenterOffsetY) v($(Description))
Text=$Next_Control
Rule=t(richedit) a(la) sz(p,p) at(readonly,nofocus,vscroll) text($ExclusionMasksDescr)

[ExclusionEdit_Body.PropList.items]
ObjectMask  = v(#AVS_fObjectMask)
VerdictMask = v(#AVS_fVerdictMask)

;------------- ExclusionTasksEdit -----------

[ExclusionTasksEdit]
$dlg_enable_ok=$(TaskList,size,EnableIfNotZero)
props=$DlgAttr sz(300,200) h(1253)
Body=[ExclusionTasksEdit_Body]

[ExclusionTasksEdit_Body]
props=$DlgBodyAttr
TasksList=[ExclusionTasksEdit_Body.TasksList]

[ExclusionTasksEdit_Body.TasksList]
props=t(list) alias(vector.ExceptsTaskList) at(noheader,checked) sz(p,p) $Next_Control v($(TaskList),ExcludesTaskTypes)
TaskType=v($(TaskType,TaskTypes),$(Enable))

;------------- ExclusionObjectMaskEdit -----------

[ExclusionObjectMaskEdit]
$dlg_enable_ok = $($IsExclusion_ObjectMask_Correct,EnableIfNotZero)$($IsExclObjectMask_Avail,ExclusionObjectMaskIsAll,ExclusionObjectMask_CheckVerdictIsAll,!,EnableIfNotZero)
props   = $DlgAttr alias(protection_excludeitem_object) sz(300,a) h(1053)
Body    = [ExclusionObjectMaskEdit_Body]

[ExclusionObjectMaskEdit_Body]
props     = $DlgBodyAttr sz(p,a)
Text      = $First_Control sz(p,a) xy(,,,$Control_Shift)
EditGroup = [ExclusionObject_MaskEditGroup] sz(p,a) a(la)
Recurse   = $Checkbox $Next_Control v($(Object.Recurse))

[ExclusionObject_MaskEditGroup]
Browse  = $Button a(rt) xy(,,$Button_Shift) text($Browse) usefor($($IsAK,!))
Value   = t(edit) a(pt)  xy(,1) sz(p) v($(Object.Mask))

;------------- ExclusionVerdictMaskEdit -----------

[ExclusionVerdictMaskEdit]
$dlg_enable_ok=$($IsExclusion_VerdictMask_Correct,EnableIfNotZero)$($IsExclVerdictMask_Avail,ExclusionVerdictMaskIsAll,ExclusionVerdictMask_CheckObjectIsAll,!,EnableIfNotZero)$(Triggers,bits(#AVS_fVerdictPath),!!,ExclusionVerdictPathMaskEdit_EnableOk)
props=$DlgAttr sz(300,a) h(1054)
Body=[ExclusionVerdictMaskEdit_Body]

[ExclusionVerdictMaskEdit_Body]
props=$DlgBodyAttr sz(p,a)
Text=sz(p,a)
Value=t(edit) a(la) sz(p,a) v($(VerdictMask))
VerdictObject=$Checkbox $Next_Control v($(Triggers)) bits(#AVS_fVerdictPath) usefor($IsNotFS)
VerdictObjectMask=t(edit) $Next_Control sz(p,a) v($(VerdictPath.Mask)) disable($(Triggers,bits(#AVS_fVerdictPath),EnableIfNotZero)) usefor($IsNotFS)

;------------- SettingsWindow.Service -----------

[SettingsWindow.Service]
props=$SettingsViewPanelAttr h(1225)
Header=$SettingsViewHeader i(web)
Protection=[SettingsWindow.Service_Body]

[SettingsWindow.Service_Body]
props                  = $SettingsBodyAttr alias(settingsview)
Notifications          = [Notifications_Group]
ProductPasswordGroup   = [ProductPassword_Group]
GlobalReset_Group      = [GlobalReset_Group]          usefor($($IsAK,!))
Apperance_Group        = [Protection_Apperance_Group] usefor($($IsAK))
Troubleshooting_Group  = [Troubleshooting_Group]      usefor($($IsNT32BasedOS))

[Notifications_Group]
props=$SettingsGroupFirst sz(p,a) lb(v($(flags,fld(EnableNotifications,NSettings,SystemEventLog,MailFrom,SMTPServer,SMTPPort,UsrAccount,PSEM,MailTo,CurrentSendMode,mail_schedule))))
Ico=a(lt) i(notify) sz(32,32)
EnableNotifications=$Checkbox xy(40) v($(EnableNotifications))	tt($(EnableNotifications, Notifications_Group_EnableNotifications))
ConfigureNotifications=$Button_Large a(ra) xy(0,7) v(dialog:SettingsWindow.ConfigureNotifications)	disable($(EnableNotifications,EnableIfNotZero)) 	tt($Notifications_Group_ConfigureNotifications)

[ProductPassword_Group]
$ProductPasswordFlds = EnablePswrdProtect,AskPswrdAlwaysExeptsAlerts,AskWhenSaveSetting,AskWhenExitApp,AskWhenStopProtection,OPEP,EnableUPswrdProtect,OPEP2
props				= $SettingsGroupNext sz(p,a) lb(v($(state,fld(EnableSelfProtection,AllowServiceStop,$ProductPasswordFlds))))
Ico					= a(lt) i(password) sz(32,32) usefor(localgui)
ProtectionChecks	= [Protection_Checks] xy(40) usefor(localgui)
ProtectionChecks	= [Protection_Checks] usefor(admingui)

[Protection_Checks]
props=sz(p,a)
EnableSelfProt		= $Checkbox a(la) xy(,,,$Control_Shift)            v($(EnableSelfProtection)) hide($ShowNTBasedFufure$HideInWinPE)
DisableServiceStop	= $Checkbox a(la) xy(,,,$Control_Shift) at(invert) v($(AllowServiceStop)) hide($ShowNTBasedFufure$HideInWinPE)
EnablePassword		= $Checkbox a(la) xy(,,,$Control_Shift)            v($(EnablePswrdProtect))	tt($(EnablePswrdProtect, ProductPassword_Group_ConfigurePassword))
ConfigurePassword	= $Button_Large a(ra) disable($(EnablePswrdProtect,EnableIfNotZero)) v(dialog:SettingsWindow.ConfigurePassword)	tt($ProductPassword_Group_ConfigurePassword) usefor(localgui)
ConfigurePassword	= $Button_Medium a(rs) xy(,-4) disable($(EnablePswrdProtect,EnableIfNotZero)) v(dialog:SettingsWindow.ConfigurePassword)	tt($ProductPassword_Group_ConfigurePassword) usefor(admingui)
EnableUPassword		= $Checkbox a(la) xy(,8,,$Control_Shift)            v($(EnableUPswrdProtect)) tt($ProductPassword_Group_ConfigureUPassword_default) usefor($IsAKPolicy)
ConfigureUPassword	= $Button_Medium a(rs) xy(,-4) disable($(EnableUPswrdProtect,EnableIfNotZero)) v(dialog:SettingsWindow.ConfigureUPassword)	tt($ProductPassword_Group_ConfigureUPassword_default) usefor($IsAKPolicy)

[GlobalReset_Group]
props=$SettingsGroupNext sz(p,a)
LoadSettings=$Button_Medium $First_Control	v(cfgstorage:load) tt($GlobalReset_Group_LoadSettings)
SaveSettings=$Button_Medium a(cs)			v(cfgstorage:save) tt($GlobalReset_Group_SaveSettings)
Reset=$Button_Medium a(rs)					v(reset)           tt($GlobalReset_Group_Reset)

[Troubleshooting_Group]
props        = $SettingsGroupNext sz(p,a) lb(v($(state,fld(EnableR3CompatMode))))
R3CompatMode = $Checkbox v($(EnableR3CompatMode))
Text1=$Next_Control xy(18,$Control_Shift) sz(p,a) usefor(localgui)

;------------- SettingsWindow.ConfigureNotifications -----------

[Templates]
$SettingNotify_Edit=t(edit) a(ls) sz(p) xy(110,-1)

[SettingsWindow.ConfigureNotifications]
props     = $DlgAttr alias(notifysettdlg) sz(300,360,500,400) at(resizable,dragable) h(1227)
Body      = [Notify_Settings_Body]

[Notify_Settings_Body]
props     = $DlgBodyAttr
EventsCfg = [Notify_Settings_EventsCfg] a(lb) xy(,,,$Group_Shift)
EventList = [Event_Settings.EventList] a(lp)

[Event_Settings.EventList]
props         = t(list) at(fixcol) sz(p,p)
EventTypeClmn = v($(EventID,EventTList)) sz(p,50)
TrayClmn      = v(,$(CheckTray))  at(checked) sz(55)
SoundClmn     = v(,$(CheckSound)) at(checked) sz(55)
E-mailClmn    = v(,$(CheckMail))  at(checked) sz(55)
ELogClmn      = v(,$(CheckELog))  at(checked) sz(55) usefor($($IsNTBasedOS))

[Notify_Settings_EventsCfg]
props         = $SettingsGroupFirst sz(p,a) text($Settings)
ELogSettings  = $Button_Large a(rt) xy(,,$Control_Shift) usefor($($IsWinNTExtendedOS)) v(dialog:Notify_Settings_ELog)  disable($(NSettings,blevent_elog,EnableIfNotZero))
EMailSettings = $Button_Large a(pt)                                              v(dialog:Notify_Settings_EMail) disable($(NSettings,blevent_email,EnableIfNotZero))

;------------- Notify_Settings_EMail -----------

[Notify_Settings_EMail]
props=$DlgAttr sz(400,320) h(1228)
Body=[EMail_Settings]

[EMail_Settings]
props=$DlgBodyAttr
FromGroup=[AdressFrom_Group]
ToGroup=[To_Group]
SendModeGgroup=[SendMode_Group]

[AdressFrom_Group]
props=$SettingsGroupFirst sz(p,a)
AdressFromText= a(l) xy(5, 3)
AdressFromEdit=$SettingNotify_Edit v($(MailFrom))
SMTPServerText=a(la) xy(5,7)
SMTPServerEdit=$SettingNotify_Edit sz(167) rs(100) v($(SMTPServer))
PortText=a(as) xy(5,1)
PortEdit=t(edit) at(number) nl(1,65535) a(as) sz(55) xy(,-1) v($(SMTPPort))
AccountText=a(la) xy(5,7)
AccountEdit=$SettingNotify_Edit v($(UsrAccount))
PasswordText=a(la) xy(5,7)
PasswordEdit=$SettingNotify_Edit at(password) v($(PSEM,crypt))

[To_Group]
props=$SettingsGroupNext sz(p,a)
AdressToText=a(l) xy(5, 3)
AdressToEdit=$SettingNotify_Edit v($(MailTo))

[SendMode_Group]
props=$SettingsGroupNext sz(p,a) v($(CurrentSendMode))
ScheduleImmediatly=t(radio) $First_Control v(0)
ScheduleManual=t(radio) $Next_Control v(1) text($(schedule.Type,ScheduleType))
ScheduleChange=$Button a(rs) xy(0,-5) disable($(CurrentSendMode,EnableIfNotZero)) v(dialog:SettingsWindow.ScheduleChange)

;------------- Notify_Settings_ELog -----------

[Notify_Settings_ELog]
props    = $DlgAttr sz(250,a) h(1294)
Body     = [Notify_Settings_ELog_Body]

[Notify_Settings_ELog_Body]
props    = $DlgBodyAttr sz(p,a)
ELogType = [SysEventLogType]

[SysEventLogType]
props    = $SettingsGroupFirst sz(p,a) v($(SystemEventLog))
ELog_Sys = $Radio $First_Control v(1)
ELog_Own = $Radio $Next_Control v(0)

;------------- SettingsWindow.ConfigurePassword -----------

[Templates]
$SettingPswrd_Edit=t(edit) a(asr) sz(150) xy(5,-1) at(password)

[SettingsWindow.ConfigurePassword]
$dlg_enable_ok=$($IsAskPswrdOk,EnableIfNotZero)

props=$DlgAttr alias(pswrdprotectsettdlg) sz(390,a) h(1252)
PswrdSettingsGroup=[PswrdSettings_Group]

[PswrdSettings_Group]
props=$DlgBodyAttr sz(p,a)
AskPswrdPasswordGuiGroup=[AskPswrdPasswordGui_Group] usefor($($IsAK,!))
AskPswrdPasswordAKGroup=[AskPswrdPasswordAK_Group] usefor($($IsAK))
AskPswrdSettingsGroup=[AskPswrdSettingsGroup_Group]

[AskPswrdPasswordGui_Group]
props=sz(p,a)
OG_Ico= a(lt) i(password) sz(32,32) xy(5,20)
OldPswdText	= xy(50, 3)
OldPswdEdit	= $SettingPswrd_Edit v($(OldPswdr))
NewPswdText	= a(la) xy(50,7)
NewPswdEdit	= $SettingPswrd_Edit v($(NewPswdr))
ConfPswdText= a(la) xy(50,7)
ConfPswdEdit= $SettingPswrd_Edit v($(NewPswdr2))

[AskPswrdPasswordAK_Group]
props=sz(p,a)
OG_Ico= a(lt) i(password) sz(32,32) xy(5,7)
PswdText	= xy(50, 3)
NewPswdEdit	= $SettingPswrd_Edit v($(NewPswdr))
ConfPswdText= a(la) xy(50,7)
ConfPswdEdit= $SettingPswrd_Edit v($(NewPswdr2))

[AskPswrdSettingsGroup_Group]
props=$SettingsGroupNext sz(p,a) v($(AskPswrdAlwaysExeptsAlerts))
All                 =t(radio) $First_Control v(1)
Selected            =t(radio) $Next_Control v(0)
WhenSaveSetting		=$Checkbox a(la) xy(20,5) v($(AskWhenSaveSetting)) disable($(AskPswrdAlwaysExeptsAlerts,!,EnableIfNotZero))
WhenExitApp			=$Checkbox $Next_Control a(sa) v($(AskWhenExitApp)) disable($(AskPswrdAlwaysExeptsAlerts,!,EnableIfNotZero))
WhenStopProtection	=$Checkbox $Next_Control a(sa) v($(AskWhenStopProtection)) disable($(AskPswrdAlwaysExeptsAlerts,!,EnableIfNotZero))

;------------- SettingsWindow.ConfigureUPassword -----------

[SettingsWindow.ConfigureUPassword]
$dlg_enable_ok=$(EnableUPswrdProtect,EnableIfNotZero)

props=$DlgAttr alias(upswrdprotectsettdlg) sz(290,a) h(9990)
Body=[ConfigureUPassword_Body]

[ConfigureUPassword_Body]
props=$DlgBodyAttr sz(p,a)
UPwd=[ConfigureUPassword_Pwd]

[ConfigureUPassword_Pwd]
props=$SettingsGroupFirst sz(p,a)
UninstallPswdText = a(la) 
UninstallPswdEdit = $SettingPswrd_Edit v($(NewPswdr))
ConfUnPswdText    = a(la) xy(,$Control_Shift)
ConfUnPswdEdit    = $SettingPswrd_Edit v($(NewPswdr2))

;------------- SettingsWindow.CheckPassword -----------

[SettingsWindow.CheckPassword]
props=$DlgAttr sz(300,a) h(1252)
Body=[CheckPassword_Body]

[CheckPassword_Body]
props=$DlgBodyAttr sz(p,a)
Descr=[CheckPassword_Descr]
EditBlock=[CheckPassword_Edit]

[CheckPassword_Descr]
props=sz(p,a) a(la) xy(,5)
Ico=i(password)
DescrText=a(as) sz(p) xy(5) text($(Reason,PasswordConfirmReason))

[CheckPassword_Edit]
props=sz(p,a) a(la) xy(,5)
Pswd2CheckText=xy(,2)
Pswd2CheckEdit=t(edit) a(at) xy(5) sz(p) at(password) v($(OldPswdr))
Pswd2Save=$Checkbox a(sa) xy(,5,,5) v($(SavePswdr)) hide($(Reason,IsShowSavePassword,ShowIfNotZero))

;------------- SettingsWindow.MultiCPUDlg -----------

[SettingsWindow.MultiCPUDlg]
props=$DlgAttr sz(320,a) h(1306)
Body=[MultiCPUDlg_Body]

[MultiCPUDlg_Body]
props=$DlgBodyAttr sz(p,a)
EngineNumber=[Engine_Number]
CPUNumber=[CPU_Number] usefor($IsNotAkPolicy)

[Engine_Number]
props=$SettingsGroupFirst sz(p,a)
Text1=$First_Control sz(p,a)
Engines=t(edit) at(number) a(rs) sz(65) nl(1,10) xy(0,$Edit_CenterOffsetY) v($(OasInstances))
UseTSP=$Checkbox $Next_Control v($(AVService.MultiThreaded))

[CPU_Number]
props = $SettingsGroupNext sz(p,200) disable($(AVService.MultiThreaded,=,0,EnableIfNotZero))
List  = t(list) alias(affinity) at(checked,noheader) sz(p,p) v($(AffinityMask))

;------------- ReportWindow.Protection -----------

[Report_Body.StatisticsLeft.Protection]
props=$StatLeft
Scanned=a(lt) $StatValLeft v($(AVService.NumGenericScaned))
Detected=a(la) $StatValLeft $Detected
Untreated=a(la) $StatValLeft $Untreated
AttacksBlocked=a(la) $StatValLeft at(nobindhide) v($(ids.AttacksDetected)) f($(ids.AttacksDetected,Font_Normal_BoldRed))

[Report_Body.ReportDetails.Protection]
props=$Tab $ReportDetails
Threats=[Task_Report_Detected]
Events=[Protection_Report] h(1208)
Reports=[Reports] h(1205)
Quarantine=[Quarantine] h(1199)
Backup=[Backup] h(1202)
;Statistics=[Report_Body.Protection.Statistics] h(1209)

[Protection_Report]
Actions=$ReportActions
EventsLog=[Report_Body.ReportDetails.Protection.Events] a(lp) sz(p,p)

[Report_Body.ReportDetails.Protection.Events]
props=t(list) at(sorted) alias(taskreport) v(eventlog)
ReportTime=sz(135) v($(ReportTime,datetime)) at(index)
Event=sz(p,75) v($(EventID,notification,ProtectionEventlogItem)$(Severity,ProductNotificationReportIcon))

[Report_Body.ReportDetails.Protection.Events.menu]
props         = t(menu)
AddToExclude  = $AddToExcludeMenuItem
GotoFile      = $GotoFileMenuItem
Separator     = t(menuitem)
ViewOnWeb     = $ViewOnWebMenuItem
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

[Report_Body.Protection.Statistics]
$Statistics_Item  =t(value) sz(p,20) va(l,r)
$Statistics_First =$Statistics_Item a(lt)
$Statistics_Next  =$Statistics_Item a(la)

props         = mg(8,8) sz(p,p)
LastUpdate    = $Statistics_First                v($(LastSuccessfulUpdate,LastUpdate_SuccCompleted_Time))
LastScan      = $Statistics_Next                 v($(LastSuccessfulFullScan,LastScan_SuccCompleted_Time))
FilesScanned  = $Statistics_Next  at(nobindhide) v($(AVService.NumGenericScaned) ($ThreatsDetected ($File_Monitor) $(File_Monitoring.NumDetected)))
MailsScaned   = $Statistics_Next  at(nobindhide) v($(AVService.NumMailScaned) ($ThreatsDetected $(Mail_Monitoring.NumDetected)))
ScriptsScaned = $Statistics_Next  at(nobindhide) v($(AVService.NumScriptScaned) ($ThreatsDetected $(sc.NumThreats,+,httpscan.NumThreats)))
TotalSpam     = $Statistics_Next  at(nobindhide) v($(Anti_Spam.MailSpamCount))
PDMBlocked    = $Statistics_Next  at(nobindhide) v($(pdm.TreatsBlocked) ($Quarantined $(pdm.TreatsQuarantined)))
OGBlocked     = $Statistics_Next  at(nobindhide) v($(og.MacrosTerminated))
