;------------- Settings Window -----------

[Templates]
$SettingsBodyAttr=a(la) sz(p,p) xy(,6) mg(5,5) at(body)
$SettingsViewPanelAttr=a(r) sz(343,p) bg(GroupBody) order(NavigatorBG) xy(,,,$DialogPanelSizeY)
$SettingsViewPanel=alias(settingsview) $SettingsViewPanelAttr
$SettingsViewHeader=f(Header1) mg(4,0) at(singleline,fixstyle) bg(GroupHeader) sz(p,25) usefor($($IsAK,!))

$ProtectionLevelFields=level,ScanFilter,ScanPacked,ScanArchived,ScanSFXArchived,ScanMailBases,ScanPlainMail,ScanOLE,CodeAnalyzer,DetectMask,UseIChecker,UseMSVerify,UseIStreams,ABSNumber,TryDeleteContainer,AskPassword,RegisterThreats,UseSizeLimit,SizeLimit,UseTimeLimit,TimeLimit,ExcludeByMask,ExcludeList,IncludeByMask,IncludeList,DetectByMaskAction,DetectMasksList,TimeoutForCancelRequest,ScanUnchangedObjects,ForUnchangedObjects,MandatoryScanPeriod
$SleepModeFields=smode.EnablePeriod,smode.From,smode.To,smode.EnableAppList,smode.AppList
$ScanObjectsLevelFields=$ProtectionLevelFields,ScanRemovable,ScanFixed,ScanNetwork,ScanSectors,WorkingMode,$SleepModeFields
$OdsLevelFields=$ScanObjectsLevelFields,ScanMemory,ScanStartUpObjects,ScanMail,ScanNTFSStreams,CountProgress,SyncPostponeProcess
$OasLevelFields=$ScanObjectsLevelFields,ScanObjects,UseCompoundPostponeSize,CompoundPostponeSize
$McLevelFields=$ProtectionLevelFields,CheckIncomingMessagesOnly
$ScLevelFields=$ProtectionLevelFields,httpscan.TrustedSites,httpscan.HTTPSettings
$AsLevelFields=level,UseWhiteAddresses,UseBlackAddresses,UseWhiteWords,UseBlackWords,UseBayesian,ProbableSpamHighLevel,ProbableSpamLowLevel,UseGSG,UsePDB
$ScanActionFields=ScanAction,TryDisinfect,TryDelete
$HttpActionFields=httpscan.ScanAction,httpscan.TryDisinfect,httpscan.TryDelete
$OasActionFields=$ScanActionFields,BanUser,BanUserPeriod,SendNotification,SendTemplate
$UpdaterProxyFields=UseProxy,UseIEProxySettings,ProxyHost,ProxyPort,ProxyAuth,UseNTLMAuth,UseProxyCredentials,ProxyLogin,ProxyPassword,BypassProxyForLocalServer
$UpdaterLANFields=$UpdaterProxyFields,FTPPassive,FTPConnTimeout,Sources,UseInternalSources,AKServerUse,UseRegion,Region
$UpdaterRetrFields=UseRetr2,RetrPath,RetranslateAll
$AsConnectivityFields=CheckExternalPluginMessages,CheckTrafficMonitorMessages
$McConnectivityFields=CheckExternalPluginMessages,CheckTrafficMonitorMessages
$ScConnectivityFields=httpscan.enabled,sc.enabled

[SettingsWindow]
props=$DlgAttr at(minimizable,dragable) sz(555,435)
NavigatorBG=[SettingsWindowNavigatorGroup]

[SettingsViewStartup_Group]
props=$SettingsGroupFirst sz(p,a) usefor($($IsAK,!))
Startup=$Checkbox sz(a,a) v($(enabled)) tt($(enabled, SettingsViewStartup_GroupStartups))

[SettingsViewStartup]
props=a(la) sz(p,a) usefor($($IsAK)) lb(v($(flags,fld(enabled))))
Startup=$Checkbox sz(a,a) v($(enabled))

