[MainWindow.Protection] @ = $TaskTab ext(1) WorkArea = [MainWindow.Protection_WorkArea] [MainWindow.Protection_WorkArea] @ = $TaskWorkArea Home = [MainWindow.Protection_WorkArea_Home] [MainWindow.Protection_WorkArea_Home] @ = $TaskPanel ExpertView = [ProfileHome] subst(Tasks(use(0)) Group1([MainWindow.Protection_HomeLeft_Status_Body]) Group2([MainWindow.Protection_CommonStatistics]) ) [MainReport.Protection] @ = [ProfileReport] subst(Group1([MainReport.Protection_Events]) Group2([MainWindow.Protection_WorkArea_Statistics_StatList]) Group3([MainWindow.Antivirus_WorkArea_StatChart]))) [MainReport.Protection_Events] d = [Product_Events] subst(Report(v(#eTASK_GROUP_PROTECTION) prm(#dbRTP)) views([MainWindow.Protection_Filters])) [MainWindow.Protection_WorkArea_Statistics] @ = $TaskPanel StatList = [MainWindow.Protection_WorkArea_Statistics_StatList] [MainWindow.Protection_WorkArea_Statistics_StatList] @ = ext(1) List = [Product_Statistics_List] group(CounterGroup,(Counter<4?1:(Counter<30?2:3))) use(!$IsKAV) List = [Product_Statistics_List] filter(Counter<30) group(CounterGroup,(Counter<4?1:2)) use($IsKAV) [MainWindow.Protection_Filters] @ AllItems = v("12000100042d;Ti14100000a10000000000000000;Ta1000000066;Ve1000000097;De000000001e;De100000001e;De100000001f;De100000001e;Ex100000001e;Ap00000100a8;Pa0000000024;Na0000000021;PI0000000045;Co000000001e;Ac100000006c;Ob100000012b;Ty100000003c;Pa2000000068;Na2000000087;Re2000000050;") ByTask = v("1200010003a7;Ti14100000ae0000000000000000;Ve10000000af;De0000000023;De1000000023;De1000000021;De1000000024;Ex1000000024;Ap00000100a8;Pa000000002a;Na000000002a;PI000000002a;Co000000002a;Ta140201005c;Ac100000006c;Ob10000000e6;Ty100000003c;Pa2000000055;Na2000000055;Re2000000050;") at(default) ByApp = v("120001000383;Ti14100000ae0000000000000000;Ap04020100a8;Pa000000002a;Na000000002a;PI000000002a;Co000000002a;Ta100001007a;Ve1000000096;De000000001e;De100000001e;De100000001e;De100000001e;Ex100000001e;Ac100000007b;Ob10000000fa;Ty100000003c;Pa200000005f;Na200000005f;Re2000000050;") [MainWindow.Protection_HomeLeft_Status_Body] $BigNamesShift = 4 $SmallNamesShift = 0 @ = ext(1) sz(p,a) mg(15,15) Std = [MainWindow.Protection_HomeLeft_Status_Body_Std] Kav = [MainWindow.Protection_HomeLeft_Status_Body_Kav] [MainWindow.Protection_HomeLeft_Status_Body_Std] @ = sz(p,176) use(!$IsKAV) Row1 = [MainWindow.Protection_HomeLeft_Status_Body_Row1] Row2 = [MainWindow.Protection_HomeLeft_Status_Body_Row2] [MainWindow.Protection_HomeLeft_Status_Body_Kav] @ = sz(p,220) use($IsKAV) Row1 = [MainWindow.Protection_HomeLeft_Status_Body_Row1] Row2 = [MainWindow.Protection_HomeLeft_Status_Body_Row2] KavDescr = $KavDescr text($KavDescr_prot) [MainWindow.Protection_HomeLeft_Status_Body_Row1] @ = sz(p,a) xy(,,,10) Antivirus = [MainWindow.Protection_HomeLeft_Status_Body_Row2_Antivirus] OnlineSecurity = [MainWindow.Protection_HomeLeft_Status_Body_Row1_OnlineSecurity] [MainWindow.Protection_HomeLeft_Status_Body_Row1_SystemWatch] @ = sz(190,a) alias(taskview) use(f_isInstalled(ctl.id)) xy(,,10) Icon = i("TaskHIPS32") Name = a(at) xy($BigNamesShift,7) sz(a,a) text($ProfileName) f("ScanSubStatus") HipsTask = [TaskCheck] alias(taskview) a(sa) xy($SmallNamesShift,7) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) Firewall = [TaskCheck] alias(taskview) a(sa) xy(,3) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) pdm = [TaskCheck] alias(taskview) a(sa) xy(,3) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) [MainWindow.Protection_HomeLeft_Status_Body_Row1_OnlineSecurity] @ = sz(p,a) alias(taskview) a(at) use(f_isInstalled(ctl.id)) Icon = i("TaskOS32") Name = a(at) xy($BigNamesShift,7) sz(a,a) text($ProfileName) f("ScanSubStatus") antiphishing = [TaskCheck] alias(taskview) a(sa) xy($SmallNamesShift,7) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) ids = [TaskCheck] alias(taskview) a(sa) xy(,3) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) antidial = [TaskCheck] alias(taskview) a(sa) xy(,3) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) [MainWindow.Protection_HomeLeft_Status_Body_Row2] @ = sz(p,a) a(la) xy(,) SystemWatch = [MainWindow.Protection_HomeLeft_Status_Body_Row1_SystemWatch] ContentFilter = [MainWindow.Protection_HomeLeft_Status_Body_Row2_ContentFilter] [MainWindow.Protection_HomeLeft_Status_Body_Row2_Antivirus] @ = sz(190,a) alias(taskview) use(f_isInstalled(ctl.id)) xy(,,10) Icon = i("TaskAV32") Name = a(at) xy($BigNamesShift,7) sz(a,a) text($ProfileName) f("ScanSubStatus") File_Monitoring = [TaskCheck] alias(taskview) a(sa) xy($SmallNamesShift,7) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) Mail_Monitoring = [TaskCheck] alias(taskview) a(sa) xy(,3) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) Web_Monitoring = [TaskCheck] alias(taskview) a(sa) xy(,3) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) [MainWindow.Protection_HomeLeft_Status_Body_Row2_ContentFilter] @ = sz(p,a) alias(taskview) a(at) use(f_isInstalled(ctl.id)) Icon = i("TaskCF32") Name = a(at) xy($BigNamesShift,7) sz(a,a) text($ProfileName) f("ScanSubStatus") Anti_Spam = [TaskCheck] alias(taskview) a(sa) xy($SmallNamesShift,7) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) AdBlocker = [TaskCheck] alias(taskview) a(sa) xy(,3) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) ParCtl = [TaskCheck_ParCtl] alias(taskview) a(sa) xy(,3) subst(Text(f(s_ProfileSmallStateFont(state)))) use(f_isInstalled(ctl.id)) ;-------------------------------- MainWindow.License -------------------------------- [MainWindow.License] @ = $TaskTab ext(1) h(4505) WorkArea = [MainWindow.License_WorkArea] [MainWindow.License_WorkArea] @ = $TaskWorkArea Home = [ProfileHome] subst(Header(subst(Icon(i("TaskLicense")) Caption(text($License)) Description(text($LicenseDescr)))) Tasks(use(0)) Group1([MainWindow.License_WorkArea_Body]) Group2([MainWindow.License_WorkArea_Home_Actions])) [MainWindow.License_WorkArea_Body] KeysInfo = [MainWindow.License_WorkArea_Home_Keys] [MainWindow.License_WorkArea_Home_Keys] @ = sz(p,a) a(lc) KeysList = [KeysList] NonSubscrBlock = [NonSubscrBlock] visible(!$IsSubscription) SubscrBlock = [SubscrBlock] visible($IsSubscription) KeyLimitExceeded = [KeyLimitExceeded] BrokenKey = [BrokenKey] [KeysList] @ = sz(p,a) a(la) visible(LicInfo.KeyInfo.KeyType) Caption1 = f("Normal_Bold") at(fixstyle) a(lt) xy(,10) mg(5,0) ActiveSubs = [Value] a(la) xy(7,7) subst(Name(text(f_KeySerNum(LicInfo.KeyInfo.KeySerNum))) Val(a(lt) xy(250) text(f_KeyTypeDescription(LicInfo.KeyInfo)))) visible($IsSubscription && !$KeyDebug) ActiveKey = [Value] a(la) xy(7,7) subst(Name(text(f_KeySerNum(LicInfo.KeyInfo.KeySerNum))) Val($Link a(lt) xy(250) text(f_KeyTypeDescription(LicInfo.KeyInfo)) onclick(dialog("LicenseKeys")))) visible(!$IsSubscription || $KeyDebug) ReservedKey = [Value] a(la) xy(7,7) subst(Name(text(f_KeySerNum(ResLicInfo.KeyInfo.KeySerNum))) Val($Link a(lt) xy(250) text(f_KeyTypeDescription(ResLicInfo.KeyInfo)) onclick(dialog("LicenseKeys")))) visible(ResLicInfo.KeyInfo.KeyType) [NoKeyStatus] @ = sz(p,a) a(la) xy(,$Control_Shift) visible(global.KeyState & (#eKeyExpired | #eKeyTrialExpired | #eNoKeys)) Text1 = f("Bold11") a(ca) text(s_LicenseNoKeyText(global.LicRenewStatus)) xy(,,,10) Text2 = f("Bold") a(ca) text(s_LicenseNoKeyHint(global.LicInfo.FuncLevel)) AutoActivateErr = [AutoActivateError] [AutoActivateError] @ = sz(p,a) a(la) xy(,$Control_Shift) visible(Ins_ActivationCode != "" && AutoActivationError.ErrorCode != 0) Error = a(ca) xy(,$Control_Shift) Activate = t(hotlink) f("Hotlink_Normal") a(ca) xy(,$Control_Shift) onclick(f_Activate()) [WaitingForKey] @ = sz(p,a) a(la) xy(,$Control_Shift) visible(global.KeyState & #eKeyWaitActivation) Text1 = f("Bold11") a(ca) xy(,,,10) Text2 = a(ca) [NonSubscrBlock] @ = sz(p,a) a(sa) NoKeyStatus = [NoKeyStatus] WaitingForKey = [WaitingForKey] LicenseExpireDate = [LicenseExpireDate] xy(0,10) visible(f_IsKeyNotExpired(global.KeyState)) LicenseExpireDays = [LicenseExpireDays] visible(f_IsKeyNotExpired(global.KeyState)) [SubscrBlock] @ = sz(p,a) a(sa) SubscriptionStatus = [Value] a(la) xy(7,$Control_Shift) subst(Name() Val(a(lt) xy(250) text(s_SubscriptionStatus(SubscriptionStatus)))) visible(AutoActivationError.ErrorCode == 0 && !SubscriptionTolerancePassed) SubscriptionFailed = [Value] a(la) xy(7,$Control_Shift) subst(Name() Val(a(lt) xy(250) f("BoldRed"))) visible(AutoActivationError.ErrorCode != 0 || SubscriptionTolerancePassed) SubscriptionExpDate = [Value] a(la) xy(7,4) subst(Name() Val(a(lt) xy(250) text(s_SubscriptionExpDate(SubscriptionStatus)))) SubscrTolerancePassed= a(ca) xy(,$Control_Shift) visible(AutoActivationError.ErrorCode == 0 && SubscriptionTolerancePassed) SubscrUpdateFailed = a(ca) xy(,$Control_Shift) visible(AutoActivationError.ErrorCode != 0) SubscrFailedReason = t(hotlink) f("Hotlink_Normal") a(ca) xy(,$Control_Shift) ns(AutoActivationError) onclick(msg(s_LicenseError(ErrorCode), #m_error)) visible(ErrorCode != 0) [LicenseExpireDate] @ = sz(a,18) a(ca) xy(,$Control_Shift) Text1 = f("Bold") a(lb) Text2 = f("Bold9") a(ab) text(" " + datetime(LicInfo.AppLicenseExpDate)) [LicenseExpireDays] @ = ext(1) sz(a,18) a(ca) xy(,$Control_Shift) TextBefore = f("Bold") a(ab) Text = f("Bold9") a(ab) text(" " + LicInfo.DaysTillExpiration + " ") TextAfter = f("Bold") a(ab) [KeyLimitExceeded] @ = sz(p,a) a(ca) xy(,$Control_Shift) visible(global.KeyState & #eKeyLimited) Text1 = f("Bold9Red") a(ct) Text2 = f("BoldRed") a(ca) [BrokenKey] @ = sz(p,a) a(ca) xy(,$Control_Shift) visible(global.KeyState & #eKeyInvalid) Text = f("Bold9Red") a(ct) text(s_KeyInvalidReason(LicInfo.InvalidReason)) [BtnSquareLic] @ = [BtnSquare] sz(130,83) [MainWindow.License_WorkArea_Home_Actions] SubscrProvider= [BtnSquareLic] a(lt) onclick(url(env("SubscriptionProviderLink"))) subst(Icon(i("LicBuy,0,0,0,0,0,1")) Name()) visible($IsSubscription) BuyRenew = [BtnSquareLic] a(lt) onclick(buy(global.LicRenewStatus != 2)) subst(Icon(i("LicBuy,0,0,0,0,0,1")) Name()) visible(!$IsSubscription) AddRemove = [BtnSquareLic] a(ct) onclick(f_Activate()) enable((global.KeyState & #eKeyWaitActivation) == 0) subst(Icon(i("LicActivate,0,0,0,0,0,1")) Name(text\ ($HasReserveKey ? $LicDelete \ : ($HasNoKeys ? $LicAdd \ : !$IsSubscription ? $LicAddDelete \ : ($IsRefreshSubAvail ? $LicRefreshDelete : $LicDelete))))) SeeEula = [BtnSquareLic] a(rt) onclick(dialog("EulaInfo")) subst(Icon(i("LicRead,0,0,0,0,0,1")) Name()) [EulaInfo] @ = $DlgAttrBase at(a_close,nohelp) sz(350,328) Text = t(edit) at(multiline,readonly,vscroll) sz(p,p) xy(,,,$DialogPanelSizeY) text(const(filebody(env("EulaFile"))))) ;-------------------------------- LicenseKeys -------------------------------- [LicenseKeys] @ = $DlgAttrBase at(a_close) sz(350,a) h(4505) bg("MainWindow") Body = [LicenseKeys_Body] [LicenseKeys_Body] @ = $DlgBodyAttr sz(p,a) ABody = [AKey_Body] ASeparator = [License_Key_Separator] RBody = [RKey_Body] visible(ResLicInfo.KeyInfo.KeyType) RSeparator = [License_Key_Separator] visible(ResLicInfo.KeyInfo.KeyType) Total = [License_Total] visible(LicInfo.DaysTillExpiration) [License_Key_Separator] @ = a(la) sz(p,8) at(fixstyle) [License_Total] @ = a(la) sz(p,a) at(fixstyle) mg(5,5) xy(,,,$DialogPanelSizeY) LicenseExpireDate = [LicenseExpireDate] LicenseExpireDays = [LicenseExpireDays] mg(0,10) [AKey_Body] @ = sz(p,a) a(la) at(fixstyle) mg(5,5) KeyHeader = [AKey_Header] KeyInfo = [AKey_Info] [AKey_Header] @ = sz(p,a) at(singleline,fixstyle) KeyIcon = i("privacy") KeyType = xy(40,5) f("Bold") text($ActiveKey) [AKey_Info] @ = sz(p,a) a(la) Keys = [ConfigureWizard.ActivationChooseKey_Info_KeyInfo] ns(LicInfo) [RKey_Body] @ = sz(p,a) a(la) at(fixstyle) mg(5,5) KeyHeader = [RKey_Header] KeyInfo = [RKey_Info] [RKey_Header] @ = sz(p,a) at(singleline,fixstyle) KeyIcon = i("privacy") KeyType = xy(40,5) f("Bold") text($ReservedKey) [RKey_Info] @ = sz(p,a) a(la) Keys = [ConfigureWizard.ActivationChooseKey_Info_KeyInfo] ns(ResLicInfo) ;-------------------------------- Tasks -------------------------------- [Task.SecurityWizard] @ = [TaskIcon] ext(1) subst(Icon(i("TaskSecurityTweak") onclick(f_AvzWizard("AvzSecurityAnalyzerWizard"))) Desc()) [Task.IeWizard] @ = [TaskIcon] ext(1) subst(Icon(i("TaskIeTweak") onclick(f_AvzWizard("AvzSecurityTweakerWizard"))) Desc()) [Task.TroubleshootWizard] @ = [TaskIcon] ext(1) subst(Icon(i("TaskTroubleTweak") onclick(f_AvzWizard("AvzTroubleshootWizard"))) Desc()) [Task.PrivacyCleanerWizard] @ = [TaskIcon] ext(1) subst(Icon(i("TaskPrivacyTweak") onclick(f_AvzWizard("AvzPrivacyCleanerWizard"))) Desc()) [Task.RescueDiskWizard] @ = [TaskIcon] ext(1) subst(Icon(i("TaskRescueCD") onclick(if(checkPassword(#pwdc_StopTask), window("MakeRescueDiskWizard")))) Desc()) [Task.TrainWizard] @ = [TaskIcon] ext(1) subst(Icon(i("TaskAsTrain") onclick(f_StartAntiSpamTrainingWizard()) Desc()) [Task.NetMon] @ = [TaskIcon] ext(1) subst(Icon(i("TasksNetMon") onclick(window("NetworkMonitor"))) Desc()) use(f_isInstalled("Firewall")) [Task.Sniffer] @ = [TaskIcon] ext(1) subst(Icon(i("TaskPacketSniff") onclick(if(checkPassword(#pwdc_StopTask), window("SnifferStatistic")))) Desc()) use(f_isInstalled("NetDetails")) [Task.VKeyboard] @ = [TaskIcon] ext(1) subst(Icon(i("TaskVkbd") onclick(window("VirtualKeyboard"))) Desc()) ;-------------------------------- AvzTroubleshootWizard -------------------------------- [Grid.Groups] AvzSeverity = [Grid.Group.Template] expand(val > 1) text(s_AvzSeverity(val)) [AvzWizard_Progress] @ = sz(p,p) ext(1) Intro = sz(p,a) extprm(1) Progress = t(progress) a(la) xy(,17) sz(p,20) v(Completion) [AvzWizard_ProgressVul] @ = sz(p,p) ext(1) alias(taskview) ns(Scan_Vulnerabilities) Intro = sz(p,a) extprm(1) Progress = t(progress) a(la) xy(,17) sz(p,20) v(Completion) CurObject = [LValue] xy(,7) subst(Name() Val(t(edit) at(readonly,singleline,compresspath,noborder) text(CurObject))) [AvzWizard_Error] @ = a(lc) sz(p,a) ext(1) Text Exit = [WizardButton] xy(,30) onclick(close()) subst(Name() Descr()) [AvzTroubleshootWizard] @ = [WizardTpl] onclose(if(checkPassword(#pwdc_StopTask), (if(state & #StateFlagActive, (setstate(#TASK_REQUEST_STOP), ctl.Cancel.enabled = 0, ctl.enabled = 0, modalLoop(state & #StateFlagActive))), g_AvzSingleton = 0, true), false)) subst(Pages([AvzTroubleshootWizardPages]) Footer(subst(Back(use(0))))) alias(avzwizard) ns(AVZ_RunScript) ext(1) [AvzTroubleshootWizardPages] @ = sz(p,p) ext(1) Welcome = [WizardPage] h(4509) subst(Name() Descr() Body([AvzTroubleshootWizard_Welcome])) Search = [WizardPage] h(4510) subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 1; savesettings(); setstate(#TASK_REQUEST_RUN)) Problems = [WizardPage] h(4511) subst(Name() Descr() Body([AvzTroubleshootWizard_Problems])) visible(state == #StateCompleted && Troubles.size()) Fix = [WizardPage] h(4512) subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 2; savesettings(); setstate(#TASK_REQUEST_RUN)) visible(state == #StateCompleted && Troubles.size()) Finish = [WizardPage] h(4512) subst(Name() Descr() Body([AvzTroubleshootWizard_Finish])) [AvzTroubleshootWizard_Welcome] @ = sz(p,p) ext(1) Intro = sz(p,a) Start = [WizardButton] a(lb) onclick(wizNext()) subst(Name() Descr()) [AvzTroubleshootWizard_Problems] @ = sz(p,p) ext(1) List = [AvzTroubleshootWizard_Problems_List] Fix = [WizardButton] onclick(wizNext()) enable(find(Troubles, "Enabled")) subst(Name() Descr()) [AvzTroubleshootWizard_Problems_List] @ = $ListTransp sz(p,175) alias(vector) v(Troubles) at(noheader) Trouble = sz(a) at(checked,fixedpos) text(Description) v(Enabled) group(AvzSeverity,Result,default) sort(index,sortup) [AvzTroubleshootWizard_Finish] @ = a(lc) sz(p,a) ext(1) Reboot = [WizardButton] onclick(close(); restartOs()) subst(Name() Descr()) visible(NeedReboot) Exit = [WizardButton] onclick(close()) subst(Name() Descr()) ;-------------------------------- AvzPrivacyCleanerWizard -------------------------------- [AvzPrivacyCleanerWizard] @ = [WizardTpl] onclose(if(checkPassword(#pwdc_StopTask), (if(state & #StateFlagActive, (setstate(#TASK_REQUEST_STOP), ctl.Cancel.enabled = 0, ctl.enabled = 0, modalLoop(state & #StateFlagActive))), g_AvzSingleton = 0, true), false)) subst(Pages([AvzPrivacyCleanerWizardPages]) Footer(subst(Back(use(0))))) alias(avzwizard) ns(AVZ_RunScript) ext(1) [AvzPrivacyCleanerWizardPages] @ = sz(p,p) ext(1) Welcome = [WizardPage] h(4289) subst(Name() Descr() Body([AvzPrivacyCleanerWizard_Welcome])) Search = [WizardPage] h(4514) subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 1; savesettings(); setstate(#TASK_REQUEST_RUN)) Problems = [WizardPage] h(4264) subst(Name() Descr() Body([AvzPrivacyCleanerWizard_Problems])) visible(state == #StateCompleted && Troubles.size()) Fix = [WizardPage] h(4515) subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 2; savesettings(); setstate(#TASK_REQUEST_RUN)) visible(state == #StateCompleted && Troubles.size()) Finish = [WizardPage] h(4266) subst(Name() Descr() Body([AvzPrivacyCleanerWizard_Finish])) [AvzPrivacyCleanerWizard_Welcome] @ = sz(p,p) ext(1) Intro = sz(p,a) Start = [WizardButton] a(lb) onclick(wizNext()) subst(Name() Descr()) [AvzPrivacyCleanerWizard_Problems] @ = sz(p,p) ext(1) List = [AvzPrivacyCleanerWizard_Problems_List] Fix = [WizardButton] onclick(wizNext()) enable(find(Troubles, "Enabled")) subst(Name() Descr()) [AvzPrivacyCleanerWizard_Problems_List] @ = $ListTransp sz(p,175) alias(vector) v(Troubles) at(noheader) Trouble = sz(a) at(checked,fixedpos) text(Description) v(Enabled) group(AvzSeverity,Result,default) sort(index,sortup) [AvzPrivacyCleanerWizard_Finish] @ = a(lc) sz(p,a) ext(1) Reboot = [WizardButton] onclick(close(); restartOs()) subst(Name() Descr()) visible(NeedReboot) Exit = [WizardButton] onclick(close()) subst(Name() Descr()) ;-------------------------------- AvzSecurityTweakerWizard -------------------------------- [AvzSecurityTweakerWizard] @ = [WizardTpl] onclose(if(checkPassword(#pwdc_StopTask), (if(state & #StateFlagActive, (setstate(#TASK_REQUEST_STOP), ctl.Cancel.enabled = 0, ctl.enabled = 0, modalLoop(state & #StateFlagActive))), g_AvzSingleton = 0, true), false)) subst(Pages([AvzSecurityTweakerWizardPages]) Footer(subst(Back(use(0))))) alias(avzwizard) ns(AVZ_RunScript) ext(1) [AvzSecurityTweakerWizardPages] @ = sz(p,p) ext(1) Welcome = [WizardPage] h(856) subst(Name() Descr() Body([AvzSecurityTweakerWizard_Welcome])) Search = [WizardPage] h(4293) subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 1; savesettings(); setstate(#TASK_REQUEST_RUN)) Problems = [WizardPage] h(4294) subst(Name() Descr() Body([AvzSecurityTweakerWizard_Problems])) visible(state == #StateCompleted && Troubles.size()) Fix = [WizardPage] h(4501) subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 2; savesettings(); setstate(#TASK_REQUEST_RUN)) visible(state == #StateCompleted && Troubles.size()) Finish = [WizardPage] h(4502) subst(Name() Descr() Body([AvzSecurityTweakerWizard_Finish])) [AvzSecurityTweakerWizard_Welcome] @ = sz(p,p) ext(1) Intro = sz(p,a) Warning = sz(a,a) a(la) xy(,20) i("warning") Start = [WizardButton] a(lb) onclick(wizNext()) subst(Name() Descr()) [AvzSecurityTweakerWizard_Problems] @ = sz(p,p) ext(1) List = [AvzSecurityTweakerWizard_Problems_List] Fix = [WizardButton] onclick(wizNext()) enable(find(Troubles, "Enabled")) subst(Name() Descr()) [AvzSecurityTweakerWizard_Problems_List] @ = $ListTransp sz(p,175) alias(vector) v(Troubles) at(noheader) id(Name) Trouble = sz(a) at(checked,fixedpos) text(Description) v(Enabled) group(AvzSeverity,Result,default) sort(index,sortup) [AvzSecurityTweakerWizard_Finish] @ = a(lc) sz(p,a) ext(1) Reboot = [WizardButton] onclick(close(); restartOs()) subst(Name() Descr()) visible(NeedReboot) Exit = [WizardButton] onclick(close()) subst(Name() Descr()) ;-------------------------------- AvzSecurityAnalyzerWizard -------------------------------- [AvzSecurityAnalyzerWizard] @ = [WizardTpl] onclose(if(checkPassword(#pwdc_StopTask), (setstate(#TASK_REQUEST_STOP, "Scan_Vulnerabilities"), if(state & #StateFlagActive, (setstate(#TASK_REQUEST_STOP), ctl.Cancel.enabled = 0, ctl.enabled = 0, modalLoop(state & #StateFlagActive))), g_AvzSingleton = 0, true), false)) subst(Pages([AvzSecurityAnalyzerWizardPages]) Footer(subst(Back(use(0))))) alias(avzwizard.security) ns(AVZ_RunScript) ext(1) [AvzSecurityAnalyzerWizardPages] @ = sz(p,p) ext(1) Welcome = [WizardPage] h(4295) subst(Name() Descr() Body([AvzSecurityAnalyzerWizard_Welcome])) ScanVulnerab = [WizardPage] h(4303) subst(Name() Descr() Body([AvzWizard_ProgressVul] subst(Intro()))) onselect(setstate(#TASK_REQUEST_RUN, "Scan_Vulnerabilities")) Vulnerab = [WizardPage] h(4305) subst(Name() Descr() Body([AvzSecurityAnalyzerWizard_Vulnerab])) ScanTrouble = [WizardPage] h(4291) subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 1; savesettings(); setstate(#TASK_REQUEST_RUN)) Problems = [WizardPage] h(4292) subst(Name() Descr() Body([AvzSecurityAnalyzerWizard_Problems])) visible(Danger > 1) Fix = [WizardPage] h(4503) subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 2; savesettings(); setstate(#TASK_REQUEST_RUN)) visible(Danger > 1) Finish = [WizardPage] h(4506) subst(Name() Descr() Body([AvzSecurityAnalyzerWizard_Finish])) [AvzSecurityAnalyzerWizard_Welcome] @ = sz(p,p) ext(1) Intro = sz(p,a) Max = [WizardButton] a(lb) onclick(wizNext()) subst(Name() Descr()) Min = [WizardButton] a(lp) onclick(wizMask = wizMask & ~wizPagesMask("ScanVulnerab,Vulnerab"); wizNext()) subst(Name() Descr()) [AvzSecurityAnalyzerWizard_Vulnerab] @ = sz(p,p) ext(1) Count AppList = [AvzSecurityAnalyzerWizard_Vulnerab_AppList] Next = [WizardButton] a(lb) onclick(wizNext()) subst(Name() Descr()) Rescan = [LWizardButton] a(lp) onclick(wizNext(0)) subst(Name() Descr()) enable(Threats.size()) [AvzSecurityAnalyzerWizard_Vulnerab_AppList] @ = $ListTransp a(la) xy(,7,,110) alias(vector) v(Threats) App = sz(p) rs(47) text(ObjectName) Todo = sz(p) rs(30) text(f_VulnerUrl(DetectName)) f("Hotlink_Normal") at(clickable) onclick(url(f_VulnerUrl(DetectName))) Danger = sz(p) rs(20) text(s_VulDanger(DetectBehaviour)) [AvzSecurityAnalyzerWizard_Problems] @ = sz(p,p) ext(1) Fix = [WizardButton] a(lb) onclick(wizNext()) subst(Name() Descr()) List = [AvzSecurityAnalyzerWizard_Solution_List] [AvzSecurityAnalyzerWizard_Solution_List] @ = $ListTransp sz(p,p) a(lp) xy(,15) alias(vector) v(Troubles) Trouble = sz(a) at(checked,fixedpos) text(Description) v(Enabled) group(AvzSeverity,Result,default) sort(index,sortup) [AvzSecurityAnalyzerWizard_Finish] @ = a(lc) sz(p,a) ext(1) Rescan = [LWizardButton] onclick(gotoPage("ScanTrouble")) subst(Name() Descr()) enable(Danger > 1) visible(!NeedReboot && !f_IsProfileFailed(state)) Reboot = [WizardButton] onclick(close(); restartOs()) subst(Name() Descr()) visible(NeedReboot) Exit = [WizardButton] onclick(close()) subst(Name() Descr()) ;-------------------------------- AvzCollectSysInfoWizard -------------------------------- [AvzCollectSysInfoWizard] @ = [WizardTpl] onclose(if(state & #StateFlagActive, (setstate(#TASK_REQUEST_STOP), ctl.Cancel.enabled = 0, ctl.enabled = 0, modalLoop(state & #StateFlagActive))), true) subst(Pages([AvzCollectSysInfoWizardPages]) Footer(subst(Back(use(0))))) alias(avzwizard) ns(AVZ_RunScript) ext(1) [AvzCollectSysInfoWizardPages] @ = sz(p,p) ext(1) Scan = [WizardPage] subst(Name() Descr() Body([AvzWizard_Progress] subst(Intro()))) onselect(ScriptMode = 1; savesettings(); setstate(#TASK_REQUEST_RUN)) h(7098) Error = [WizardPage] subst(Name() Descr() Body([AvzWizard_Error])) visible(state == #StateFailed) Finish = [WizardPage] subst(Name() Descr() Body([AvzCollectSysInfoWizardPages_Finish])) visible(state != #StateFailed) [AvzCollectSysInfoWizardPages_Finish] @ = a(lc) sz(p,a) ext(1) Exit = [WizardButton] onclick(close()) subst(Name() Descr()) ;-------------------------------- AvzRunScriptWizard -------------------------------- [AvzRunScriptWizard] @ = [WizardTpl] onclose(if(state & #StateFlagActive, (setstate(#TASK_REQUEST_STOP), ctl.Cancel.enabled = 0, ctl.enabled = 0, modalLoop(state & #StateFlagActive))), true) subst(Pages([AvzRunScriptWizardPages]) Footer(subst(Back(use(0))))) alias(avzwizard) ns(AVZ_RunScript) ext(1) [AvzRunScriptWizardPages] @ = sz(p,p) ext(1) Script = [WizardPage] subst(Name() Descr() Body([AvzRunScriptWizard_Script])) h(7101) Exec = [WizardPage] subst(Name() Descr() Body([AvzWizard_Progress])) onselect(ScriptMode = 0; savesettings(); setstate(#TASK_REQUEST_RUN)) h(7102) Error = [WizardPage] subst(Name() Descr() Body([AvzWizard_Error])) h(7103) [AvzRunScriptWizard_Script] @ = a(la) sz(p,a) ext(1) Script = t(edit) a(la) sz(p,170) at(multiline) v(Script) oninit(Script = "") Run = [WizardButton] onclick(wizNext()) subst(Name() Descr()) enable(Script) ;-------------------------------- AlertDialogT -------------------------------- [AlertDialogT] $AlertActions = a(la) sz(p,a) mg(7,7) @ = t(dialog) at(nocaption,dragable,layered,alwaysontop,bottom,noautofocus) sz(350,a) xy(4,4,4,4) mg(2,2) bg(const(s_AlertDialogOutline(DetectDanger))) text(const(s_AlertDialogCaption(TaskType) + " - " + $ProductNameLong)) Inner = [AlertDialogT_Inner] [AlertDialogT_Inner] @ = sz(p,a) mg(2,2) bg("ColorWindow") Header1 = [AlertDialogT_Header1] Header2 = [AlertDialogT_Header2] Body = a(la) sz(p,a) extprm(1) Footer = [AlertDialogT_Footer] Bottom = [AlertDialogT_Bottom] visible($ShowNoLicReminder) [AlertDialogT_Header1] @ = a(la) sz(p,49) bg(const(s_DlgHeader(DetectDanger))) extprm(1) Logo = sz(a,a) bg(s_ProductLogo(env("ProductType"))) a(lc) Help = a(rc) sz(a,a) xy(17) at(btnlike) f("Header1White") onclick(help()) use(!$IsRD) [AlertDialogT_Header2] @ = a(la) sz(p,36) bg(const(s_ProtectionBannerBg(s_DetectDanger2ProtSeverity(DetectDanger)))) extprm(1) Caption = [LabelShadow] a(cc) subst(B(text(const(s_AlertDialogCaption(TaskType))) f(s_ProtectionBannerBGFont(s_DetectDanger2ProtSeverity(DetectDanger))) ) F(f("ProtBanner"))) extprm(1) [AlertDialogT_Footer] @ = a(la) sz(p,33) mg(14) bg(const(s_DlgFooter(DetectDanger))) extprm(1) ApplyToAll = t(check) sz(a,a) a(lc) v(bmask(ApplyToAll, #APPLYTOALL_TRUE)) f("Header1White") extprm(1) use($UseApplyToAll) [AlertDialogT_Bottom] @ = a(la) sz(p,a) bg("AlertInfo") ext(1) Top = a(la) sz(p,4) bg("AlertInfoTop") Text = a(ca) sz(p,a) xy(,4) f("Normal_Bold_Red") BuyLink = a(ca) sz(p,a) xy(,,,8) t(hotlink) f("Hotlink") onclick($IsTrialKeyExpired? buy(0) : $IsKeyExpired? buy(1) : $HasNoKeys? f_Activate() : buy(0) ) [AlertDialogT_InfoArea] @ = a(la) sz(p,a) bg("AlertInfo") ext(1) Top = a(la) sz(p,4) bg("AlertInfoTop") Info = a(la) sz(p,a) mg(17,17) extprm(1) Buttom = a(la) sz(p,4) bg("AlertInfoBottom") [AlertDialogT_Green] @ = [AlertDialogT] bg("AlertOutline") subst(Caption(subst(B(f("ProtBannerNormBg")))) Header1(bg("DlgHeader")) Header2(bg("ProtectionBanner")) Footer(bg("DlgFooter")) ApplyToAll(use(0))) ;-------------------------------- AlertDialog -------------------------------- [AlertDialog] @ = [AlertDialogT] subst(Body([AlertDialog_Body])) oninit(if(bSound, sound(s_AlertNotificationSound(DetectDanger)))) h(920) [AlertDialog_Body] Descr = [AlertDialogT_InfoArea] subst(Info([AlertDialog_Descr])) Action = [AlertDialog_Body_Action] [AlertDialog_Descr] Icon = [AlertDialog_Descr_Icon] Object = [AlertDialog_Descr_Object] DetectT = [AlertDialog_Descr_VirWare] RegInfo = [AlertDialog_Descr_RegInfo] Parentage = [AlertDialog_Descr_AppParentage] ObjectC = [AlertDialog_Descr_CreateObject] [AlertDialog_Descr_Icon] @ = a(la) sz(p,a) IconSys = sz(32,32) i("system32") use(nPID == 0 || EventType == #PDM2_EVENT_NEGATIVE_PID || TaskType == "wmuf" || strInterceptor == "icq" || strInterceptor == "msn" ) Icon = sz(32,32) i(const(getIcon(sImagePath, sImagePath ? "unkapp" : "Main.big", 1))) at(clickable) onclick(dialog("AppRulesEdit:Image", p_image(sImagePath), p_appID(0))) use(nPID != 0 && EventType != #PDM2_EVENT_NEGATIVE_PID && TaskType != "wmuf" && strInterceptor != "icq" && strInterceptor != "msn")) Trouble = t(richedit) at(readonly,noborder,nofocus) mg(,10) a(as) sz(p,a) xy(17) text(const(s_AlertDialogTrouble(TaskType))) [AlertDialog_Descr_Object] @ = a(la) sz(p,a) use((ObjectName || nDestPID > 0 ) && TaskType != "hips_group" && ObjectType != #eRegKey) ObjectL = sz(a,a) xy(,14) f("Bold") text(s_AlertDialogObjectL(TaskType)) Object = t(edit) at(readonly,singleline,compresspath,noborder) a(la) sz(p,a) text(ObjectName) use(ObjectName && ObjectType != #eNetwork && nDestPID <= 0) ObjectDest = t(hotlink) a(la) sz(p,a) f("Hotlink_Normal") text(f_ProcessInfo(nDestPID).Module.sImagePath) onclick(dialog("AppRulesEdit:Image", p_pid(nDestPID))) use(nDestPID > 0) ObjectNet = a(la) sz(p,a) text(f_AlertNetAdressDescr(Data.Proto == 6, Data.Direction == #wsOut || Data.Direction == #wsOutStream)) use(ObjectType == #eNetwork) [AlertDialog_Descr_VirWare] @ = a(la) sz(p,a) xy(,7) use(DetectDanger < 0x8 && TaskType != "wmuf" && TaskType != "pdm" && TaskType != "hipstask") Category = a(la) xy(,7) f("Bold") text(s_VirwareCategory(TaskType,DetectType) ) use(s_Use_AlertDialog_VirWareCategory(TaskType)) Name = a(la) xy(,) at(btnlike,singleline) f("Hotlink_Red") text(s_VirwareType(TaskType,DetectName)) onclick(s_AlertDetailsDialog(DetectType)) use(s_Use_AlertDialog_VirWareCategory(TaskType) && !EventType)) [AlertDialog_Descr_RegInfo] @ = a(la) sz(p,a) xy(,17) use(TaskType == "hipstask" && ObjectType == #eRegKey) ObjectL = sz(a,a) f("Bold") Object = $Link a(la) sz(p,a) text(ObjectName) onclick(dialog("RegAccessInfo", p_data(Data))) use(bindok("Data.sValueName")) Object = a(la) sz(p,a) text(ObjectName) [AlertDialog_Descr_AppParentage] @ = a(la) sz(p,a) xy(,17) use(TaskType == "hipstask" && nOwnerID) Label = sz(a,a) f("Bold") Parent = t(richedit) at(readonly,noborder,nofocus) a(la) mg(,9) sz(p,a) [AlertDialog_Descr_CreateObject] @ = a(la) sz(p,a) xy(,17) use(TaskType == "hips_group" && sOwnerImagePath) ObjectL = sz(a,a) Object = t(hotlink) a(la) sz(p,a) f("Hotlink_Normal") text(sOwnerImagePath) onclick(dialog("AppRulesEdit:Image", p_image(sOwnerImagePath))) [AlertDialog_Body_Action] @ = $AlertActions Allow = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_ALLOW) use(ActionsAll & #ACTION_ALLOW && TaskType == "hipstask" ) onclick(ResultAction = ctl.value; if(dialog("[AlertActionsEx] subst(Actions([AlertHipsActionsAllow]))"), close(#m_res_ok))) Allow = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_ALLOW) use(ActionsAll & #ACTION_ALLOW) onclick(ResultAction = ctl.value; close(#m_res_ok)) Restrict = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_QUARANTINE) use(ActionsAll & #ACTION_QUARANTINE && TaskType == "hips_group") onclick(ResultAction = ctl.value; close(#m_res_ok)) Deny = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_DENY) use(ActionsAll & #ACTION_DENY && TaskType == "hipstask") onclick(ResultAction = ctl.value; if(dialog("[AlertActionsEx] subst(Actions([AlertHipsActionsBlock]))"), close(#m_res_ok))) Deny = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_DENY) use(ActionsAll & #ACTION_DENY) onclick(ResultAction = ctl.value; close(#m_res_ok)) Disinfect = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_DISINFECT) use(ActionsAll & #ACTION_DISINFECT) onclick(ResultAction = ctl.value; close(#m_res_ok)) Repare = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_REPARE) use(ActionsAll & #ACTION_REPARE) onclick(ResultAction = ctl.value; close(#m_res_ok)) Quarantine = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_QUARANTINE) use(ActionsAll & #ACTION_QUARANTINE && TaskType != "hips_group") onclick(ResultAction = ctl.value; close(#m_res_ok)) Terminate = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_TERMINATE) use(ActionsAll & #ACTION_TERMINATE && TaskType != "hipstask") onclick(ResultAction = ctl.value; close(#m_res_ok)) Delete = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_DELETE) use(ActionsAll & #ACTION_DELETE && !(ActionsMask & #ACTION_DELETE_ARCHIVE)) onclick(ResultAction = ctl.value; close(#m_res_ok)) DeleteArch = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_DELETE_ARCHIVE) use(ActionsAll & #ACTION_DELETE_ARCHIVE) onclick(ResultAction = ctl.value; if(msg("CanDeleteArchive", #m_question|#m_okcancel), close(#m_res_ok))) Skip = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_REPORTONLY) use(ActionsAll & #ACTION_REPORTONLY) onclick(ResultAction = ctl.value; close(#m_res_ok)) Ok = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_OK) use(ActionsAll & #ACTION_OK) onclick(ResultAction = ctl.value; close(#m_res_ok)) Cancel = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_CANCEL) use(ActionsAll & #ACTION_CANCEL) onclick(ResultAction = ctl.value; close(#m_res_ok)) CreateRule = [AlertDialog_ActionButton] subst(Name() Descr()) v(#ACTION_CREATE_RULE) use(ActionsAll & #ACTION_CREATE_RULE) onclick(ResultAction = ctl.value; if(dialog("PacketRuleCreate", p_appID(appID), p_netAct(Data)), close(#m_res_ok))) ToExclude = [AlertDialog_ActionButton] subst(Name() Descr()) v(s_ResultActionByTaskType(TaskType)) use($ActionUseToExclude) onclick(if(f_addAppToTrusted(f_TaskTypeExcludable(TaskType), s_VerdictPathMask(TaskType)), (ResultAction = ctl.value; ApplyToAll = #APPLYTOALL_FALSE; close(#m_res_ok)))) enable(1) [AlertDialog_ActionButton] @ = a(la) sz(p,55) at(btnlike) bg(if(ctl.hotlight, "GroupHeader")) enable(const(ActionsMask & ctl.value)) ext(1) Name = sz(a,a) xy(21,7) ia(lc) i("listctrls,6,6,6,2,6,6") f(ctl.parent.hotlight || ctl.parent.focused ? const(DefaultAction == ctl.parent.value ? "AlertBtnHl_a" : "AlertBtnHl") : const(DefaultAction == ctl.parent.value ? "AlertBtn_a" : "AlertBtn")) extprm(1) Descr = a(sa) sz(a,a) xy(20,0) extprm(1) [AlertActionsEx] @ = t(dialog) at(nocaption,menulike,customfooter,a_ok,a_cancel) sz(350,a) bg(const(s_AlertDialogOutline(DetectDanger))) mg(2,2) ext(1) Actions = a(lt) sz(p,a) mg(,7,15,) bg("MainWindow") extprm(1) Close = a(rt) xy(3,2) at(btnlike) onclick(close()) bg("WndCtl,2,2,3,2,2,3") [AlertHipsActionsAllow] Always = [WizardButton] subst(Name() Descr()) onclick(ApplyToAll = #APPLYTOALL_TRUE; close(#m_res_ok)) use(!(ApplyToAll & #APPLYTOALL_NONE)) Session = [WizardButton] subst(Name() Descr()) onclick(ApplyToAll = #APPLYTOALL_TRUE|#APPLYTOALL_SESSION; close(#m_res_ok)) use(ApplyToAll & #APPLYTOALL_USE_SESSION) ChGroup = [WizardButton] subst(Name() Descr()) onclick(ResultAction = #ACTION_RENAME; NewGroup = "KLAppTrusted"; close(#m_res_ok)) enable(appID && !IsTrusted) ToExclude = [WizardButton] subst(Name() Descr()) onclick(if(f_addAppToTrusted(true), (ResultAction = #ACTION_ALLOW; close(#m_res_ok)))) use(DetectName) [AlertHipsActionsBlock] Always = [WizardButton] subst(Name() Descr()) onclick(if(!IsMicrosoft || msg("ConfirmDenyTrustedApp", #m_yesno), (ApplyToAll = #APPLYTOALL_TRUE; close(#m_res_ok)))) use(!(ApplyToAll & #APPLYTOALL_NONE)) Session = [WizardButton] subst(Name() Descr()) onclick(ApplyToAll = #APPLYTOALL_TRUE|#APPLYTOALL_SESSION; close(#m_res_ok)) use(ApplyToAll & #APPLYTOALL_USE_SESSION) Term = [WizardButton] subst(Name() Descr()) onclick(ResultAction = #ACTION_TERMINATE; close(#m_res_ok)) use(ActionsAll & #ACTION_TERMINATE) ;-------------------------------- MalwareInfo -------------------------------- [MalwareInfo] @ = $DlgAttrBase at(a_close,customfooter,nohelp) sz(376,400) alias(appinfo) Hdr = [MalwareInfo_Hdr] Separator = [MalwareInfo_Separator] Tab = [MalwareInfo_Tab] Footer = [DialogPanel] xy(-7,-7,-7,) ;subst(ResizeBackground(bg(const(s_DlgFooter(DetectDanger)))) Bckgnd(bg(const(s_DlgFooter(DetectDanger))))) [MalwareInfo_Hdr] @ = a(la) sz(p,a) rs(100,0) xy(-7,-7,-7) mg(7,7,7,7) bg("ColorWindow") Ico = sz(32,32) i(DetectDanger == #DETDANGER_HIGH ? "e32" : "w32") Name = a(ac) xy(7) sz(p,a) f("DetectDanger == #DETDANGER_HIGH ? Header1Red" : "Header1") text(s_MalwareInfo_Hdr(p_TaskType,DetectName)) [MalwareInfo_Separator] @ = sz(p,1) a(la) b(Group) xy(-7,,-7) rs(100,0) [MalwareInfo_Tab] @ = $Tab a(la) xy(,7,,$DialogPanelSizeY) rs(100,100) Malware = [MalwareInfo_Tab_Malware] File = [MalwareInfo_Tab_File] [MalwareInfo_Tab_File] @ = sz(p,p) use(sImagePath && p_TaskType != "antiphishing") File = [LValue] xy(,7) subst(Name() Val(xy(100) text(sImagePath))) Info = [MalwareInfo_Tab_File_Info] [MalwareInfo_Tab_File_Info] @ = $SettingsGroup xy(-7,14) a(la) use(bHasFileInfo) Size = [LValue] xy(,) subst(Name() Val(xy(100) text(f_ObjSize(nObjectSize)))) Created = [LValue] xy(,7) subst(Name() Val(xy(100) text(datetime(tCreation)))) Modified = [LValue] xy(,7) subst(Name() Val(xy(100) text(datetime(tModify)))) [MalwareInfo_Tab_Malware] @ = sz(p,p) Category = [LValue] xy(5,7) subst(Name() Val(xy(100) text(const(s_DetectType(DetectType))))) Type = [LValue] xy(5,7) subst(Name() Val(xy(100) text(const(s_DetectBehaviour(p_TaskType != "antiphishing" ? DetectBehaviour : 1000))))) Details = [MalwareInfo_Tab_Malware_Details] Info = [MalwareInfo_Tab_Malware_info] [MalwareInfo_Tab_Malware_Details] @ = $SettingsGroup xy(,14) a(la) Details = a(la) sz(p,a) xy(7,) text(s_BehaviourDetails(p_TaskType != "antiphishing" ? DetectBehaviour : 1000)) [MalwareInfo_Tab_Malware_info] @ = $SettingsGroup xy(,7) a(rb) use(!$IsRD) Text = a(la) xy(7,1) sz(a,a) Link = t(hotlink) a(at) at(clickable) i("internet16") f("Hotlink") text("viruslist.com") onclick(url(p_TaskType != "antiphishing" ? $ViruslistThreatLink : $ViruslistPhishingLink)) sz(a,a) ;-------------------------------- HipsInfo -------------------------------- [HipsInfo] @ = $DlgAttrBase at(a_close,customfooter,nohelp) sz(376,400) Hdr = [HipsInfo_Hdr] Separator = [MalwareInfo_Separator] Body = [HipsInfo_Body] Footer = [DialogPanel] xy(-7,-7,-7,) ;subst(ResizeBackground(bg(const(s_DlgFooter(DetectDanger)))) Bckgnd(bg(const(s_DlgFooter(DetectDanger))))) [HipsInfo_Hdr] @ = a(la) sz(p,a) rs(100,0) xy(-7,-7,-7) mg(7,7,7,7) bg("ColorWindow") Ico = sz(32,32) i("w32") Name = a(ac) xy(7) sz(p,a) f("Header1") text(p_action ? s_AlertDialog_HipsDescr(p_action) : s_PDMByEventType(p_eventtype)) [HipsInfo_Body] @ = sz(p,p) xy(,50) bg("") Details = a(la) sz(p,a) xy(7,) text(p_action ? s_HipsInfo(p_action) : s_PdmInfo(p_eventtype)) Link = [HipsInfo_Link] [HipsInfo_Link] @ = $SettingsGroup xy(,40) a(rb) use(p_action) Text = a(la) xy(7,1) sz(a,a) Link = t(hotlink) a(at) sz(a,a) at(clickable) i("internet16") f("Hotlink") text("viruslist.com") onclick(url(s_HipsInfoVirusListLink(p_action))) ;-------------------------------- RegAccessInfo -------------------------------- [RegAccessInfo] $txt = "" + $key + ":\n" + ObjectName + "\n\n" + $param + ":\n" + sValueName + (nOldType && nNewType ? f_regFormat($old, nOldType, vOldData) + f_regFormat($new, nNewType, vNewData) : if(nOldType, f_regFormat($val, nOldType, vOldData)) + if(nNewType, f_regFormat($val, nNewType, vNewData))) @ = $DlgAttrBase at(resizable,a_close) sz(400,250) alias(settings) Info = t(richedit) at(readonly) sz(p,p) xy(,,,$DialogPanelSizeY) text(const($txt)) ;-------------------------------------------- [PauseProtectionRequestDialog] @ = $DlgAttrBase sz(400,300) at(a_close) bg("ColorWindow") mg(0,0) h(6358) Info = [DialogInfoHeader] subst(Text()) Actions = [PauseProtectionRequestDialog_Actions] [PauseProtectionRequestDialog_Actions] @ = sz(p,a) a(la) mg(15) Time = [WizardButton] a(la) xy(0,8) sz(p,a) onclick(ResumeMode = 0x40000000; close(#m_res_ok)) subst(Name([PauseProtectionRequestDialog_TimeButton]) Descr()) Reboot = [WizardButton] a(la) xy(0,8) sz(p,a) onclick(ResumeMode = 0x00000000; close(#m_res_ok)) subst(Name() Descr()) OnDemand = [WizardButton] a(la) xy(0,8) sz(p,a) onclick(ResumeMode = 0xffffffff; close(#m_res_ok)) subst(Name() Descr()) [PauseProtectionRequestDialog_TimeButton] @ = sz(a,a) mg(,7) Name = sz(a,a) xy(19,1) f(ctl.parent.parent.hotlight || ctl.parent.parent.focused ? "WizLinkHl" : "WizLink") Time = [PauseProtectionRequestDialog_TimeButton_Time] [PauseProtectionRequestDialog_TimeButton_Time] @ = t(combo) a(at) xy(7,-1) sz(120,20) v(ResumeTime) 60 = v(60) 180 = v(180) 300 = v(300) 900 = v(900) 1800 = v(1800) 3600 = v(3600) 10800 = v(10800) 18000 = v(18000) ;-------------------------------------------- [MainThreats] @ = $DlgAttrBase mg(0,0) at(resizable,minimizable,a_close) sz(600,444) alias(productstatus) prm(s_ProductStateList) Header = [ProductHeader] sz(p,53) Banner = [MainThreats_Banner] Tab = [MainThreats_Tab] Light = sz(a,a) xy(180,1) bg(s_ProtectionLightSmall(s_ProdStateSeverity(ProdStateId))) [MainThreats_Banner] @ = a(la) sz(p,30) rs(100,0) ta(lc) bg(s_ProtectionSmallBannerBg(s_ProdStateSeverity(ProdStateId))) xy(237,-30) Text = [LabelShadow] xy(20) a(lc) subst(B(text(s_ProdState_Threats(ProdStateId)) f(s_ProtectionBannerBGFont(s_ProdStateSeverity(ProdStateId))) ) F(f("ProtBanner"))) [MainThreats_Tab] @ = $DlgBodyAttr t(tab) mg(7,7) a(la) xy(7,16,7,45) alias(taskview) onshow(ctl.StatusesList.focus()) Status = [ProductStatesWindow_Body] h(7105) Threats = [Product_Threats] h(4242) Statistics = [MainThreats_Tab_Statistics] h($IsKAV ? 6651 : 4459) use(!$IsRD) [MainThreats_Tab_Statistics] @ = sz(p,p) Charts = [MainThreats_Tab_Statistics.Charts] List = [MainThreats_Tab_Statistics.Text] [MainThreats_Tab_Statistics.Text] @ = a(at) sz(p,p) List = [Product_Statistics_List] group(CounterGroup,(Counter<4?1:(Counter<30?2:3))) Total() use(!$IsKAV) List = [Product_Statistics_List] filter(Counter<31) group(CounterGroup,(Counter<4?1:2)) Total() use($IsKAV) [MainThreats_Tab_Statistics.Charts] @ = a(lt) sz(p,p) rs(45) mg(0,0,7) ChartAV = [ProfileHome_ChartStat] subst(Legend([MainWindow.Antivirus.StatChart_Legend] a(cb)) Name(text($Antivirus)) Chart([MainWindow.Antivirus_WorkArea_StatChart_Today])) a(lt) sz(p,p) rs(,33) mg(10,10) b(System) bg("ColorWindow") ChartOS = [ProfileHome_ChartStat] subst(Legend([MainWindow.OnlineSecurity_WorkArea_SysPerf_Legend_Detected] a(cb)) Name(text($OnlineSecurity)) Chart([MainWindow.OnlineSecurity_WorkArea_StatChart_Today])) a(la) sz(p,p) rs(,50) mg(10,10) b(System) bg("ColorWindow") xy(,7) use(f_isInstalled("OnlineSecurity")) ChartCF = [ProfileHome_ChartStat] subst(Legend([MainWindow.ContentFilter_WorkArea_SysPerf_Legend_Detected] a(cb)) Name(text($ContentFilter)) Chart([MainWindow.ContentFilter_WorkArea_StatChart_Today])) a(la) sz(p,p) mg(10,10) b(System) xy(,7) bg("ColorWindow") use(f_isInstalled("ContentFilter")) [Product_Threats] @ = ext(1) sz(p,p) Navigator = [Product_Threats_Navigator] Report = [Product_Threats_Report] [Product_Threats_Navigator] @ = sz(p,28) rs(0,0) Filter = [Product_Threats_Navigator_Filter] [Product_Threats_Navigator_Filter] @ = t(combo) sz(225,a) onchange(ctl.Report.setfilter(ctl.value, 1)) Active = v("ObjectStatus == #OBJSTATUS_NOTDISINFECTED || DetectType == #DETYPE_VULNERABILITY") sz(0,0) Quarantined = v("ObjectStatus == #OBJSTATUS_QUARANTINED || ObjectStatus == #OBJSTATUS_ADDEDBYUSER") sz(0,0) Disinfected = v("ObjectStatus == #OBJSTATUS_DISINFECTED || ObjectStatus == #OBJSTATUS_DELETED || ObjectStatus == #OBJSTATUS_DELETED_ON_REBOOT || ObjectStatus == #OBJSTATUS_QUARANTINED_ON_REBOOT") sz(0,0) All = v("") at(default) sz(0,0) [Product_Threats_Report_Footer] @ = f("GridGroup") sz(p,22) rs(100,0) ext(1) CureAll = t(hotlink) sz(a,a) a(lt) xy(5,4) f("Hotlink_Normal") onclick(ctl.Report.treatAll()) enable(AVService.NumUntreated) AddToQB = t(hotlink) sz(a,a) a(at) xy(20,4) f("Hotlink_Normal") onclick(ctl.Report.addToQuarantine()) border = a(lt) sz(p,2) bg("GridGroup") [Product_Threats_Report] @ = $List at(rememberdata) alias(taskthreats) refresh(100) extprm(1) a(la) Time = sz(150) text(datetime(ReportTime)) Status = sz(p) rs(17) text(s_DetectObjectStatus(ObjectStatus)) group(dettype,DetectType,default) Detected = sz(p) rs(31) text(s_DetectTypeEx(TaskType)) Object = [Product_Threats_Report_Object] Danger = sz(p) rs(15) text(if(DetectType == #DETYPE_VULNERABILITY, s_VulDanger(DetectBehaviour))) row = at(clickable) i(s_DetectObjectStatusIcon(ObjectStatus)) onrclick(menu("Product_Threats_Report_Menu")) footer = [Product_Threats_Report_Footer] [Product_Threats_Report_Object] @ = sz(p) rs(35) text(ObjectName) group(ObjectType) Type = sz(30) text(s_DetectObjectTypesEx(TaskType, ObjectType)) i(f_ObjTypeIconEx(TaskType, ObjectType, ObjectName)) group(ObjectType) Path = sz(p) rs(35) text(objdir(ObjectName)) Name = sz(p) rs(35) text(objfile(ObjectName)) [Product_Threats_Report_Menu] @ = t(menu) bg("MenuIconBg") Treat = onclick(ctl.Report.treat()) at(default) visible(DetectType!=#DETYPE_VULNERABILITY&&ObjectStatus == #OBJSTATUS_NOTDISINFECTED) Scan = onclick(ctl.Report.treat()) at(default) visible(ObjectStatus == #OBJSTATUS_QUARANTINED||ObjectStatus == #OBJSTATUS_ADDEDBYUSER) GotoToVulDesc = onclick(url(f_VulnerUrl(DetectName))) at(default) visible(DetectType == #DETYPE_VULNERABILITY) AddToExclude = onclick(f_addAppToTrusted(#true)) visible((ObjectStatus == #OBJSTATUS_INFECTED || ObjectStatus == #OBJSTATUS_SUSPICION || ObjectStatus == #OBJSTATUS_NOTDISINFECTED) && DetectName && f_TaskTypeExcludable(TaskType)) enable(!AVService.Excludes.isMandat()) GotoFile = onclick( if(!gotofile(ObjectName),msg("CantOpenFolder")) ) enable(!s_ObjTypeIsWeb(TaskType) && ObjectType == #ObjectFile && (ObjectStatus != #OBJSTATUS_QUARANTINED)) use(!$IsRD) Discard = onclick(ctl.Report.discard()) enable(!isNode) ;Delete = onclick(ctl.Report.discard()) enable(!isNode) visible(ObjectStatus == #OBJSTATUS_NOTDISINFECTED) Restore = onclick(ctl.Report.restore()) enable(QBObjectId) SendToKL = onclick(ctl.Report.sendToKL()) use(env("ProductType") != "wks") enable((bindok("SendToKL") || $IsFunctionalityLevel_Protection) && (ObjectStatus == #OBJSTATUS_DELETED || ObjectStatus == #OBJSTATUS_QUARANTINED || ObjectStatus == #OBJSTATUS_ADDEDBYUSER || ObjectStatus == #OBJSTATUS_FALSEALARM)) sep TreatAll = onclick(ctl.Report.treatAll()) enable(AVService.NumUntreated) DiscardAll = onclick(ctl.Report.discardAll()) enable(AVService.NumThreats) sep ViewOnWeb = onclick(url($ViruslistThreatLink)) enable(!isNode) visible(DetectType!=#DETYPE_VULNERABILITY && ObjectStatus != #OBJSTATUS_ADDEDBYUSER) use(!$IsRD) ;------------- SettingsWindow.CheckPassword ----------- [CheckProductPassword] @ = $Dlg sz(320,a) h(6892) Body = [CheckProductPassword_Body] [CheckProductPassword_Body] @ = sz(p,a) xy(,,,$DialogPanelSizeY) Descr = [CheckProductPassword_Body_Descr] EditBlock = [CheckProductPassword_Body_EditBlock] [CheckProductPassword_Body_Descr] @ = sz(p,a) a(la) Ico = i("password") DescrText = a(as) sz(p,a) xy(12) text(s_PasswordConfirmReason(Reason)) [CheckProductPassword_Body_EditBlock] @ = sz(p,a) a(la) xy(,15) Pswd2CheckText = xy(,2) sz(a,a) Pswd2CheckEdit = t(edit) a(at) xy(5) sz(p) at(password) onok(if(!cryptcmp(global.OPEP, ctl.value), (($IsWin2KOS)? msg("ErrPswrdWrong"):balloon("ErrPswrdWrong")) )) Pswd2Save = $Check a(sa) xy(,5,,5) v(SavePswdr) use(Reason != #pwdc_Exit) ;------------- NewAppSniffer ----------- [NewAppSniffer] @ = $DlgAttrBase at(a_cancel,noautofocus) sz(300,150) h(6319) Info = sz(p,a) App = a(la) xy(,7) sz(p,a) i(const(getIcon(sImagePath, "unkapp", 1))) text(const(f_UnknownApp(sDescription, sImagePath))) Progress = t(progress) a(la) sz(p,20) xy(,7) v(nProgress) ;------------- Protection_CommonStatistics ----------- [ProtStatValue] @ = [ValuePointed] subst(Name(bp(ctl.hotlight = ctl.parent.hotlight; ctl.focused = ctl.parent.focused)) Val(bp(ctl.hotlight = ctl.parent.parent.hotlight; ctl.focused = ctl.parent.parent.focused))) [MainWindow.Protection_CommonStatistics] @ = ext(1) AVBasesStatus = [ProtStatValue] enable(s_IsFunctionalityLevel_Updater(LicInfo.FuncLevel)) at(btnlike) a(la) sz(p,a) xy(,,,3) onclick((global.UpdateState & #eUpdateNeedReboot) ? f_RestartOs() : window("MainWindow:Updater")) subst(Name() Val(text(f_BasesStatus(global.UpdateState)))) Info = [MainWindow.Protection_CommonStatistics_Info] Info2 = [MainWindow.Protection_CommonStatistics_Info2] [MainWindow.Protection_CommonStatistics_Info] @ = sz(p,a) a(la) ActiveThreats = [ProtStatValue] at(btnlike) sz(p,a) a(la) xy(,,,3) onclick(window("MainThreats:Threats:Active")) subst(Name() Val(text(AVService.NumUntreated))) QuarantinedObjects = [ProtStatValue] at(btnlike) sz(p,a) a(la) xy(,,,3) onclick(window("MainThreats:Threats:Quarantined")) subst(Name() Val(text(AVService.NumQuarantined))) [MainWindow.Protection_CommonStatistics_Info2] @ = sz(p,a) a(la) NetworksConnected = [ProtStatValue] at(btnlike) sz(p,a) a(la) xy(,,,3) use(f_isInstalled("NetWatch")) onclick(windowDlg("HipsRules:Nets", p_fwTabs(true))) subst(Name() Val(text(NetWatch.ConnectedZones))) ApplicationsFiltered = [ProtStatValue] at(btnlike) sz(p,a) a(la) xy(,,,3) use(f_isInstalled("HipsTask")) onclick(windowDlg("HipsRules:Rules")) subst(Name() Val(text(Hips.AllAppCount))) [ProductStatesWindow_Body] @ = sz(p,p) ShowSkipped = t(check) sz(a,a) a(lb) xy(,,,7) v(l_ShowSkipped) at(rememberdata) visible(global.StateFilterMask) StatusesList = [ProductStatesWindow_Body_StatusesList] [ProductStatesWindow_Body_StatusesList] @ = $List at(nosearch) a(lp) order(0) row = [ProductStatesWindow_Body_StatusesList_row] rowedit = [ProductStatesWindow_Body_StatusesList_rowedit] [ProductStatesWindow_Body_StatusesList_row] @ = alias(productstateslist) prm(s_ProductStateList) tpl = [ProdStatusListItem] SomeSkipped = [ProdStatusListItem] v(#ProdStateSomeSkipped) visible(global.StateFilterMask && !l_ShowSkipped) AllOk = [ProdStatusListItem] v(#ProdStateAllOk) visible(ProdStateId == #ProdStateAllOk) [ProductStatesWindow_Body_StatusesList_rowedit] @ = sz(p,p) mg(27,,,10) Do = t(button) sz(a,23) a(lb) text(s_ProductLinkText(depend(val))) onclick(s_ProductLinkClick(depend(val))) visible(s_ProductLinkText(depend(val)) && depend(val) != #ProdStateAllOk) Do2 = t(button) sz(a,23) a(ab) xy(4) text(s_ProductLinkText2(depend(val))) onclick(s_ProductLinkClick2(depend(val))) visible(s_ProductLinkText2(depend(val))) Enable = t(button) sz(a,23) a(ab) xy(4) visible(depend(val) != #ProdStateAllOk && depend(val) != #ProdStateSomeSkipped && !f_IsProdStateCritical(depend(val))) onclick(prodStateEnable(depend(val), global.StateFilterMask & prodStateBit(depend(val)))) [Protection_Status_Body] $IsCritical = f_IsProdStateCritical(ProdStateId) $IsSomeSkiped = (ProdStateId == #ProdStateSomeSkipped) @ = ext(1) mg(27,10) Status = text(s_ProdState(ProdStateId)) xy(,7) f(s_MainProtStatusFont(s_ProdStateSeverity(ProdStateId))) Description = sz(p,a) a(lt) xy(,47) text(switch(ProdStateId,"ProdState_Description")) Link1 = [ActionButton] a(lb) xy(,10) onclick(s_ProductLinkClick(ProdStateId)) visible(ProdStateId && !$IsSomeSkiped) sz(p,30) rs(0,0) subst(Name(text(s_ProductLinkText(ProdStateId)))) ShowSkiped = [ActionButton] a(lb) xy(,10) onclick(restorestatuses()) visible($IsSomeSkiped) subst(Name(text($LinkSomeSkipped))) ShowNext = at(clickable) sz(a,a) a(rt) xy(,2) onclick(getnextstatus(1)) visible(ProdStateId) text(">") Skip = at(clickable) sz(a,a) a(rt) xy(-10,2) onclick(hidestatus()) visible(ProdStateId && !$IsCritical) text("v") [ProdStatusListItem] @ = sz(p,a) ext(1) at(custom) mg(,3,3) visible((global.ProductStateMask & prodStateBit(ctl.value)) && (l_ShowSkipped || !(global.StateFilterMask & prodStateBit(ctl.value))) && s_ProdStatusVisibleFilter(ctl.value)) Icon = sz(a,a) a(la) i(s_MainProtStatusIcon(s_ProdStateSeverity(ctl.parent.value))) xy(4,) enable(!(global.StateFilterMask & prodStateBit(ctl.parent.value))) Name = sz(a,a) f(ctl.parent.focused ? "Bold9White" : (ctl.Icon.enabled ? "Bold9" : "Bold9Grey")) a(at) text(s_ProdState(ctl.parent.value)) xy(4,) Descr = sz(a,a) a(sa) xy(,5,,4) f(ctl.parent.focused ? "Normal_White" : (ctl.Icon.enabled ? "Normal" : "Normal_Grey")) text(switch(ctl.parent.value, "ProdState_Description")) MinVSize = sz(1,32) a(la) visible(ctl.parent.selected) ;------------- AskQbPathDialog ----------- [AskQbPathDialog] @ = $Dlg sz(300,a) at(ontop) Body = [AskQbPathDialog_Body] [AskQbPathDialog_Body] @ = $DlgBodyAttr sz(p,a) Info = a(lt) xy(,,,$Control_Shift) QbPath = t(edit) a(la) sz(p,a) v(strVal1) RetrBrowse = t(button) sz(75,21) a(ra) xy(,$Button_Shift) text($Browse) onclick(browseobject(strVal1, "BrowseForFolder", #SHELL_OBJTYPE_FOLDER))