[Treat_Group]
props=$SettingsGroupNext sz(p,a) v($(ScanAction)) disable($(enabled,EnableIfNotZero))
Ask=$Radio $First_Control v(1)	tt($Treat_Group_Ask)
DontAsk=$Radio $Next_Control v(4)	tt($Treat_Group_DontAsk)
TryDisinfect=$Checkbox a(la) xy($DenendedCtrlOffset,7) v($(TryDisinfect)) disable($(ScanAction,EnableIfDisinfect))	tt($Treat_Group_TryDisinfect)
TryDelete=$Checkbox a(la) xy($DenendedCtrlOffset,7) v($(TryDelete)) disable($(ScanAction,EnableIfDisinfect))		tt($Treat_Group_TryDelete)

;------------- SettingsWindowNavigator -----------

[SettingsWindowNavigatorGroup]
props=sz(190,p) at(fixstyle) bg(GroupBody) order(0) xy(,,,$DialogPanelSizeY)
_Settings=$Group_Header i(Settings)
Body=[SettingsWindowNavigatorGroup_Body]

[SettingsWindowNavigatorGroup_Body]
props=a(la) sz(p,p) xy(,6) mg(5,5)
Navigator=[SettingsNavigatorWindow]

[SettingsNavigatorWindow]
props               = t(tree) at(noborder) a(la) sz(p,p)
Protection          = text($Protection) [SettingsNavigatorWindow_Protection]
Scan_Objects        = text($Scan)       [SettingsNavigatorWindow_Scan]
Service             = text($Service)    [SettingsNavigatorWindow_Options]

[SettingsNavigatorWindow_Protection]
File_Monitoring     = usefor($(File_Monitoring.enabled,bindok))     text($File_Monitor)
Mail_Monitoring     = usefor($(Mail_Monitoring.enabled,bindok))     text($Mail_Monitor)
Web_Monitoring      = usefor($(Web_Monitoring.enabled,bindok))      text($Web_Monitor)
Behavior_Blocking   = usefor($(Behavior_Blocking.enabled,bindok))   text($Behavior_Monitor)
Behavior_Blocking2  = usefor($(Behavior_Blocking2.enabled,bindok))  text($Behavior_Monitor)
Anti_Spy            = usefor($(Anti_Spy.enabled,bindok))            text($Anti_Spy)
Anti_Hacker         = usefor($(Anti_Hacker.enabled,bindok))         text($Anti_Hacker)
Anti_Spam           = usefor($(Anti_Spam.enabled,bindok))           text($Anti_Spam)

[SettingsNavigatorWindow_Scan]
Scan_Critical_Areas = usefor($(Scan_Critical_Areas.enabled,bindok)) text($Scan_Critical_Areas_Short)
Scan_My_Computer    = usefor($(Scan_My_Computer.enabled,bindok))    text($Scan_My_Computer_Short)
Scan_Startup        = usefor($(Scan_Startup.enabled,bindok))        text($Scan_Startup_Short)

[SettingsNavigatorWindow_Options]
Updater             = usefor($(Updater.enabled,bindok))             text($Update)
Retranslation       = usefor($(Retranslation.enabled,bindok))       text($Retranslation)
DataFiles           =                                               text($DataFiles)
NetworkSettings     =                                               text($NetworkSettings) at(nobindhide) hide($(TrafficMonitor.enabled,Dummy))
Display             =                                               text($Display)

[SettingsNavigatorWindow_ScanTemplate]
props               =                                               text($Scan_Critical_Areas_Short)

[SettingsNavigatorWindow_UpdaterTemplate]
props               =                                               text($Update)

;------------- SettingsWindow.Policy.Wizard -----------

[SettingsWindow.Protection.Policy.Wizard]
props=$SettingsViewPanel h(9999)
Group=[Protection.Policy.Wizard.Group]

[Protection.Policy.Wizard.Group]
props=sz(p,p)
Tree=[Protection.Policy.Wizard.Tree] xy(,,,30)
Configure=$Button_Medium  a(rb)

[Protection.Policy.Wizard.Tree]
props=t(list) at(checked,noheader) alias(policytree) sz(p,p)
Item=v($(description),$(enabled))

;------------- SettingsWindow.AK -----------

[PolicySettingsAK]
$SettingsViewPanelAttr=a(la) sz(p,p)
$SettingsViewPanel=alias(settingsview) $SettingsViewPanelAttr
props=t(propsheetpage) sz(385,360) mg(10,7) h(1001)
PageCombo=t(combo) $First_Control sz(p) dl(20)

[PolicyConfigureAK]
$SettingsViewPanelAttr=a(lt) sz(p,p)
$SettingsViewPanel=alias(settingsview) $SettingsViewPanelAttr
props=$DlgAttr sz(395,400)

[ProductSettingsAK]
$SettingsViewPanelAttr=a(la) sz(p,p)
$SettingsViewPanel=alias(settingsview) $SettingsViewPanelAttr
props=t(propsheetpage) sz(385,360) mg(10,7) h(1001)
PageCombo=t(combo) $First_Control sz(p)

[TaskSettingsAK]
$SettingsViewPanelAttr=a(la) sz(p,p)
$SettingsViewPanel=alias(settingsview) $SettingsViewPanelAttr
props=t(propsheetpage) sz(385,360) mg(10,7) h(1001)

[AkPolicyWizard]
Protection        = fld(enabled,RunAtSystemStartup,OasInstances,BatterySafe,AVService.DetectMask,AVService.UseActiveDisinfection,AVService.UseABS,AVService.MultiThreaded,AVService.Excludes,ProcMon.aItems)
File_Monitoring   = fld(enabled,$OasLevelFields,$OasActionFields)
Mail_Monitoring   = fld(enabled,$McLevelFields,$ScanActionFields,$McConnectivityFields)
Web_Monitoring    = fld(enabled,$ScLevelFields,$HttpActionFields,$ScConnectivityFields)
Behavior_Blocking = fld(enabled,pdm.bBehaviourEnabled,pdm.Set,pdm.bAppMonitoring_Enabled,pdm.AppsMonitoring_List,pdm.bTrustSystemModules,pdm.TrustedImageList,pdm.bRegMonitoring_Enabled,pdm.RegGroup_List,og.enabled,og.EventAnswers,og.UseVector,og.ActivityAsk,og.BlockMacro,og.TerminateScript)
Anti_Spy          = fld(enabled,antiphishing.enabled,popupchk.enabled,popupchk.bAllowFromTrustedZone,popupchk.bAllowFromIntranetZone,popupchk.vAllowDomainsList,antidial.enabled,antidial.vAllowPhoneNumbersList,AdBlocker.enabled)
Anti_Hacker       = fld(enabled,fw.enabled,fw.ProtectionLevel,fw.PortRules,fw.AppRules,fw.KnownNetworks,fw.StealthEnabled,fw.RefreshIPTimeout,fw.NdisCheckTdi,ids.enabled,ids.EnableBan,ids.BanTimeout)
Anti_Spam         = fld(enabled,$AsLevelFields,$AsConnectivityFields)

[PolicyLockButton]
props=t(lockbutton) sz(14,14) at(fixstyle) bg(LockButton,0,1,2,3) xy(,,4)

[PolicyLockButtonForGroup]
props=t(lockbutton) sz(14,14) at(fixstyle,noparentdisable) bg(LockButton,0,1,2,3) a(rt) xy(0,-21)

[PolicyLockButtonForLine]
props=t(lockbutton) sz(14,14) at(fixstyle) bg(LockButton,0,1,2,3) a(rs) xy(0,-7)

[AkStatistics]
Protection        = [AkStatistics.Protection]
FileMonitor       = [AkStatistics.FileMonitor]     usefor($(File_Monitoring.enabled,bindok))
MailMonitor       = [AkStatistics.MailMonitor]     usefor($(Mail_Monitoring.enabled,bindok))
WebMonitor        = [AkStatistics.WebMonitor]      usefor($(Web_Monitoring.enabled,bindok))
BehaviourBlocking = [AkStatistics.BehaviorMonitor] usefor($(Behavior_Blocking.enabled,bindok))
BehaviourBlocking2= [AkStatistics.BehaviorMonitor2] usefor($(Behavior_Blocking2.enabled,bindok))
AntiSpy           = [AkStatistics.AntiSpy]         usefor($(Anti_Spy.enabled,bindok))
AntiHacker        = [AkStatistics.AntiHacker]      usefor($(Anti_Hacker.enabled,bindok))
AntiSpam          = [AkStatistics.AntiSpam]        usefor($(Anti_Spam.enabled,bindok))

[AkStatistics.Protection]
PublishDate=v($(AVService.BasesDate,datetime))
SignaturesCount=v($(AVService.NumRecords))
LastUpdate=v($(Protection.LastSuccessfulUpdate,datetime))
LastFullscan=v($(Protection.LastSuccessfulFullScan,datetime))
TotalChecked=v($(AVService.NumGenericScaned))
ThreatsDetected=v($(AVService.NumThreats))
;SuspiciousDetected=v($(AVService.NumDetectedSusp))
;ThreatsDisinfected=v($(AVService.NumThreats,-,AVService.NumUntreated))
ThreatsUntreated=v($(AVService.NumUntreated))
;ObjectsQuarantined=
;ObjectsBackuped=
;QuarantineSize=
;BackupSize=
;ReportsSize=
AttacksDetected=v($(ids.AttacksDetected)) usefor($(ids.enabled,bindok))
SpamDetected=v($(Anti_Spam.MailSpamCount)) usefor($(Anti_Spam.enabled,bindok))

[AkStatistics.FileMonitor]
TotalChecked=v($(File_Monitoring.NumScaned))
LastChecked=v($(File_Monitoring.CurObject))
ThreatsDetected=v($(File_Monitoring.NumThreats))
SuspiciousDetected=v($(File_Monitoring.NumDetectedSusp))
ThreatsDisinfected=v($(File_Monitoring.NumDisinfected))
ThreatsDeleted=v($(File_Monitoring.NumDeleted))
ThreatsQuarantined=v($(File_Monitoring.NumQuarantined))
ThreatsUntreated=v($(File_Monitoring.NumUntreated))
ScanErrors=v($(File_Monitoring.NumScanErrors))

[AkStatistics.MailMonitor]
TotalChecked=v($(Mail_Monitoring.NumScaned))
ThreatsDetected=v($(Mail_Monitoring.NumThreats))
SuspiciousDetected=v($(Mail_Monitoring.NumDetectedSusp))
ThreatsDisinfected=v($(Mail_Monitoring.NumDisinfected))
ThreatsDeleted=v($(Mail_Monitoring.NumDeleted))
ThreatsUntreated=v($(Mail_Monitoring.NumUntreated))
ScanErrors=v($(Mail_Monitoring.NumScanErrors))

[AkStatistics.WebMonitor]
DetectedOnTraff=v($(httpscan.NumDetected))
DetectedScripts=v($(sc.NumDetected))

[AkStatistics.BehaviorMonitor]
TotalChecked=v($(pdm.ProcessedEvents))
TreatsBlocked=v($(pdm.TreatsBlocked))
MacrosChecked=v($(og.EventsProcessed))
MacrosBlocked=v($(og.EventsBlocked))

[AkStatistics.BehaviorMonitor2]
TotalChecked=v($(pdm2.nTreats))
TreatsBlocked=v($(pdm2.nTreatsBlocked))

[AkStatistics.AntiSpy]
FishingAttemptsBlocked=v($(antiphishing.nURLsDetected))
PopupsBlocked=v($(popupchk.nPopupsBlocked))
;BannersBlocked=v($())
DailAttemptsBlocked=v($(antidial.nDialsBlocked))

[AkStatistics.AntiHacker]
AttacksDetected=v($(ids.AttacksDetected))
LastAttackTime=v($(ids.AttackLastTime,datetime))

[AkStatistics.AntiSpam]
TotalChecked=v($(Anti_Spam.MailCount))
SpamDetected=v($(Anti_Spam.MailSpamCount))
SpamBaseSize=v($(Anti_Spam.SpamBaseSize))
HamBaseSize=v($(Anti_Spam.HamBaseSize))

[AkStatistics.ScanObjects]
TotalChecked=v($(NumScaned))
LastChecked=v($(CurObject))
ThreatsDetected=v($(NumThreats))
SuspiciousDetected=v($(NumDetectedSusp))
ThreatsDisinfected=v($(NumDisinfected))
ThreatsDeleted=v($(NumDeleted))
ThreatsQuarantined=v($(NumQuarantined))
ThreatsUntreated=v($(NumUntreated))
ScanErrors=v($(NumScanErrors))

;------------- SettingsWindow.InstallPrepare -----------

[SettingsWindow.InstallPrepare]
props=$SettingsViewPanel alias(wksinstall) h(9991)
Body=[SettingsWindow.InstallPrepare_Body]

[SettingsWindow.InstallPrepare_Body]
props=$SettingsBodyAttr
ComponentsLable   = $First_Control
Components        = t(list) alias(flagslist) a(la) sz(p,72) at(checked,noheader) v($(nVal1))
TasksLable        = $Next_Control
Tasks             = t(list) alias(flagslist) a(la) sz(p,72) at(checked,noheader) v($(nVal1))
InstallPathLable  = $Next_Control
InstallPath       = t(edit) at(rememberdata) a(la) sz(p) v($(strVal1))
ConfigLable       = $Next_Control
ConfigPath        = t(edit) at(rememberdata) a(la) sz(p) xy(,,$ButtonsLineSizeX) v($(strVal2))
ConfigPathBrowse  = $Button a(rs) xy(,-1) v(browse:fileopen(strVal2,BrowseForCfg) flt(cfg)) text($Browse)
UseEnvironment    = $Checkbox $Next_Control bits(#iciEnvironment) v($(nVal1))
UseMsExclusions   = $Checkbox $Next_Control bits(#iciMsExclusions) v($(nVal1)) usefor($IsFS)
SelfProtection    = $Checkbox $Next_Control bits(#iciSelfProtection) v($(nVal1))

[SettingsWindow.InstallPrepare_Body.Components.items]
FileMonitor    = v(#iciFileMonitor)    text($File_Monitor)
MailMonitor    = v(#iciMailMonitor)    text($Mail_Monitor)     usefor($IsWKS)
WebMonitor     = v(#iciWebMonitor)     text($Web_Monitor)      usefor($IsWKS)
Pdm            = v(#iciPdm)            text($Behavior_Monitor) usefor($IsWKS)
AntiSpy        = v(#iciAntiSpy)        text($Anti_Spy)         usefor($IsWKS)
AntiHacker     = v(#iciAntiHacker)     text($Anti_Hacker)      usefor($IsWKS)
AntiSpam       = v(#iciAntiSpam)       text($Anti_Spam)        usefor($IsWKS)

[SettingsWindow.InstallPrepare_Body.Tasks.items]
ScanMyComputer = v(#iciScanMyComputer) text($Scan_My_Computer)
ScanStartup    = v(#iciScanStartup)    text($Scan_Startup)
ScanCritical   = v(#iciScanCritical)   text($Scan_Critical_Areas)
Updater        = v(#iciUpdater)        text($Update)
; задача ретрансляции была слита с обновлением
;Retranslation  = v(#iciRetranslation)  text($Retranslation)

;------------- SettingsWindow.LicMgr -----------

[SettingsWindow.LicMgr]
props=$SettingsViewPanel alias(licmgr) h(9994)
Header=$SettingsViewHeader i(ah)
Body=[SettingsWindow.LicMgr_Body]

[SettingsWindow.LicMgr_Body]
props=$SettingsBodyAttr
KeyFile=[LicenseKeyFile]
KeyInfo=[LicenseKeyInfo] a(la)

[LicenseKeyFile]
props=$SettingsGroupFirst sz(p,a)
KeyFile   = t(edit) a(lt) sz(p) xy(,,80) at(readonly) v($(FileName))
Browse    = $Button a(rs) text($Browse)
Secondary = $Checkbox $Next_Control v($(Secondary))

;------------- SettingsWindow.ScheduleChange -----------

[SettingsWindow.ScheduleChange]
$dlg_enable_ok = $(schedule.Type,ScheduleChange_OK_Disable)
$dlg_help_id   = $(type,ScheduleChangeDlg_HelpId)
props          = $DlgAttr sz(305,265) alias(scheduler)
Dlg            = [SettingsWindow.ScheduleChange.Dlg]

[SettingsWindow.ScheduleChange.Dlg]
$SchedulePage    = $GroupBox xy(0,55)
props            = $DlgBodyAttr
SchedulePattern  = [Schedule_Pattern]
OnceSettings     = [Once_Settings]
AtStartup        = [AtStartup_Settings]
AfterUpdate      = [AfterUpdate_Settings]
MinutelySettings = [Minutely_Settings]
HourlySettings   = [Hourly_Settings]
DailySettings    = [Daily_Settings]
WeeklySettings   = [Weekly_Settings]
MonthlySettings  = [Monthly_Settings]
TimeText         = $Checkbox xy(11,150) v($(schedule.UseTime)) hide($(schedule.Type,SchedTime_Settings_Hide))
Time             = t(timeedit) a(as) xy(5,-4) sz(100,22) v($(schedule.Time)) disable($(schedule.UseTime,EnableIfNotZero)) hide($(schedule.Type,SchedTime_Settings_Hide))
RunIfSkipped     = $Checkbox xy(11,175) v($(schedule.RaiseIfSkipped)) hide($(schedule.Type,Schedule_RunIfSkipped_Show,ShowIfNotZero))

[Schedule_Pattern]
props=$SettingsGroupFirst sz(p,a)
SchedType=t(combo) sz(p) $First_Control v($(schedule.Type))

[Schedule_Pattern.SchedType]
0=v(0)
1=v(1)
2=v(2)
3=v(3)
4=v(4)
5=v(5)
6=v(6)
7=v(7)usefor($(type,=,ods))

[Minutely_Settings]
props=at(hide) $SchedulePage sz(p,145) hide($(schedule.Type,=,0,ShowIfNotZero)) mg(9,30)
MinuteEvery=$First_Control
MinuteEdit=t(edit) at(number) a(as) sz(50) nl(5,59) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(schedule.MinutesCount))
MinuteLalel=a(as) xy(10,3)

[Hourly_Settings]
props=at(hide) $SchedulePage sz(p,145) hide($(schedule.Type,=,1,ShowIfNotZero)) mg(9,30)
HourEvery=$First_Control
HourEdit=t(edit) at(number) a(as) sz(50) nl(1,23) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(schedule.HoursCount))
HourLalel=a(as) xy(10,3)

[Daily_Settings]
props=at(hide) $SchedulePage sz(p,145) v($(schedule.Every)) hide($(schedule.Type,=,2,ShowIfNotZero)) mg(9,10)
DayRadio=$Radio $First_Control v(0)
DayEdit=t(edit) at(number) a(as) sz(50) nl(1,999) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(schedule.DaysCount)) disable($(schedule.Every,!,EnableIfNotZero))
DayLalel=a(as) xy(10, 3)
Weekday=$Radio $Next_Control v(1)
Holiday=$Radio $Next_Control v(2)

[Weekly_Settings]
props=at(hide) $SchedulePage sz(p,145) hide($(schedule.Type,=,3,ShowIfNotZero)) mg(9,10)
WeekDay0Text=a(la) xy(1,15) sz(25) text($WeekDay0Text)
WeekDay1Text=a(as) xy(15) sz(25) text($WeekDay1Text)
WeekDay2Text=a(as) xy(15) sz(25) text($WeekDay2Text)
WeekDay3Text=a(as) xy(15) sz(25) text($WeekDay3Text)
WeekDay4Text=a(as) xy(15) sz(25) text($WeekDay4Text)
WeekDay5Text=a(as) xy(15) sz(25) text($WeekDay5Text)
WeekDay6Text=a(as) xy(15) sz(25) text($WeekDay6Text)
WeekDay0Check=$Checkbox a(la) xy(0,2) sz(14,14)
WeekDay1Check=$Checkbox a(as) xy(26) sz(14,14)
WeekDay2Check=$Checkbox a(as) xy(26) sz(14,14)
WeekDay3Check=$Checkbox a(as) xy(26) sz(14,14)
WeekDay4Check=$Checkbox a(as) xy(26) sz(14,14)
WeekDay5Check=$Checkbox a(as) xy(26) sz(14,14)
WeekDay6Check=$Checkbox a(as) xy(26) sz(14,14)

[Monthly_Settings]
props=at(hide) $SchedulePage sz(p,145) hide($(schedule.Type,=,5,ShowIfNotZero)) mg(9,30)
MonthEvery=$First_Control
MonthEdit=t(edit) at(number) a(as) sz(50) nl(1,31) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(schedule.DaysCount))
MonthLalel=a(as) xy(10,3)

[Once_Settings]
props=at(hide) $SchedulePage sz(p,145) hide($(schedule.Type,=,4,ShowIfNotZero)) mg(9,30)
DateText=$First_Control
Date=t(timeedit) at(date) a(as) xy(5,-4) sz(150,22) v($(schedule.Time))

[AtStartup_Settings]
props=at(hide) $SchedulePage sz(p,145) hide($(schedule.Type,=,6,ShowIfNotZero)) mg(9,30)
AtStartup=$First_Control
AtStartupEdit=t(edit) at(number) a(as) sz(50) nl(0,60) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v($(schedule.StartDelay))
AtStartupLalel=a(as) xy(10,3)

[AfterUpdate_Settings]
props=at(hide) $SchedulePage sz(p,145) hide($(schedule.Type,=,7,ShowIfNotZero)) mg(9,30)

;------------- SettingsWindow.Reset -----------

[SettingsWindow.Reset]
props     = $DlgAttr sz(350,a) h(1066)
Dlg       = [SettingsWindow.Reset.Dlg]

[SettingsWindow.Reset.Dlg]
props     = $DlgBodyAttr sz(p,a)
Caption   = [SettingsWindow.ResetCaption] a(lt) sz(p,a) xy(,,,$Control_Shift)
ResetArea = [SettingsWindow.Reset.ResetArea]

[SettingsWindow.ResetCaption]
Ico       = $First_Control i(i32)
Text      = a(as) xy(5,2) sz(p,a)

[SettingsWindow.Reset.ResetArea]
props     = t(list) a(la) at(checked,noheader) sz(p,60) alias(vector.cResetItem) v($(ResetItems))
Item      = v($(Name),$(Enabled))

;------------- LevelGroup -----------

[LevelGroup3]
$ProtLevelAttr=a(lt) xy(50,5) sz(a,a)
props=$SettingsGroupFirst sz(p,105) disable($(enabled,EnableIfNotZero))
ProtLevel=t(slider) sz(46,p) nl(0,2) at(vertical) v($(level)) alias(protlevel) disable($(level,HideLevel_Custom))
ProtGroup=a(at) xy(10) [ProtLevelGroup]
Reset=$Button_Medium a(rb) tt($GroupLevelReset) v(reset) disable($(level,EnableIfNotZero))
Customize=$Button_Medium a(pb) xy($Button_Shift,0) tt($GroupLevelCustomize) v(dialog:)

[LevelGroup5]
$ProtLevelAttr=a(lt) xy(50,5) sz(a,a)
props=$SettingsGroupNext sz(p,105) disable($(enabled,EnableIfNotZero))
ProtLevel=t(slider) sz(46,p) nl(0,4) at(vertical) v($(level)) alias(protlevel) disable($(level,HideLevel_Custom))
ProtGroup=a(at) xy(10) [ProtLevelGroup]
Reset=$Button_Medium a(rb) tt($GroupLevelReset) v(reset) disable($(level,EnableIfNotZero))
Customize=$Button_Medium a(pb) xy($Button_Shift,0) tt($GroupLevelCustomize) v(dialog:)

[ProtLevelGroup]
props=sz(a,a)
ProtLevelHighest     =[ProtLevelHighest]		tt($ProtLevelGroup_ProtLevelHighest)
ProtLevelHigh        =[ProtLevelHigh]		tt($ProtLevelGroup_ProtLevelHigh)
ProtLevelRecommended =[ProtLevelRecommended]	tt($ProtLevelGroup_ProtLevelRecommended)
ProtLevelLow         =[ProtLevelLow]		tt($ProtLevelGroup_ProtLevelLow)
ProtLevelLowest      =[ProtLevelLowest]		tt($ProtLevelGroup_ProtLevelLowest)
ProtLevelCustom      =[ProtLevelCustom]		tt($ProtLevelGroup_ProtLevelCustom)

[ProtLevelHighest]
props=sz(a,a) hide($(level,ShowLevel_Highest))
HeaderText=f(Bold) a(lt)
BodyText1=a(la) xy(10,0) text($(type,HighestText1))
BodyText2=a(la) xy(10,0) text($(type,HighestText2))
;BodyText3=a(la) xy(10,0) text($(type,HighestText3))

[ProtLevelHigh]
props=sz(a,a) hide($(level,ShowLevel_High))
HeaderText=f(Bold) a(lt)
BodyText1=a(la) xy(10,0) text($(type,HighText1))
BodyText2=a(la) xy(10,0) text($(type,HighText2))
;BodyText3=a(la) xy(10,0) text($(type,HighText3))

[ProtLevelRecommended]
props=sz(a,a) hide($(level,ShowLevel_Recommended))
HeaderText=f(Bold) a(lt)
BodyText1=a(la) xy(10,0) text($(type,MidText1))
BodyText2=a(la) xy(10,0) text($(type,MidText2))
;BodyText3=a(la) xy(10,0) text($(type,MidText3))

[ProtLevelLow]
props=sz(a,a) hide($(level,ShowLevel_Low))
HeaderText=f(Bold) a(lt)
BodyText1=a(la) xy(10,0) text($(type,LowText1))
BodyText2=a(la) xy(10,0) text($(type,LowText2))
;BodyText3=a(la) xy(10,0) text($(type,LowText3))

[ProtLevelLowest]
props=sz(a,a) hide($(level,ShowLevel_Lowest))
HeaderText=f(Bold) a(lt)
BodyText1=a(la) xy(10,0) text($(type,LowestText1))
BodyText2=a(la) xy(10,0) text($(type,LowestText2))
;BodyText3=a(la) xy(10,0) text($(type,LowestText3))

[ProtLevelCustom]
props=sz(a,a) hide($(level,ShowLevel_Custom))
HeaderText=f(Bold) a(lt)
BodyText1=a(la) xy(10,0) sz(220,26)
BodyText2=a(la) xy(10,0) sz(220,26)
