[Templates] $Button_CX = 75 $Button_CY = 23 $Button_Medium_CX = 103 $Tab = t(tab) sz(p,p) mg(7,7) xy(,,,$DialogPanelSizeY) $Button = t(button) sz($Button_CX,$Button_CY) $Button_Medium = t(button) sz($Button_Medium_CX,$Button_CY) $Button_Large = t(button) sz(150,23) $ToolButton = at(chklike,rememberdata) bg("ToolButton,1,0,0,1,0,0") sz(21,21) $ListButton = $Button alias(listbutton) $Check = t(check) sz(a,a) a(la) $CheckForGroup = t(check) sz(a,a) a(lt) at(noparentdisable) xy(0,-21) $Radio = t(radio) sz(a,a) a(la) $Combo = t(combo) sz(p,a) a(la) $IpAddr = t(ipaddress) $Link = t(hotlink) sz(a,a) f("Hotlink_Normal") $ListTransp = t(list) sz(p,p) $List = $ListTransp bg("ColorWindow") $GroupBox = t(group) f("GroupHeader") b1(GroupBox) $GroupBoxLink = t(group) f("GroupHeaderLink") b(GroupBox) $SettingsGroup = t(box) f("GroupHeader") b(Topline_light) a(la) sz(p,a) mg(8,8,0,0) xy(0,$Group_Shift) $Control_Shift = 7 $Button_Shift = 6 $Group_Shift = 7 $Edit_CenterOffsetY = -3 $Edit_CommentOffsetX = 4 $Static_Shift = xy(0,0,0,3) $Static_ShiftAfter = xy(0,3,0,0) $ButtonsLineSizeX = 81 $ButtonsLineSizeY = 31 $DialogPanelSizeY = 38 $ButtonsLineMediumSizeX = 109 $DlgAttrBase = t(dialog) mg(7,7) at(dragable) bg((isOsGuiThemed && !isTabbed) ? "ColorWindow" : "ColorWindowClassic") $DlgAttr = $DlgAttrBase at(a_ok,a_cancel) $Dlg = $DlgAttr $DlgBodyAttr = at(lt) sz(p,p) xy(,,,$DialogPanelSizeY) $Wizard = t(dialog) mg(7,7) at(dragable,wizard) at(a_next,a_back,a_cancel) $WizardPage = sz(p,p) xy(,,,$DialogPanelSizeY) $GroupBody = a(la) bg("GroupBody") sz(p,a) rs(100,0) xy(,7) ------------Customized URLS--------------- $ForumURL = bindok("SupportCustom.aLinks.Forum.URL") && SupportCustom.aLinks.Forum.URL!="" ? SupportCustom.aLinks.Forum.URL : $ForumDefURL $ForumName = bindok("SupportCustom.aLinks.Forum.TipText") && SupportCustom.aLinks.Forum.TipText!="" ? SupportCustom.aLinks.Forum.TipText: $ForumDefName $ForumDescr = bindok("SupportCustom.aLinks.Forum.Description") && SupportCustom.aLinks.Forum.Description!="" ? SupportCustom.aLinks.Forum.Description: $ForumDefDescr $OnlineCoursesURL = bindok("SupportCustom.aLinks.OnlineCourses.URL") && SupportCustom.aLinks.OnlineCourses.URL!="" ? SupportCustom.aLinks.OnlineCourses.URL : $OnlineCoursesDefURL $OnlineCoursesName = bindok("SupportCustom.aLinks.OnlineCourses.TipText") && SupportCustom.aLinks.OnlineCourses.TipText!="" ? SupportCustom.aLinks.OnlineCourses.TipText : $OnlineCoursesDefName $OnlineCoursesDescr = bindok("SupportCustom.aLinks.OnlineCourses.Description")&& SupportCustom.aLinks.OnlineCourses.Description!="" ? SupportCustom.aLinks.OnlineCourses.Description : $OnlineCoursesDefDescr $PersonalCabinetName = bindok("SupportCustom.aLinks.PersonalCabinet.TipText") && SupportCustom.aLinks.PersonalCabinet.TipText!="" ? SupportCustom.aLinks.PersonalCabinet.TipText : $PersonalCabinetDefName $PersonalCabinetDescr = bindok("SupportCustom.aLinks.PersonalCabinet.Description") && SupportCustom.aLinks.PersonalCabinet.Description!="" ? SupportCustom.aLinks.PersonalCabinet.Description : $PersonalCabinetDefDescr $SupportReqName = bindok("SupportCustom.aLinks.SupportReq.TipText") && SupportCustom.aLinks.SupportReq.TipText!="" ? SupportCustom.aLinks.SupportReq.TipText : $SupportReqDefName $SupportReqDescr = bindok("SupportCustom.aLinks.SupportReq.Description") && SupportCustom.aLinks.SupportReq.Description!="" ? SupportCustom.aLinks.SupportReq.Description : $SupportReqDefDescr $SupportURL = bindok("SupportCustom.aLinks.Support.URL") && SupportCustom.aLinks.Support.URL!="" ? SupportCustom.aLinks.Support.URL : $SupportDefURL $SupportName = bindok("SupportCustom.aLinks.Support.TipText") && SupportCustom.aLinks.Support.TipText!="" ? SupportCustom.aLinks.Support.TipText: $SupportDefName $SupportDescr = bindok("SupportCustom.aLinks.Support.Description") && SupportCustom.aLinks.Support.Description!="" ? SupportCustom.aLinks.Support.Description: $SupportDefDescr ;-- MainWindow -- $TaskTab = a(lt) alias(navigator) sz(p,p) rs(100,100) at(enum) workarea(WorkArea) $TaskWorkArea = a(lt) bg("TaskPanelGr") sz(p,p) xy(0,0) rs(100,100) mg(15,15,15,13) $TaskPanel = a(lt) sz(p,p) rs(100,100) $TaskView = $TaskPanel alias(taskview) $TaskSubGroup = alias(taskview) sz(p,a) rs(0,0) a(la) xy(,,,7) ext(1) $TaskValShift = xy(21,5) $TaskVal = [TaskVal] a(la) $TaskValShift ;--- DlgWizard ------ $DlgWizardInnerAttr = sz(p,p) $WizardGroupNext = t(box) f("Normal_Grey") b(Topline_light) a(la) sz(p,a) mg(8,8,0,0) xy(0,$Group_Shift) $Duplicate = msg("Duplicate", #m_error|#m_res_cancel) ;--- Charts ------ $ChartStat = t(chartstat) mg(10,10) refresh(1000) bg("ColorWindow") $ChartStatAxisY = t(chartaxisval) b(AxisLine) sz(32,a) xy(2) ticks(a) ticktype(1) drawpos(0) min(0) max(a) $ChartStatAxisX = t(chartaxiscat) b(AxisLine) sz(a,4) ticks(2) drawpos(1) $ChartStatData = t(chartseries) alias(blstat) mg(5) prm(#dbStatistics) $DynamicChartAxisY = t(chartaxisval) b(AxisLine_Green) sz(24,a) xy(-1) ticks(4) ticktype(1) drawpos(0) min(0) max(a) f("AxisLineText") $DynamicChartAxisX = t(chartaxiscat) b(AxisLine_Green) sz(a,1) ticks(2) drawpos(1) $TableStyleCaption1 = f("Normal_Bold") at(fixstyle) a(lt) xy(,10) mg(5,0) $TableStyleHeader = f("Normal") at(fixstyle) a(ls) xy(,16) sz(p,23) mg(5,4) $TableStyleColumn1 = f("Normal") at(fixstyle) a(rs) xy(12,) sz(,23) $TableStyleRow = f("Normal") at(fixstyle) a(la) xy(,1) sz(p,23) mg(5,4) $ProfileHome_Report = window("MainReport:" + s_Profile2ProfileGroup_Reports(name), p_postInit(if(!persistent, "ctl.Report.selgroup(" + id + ")"))) $KavDescr = a(lb) xy(,10) i("info") ia(lt) sz(p,a) use($IsKAV) ;------------- Dialog Panels ------------ [DialogPanel] @ = a(lb) sz(p,$DialogPanelSizeY) ext(1) rs(100,0) BtnsGroup = [DialogPanel_BtnsGroup] Bckgnd = sz(700,a) bg("DlgFooter") a(rt) extprm(1) ResizeBackground = sz(p,p) rs(100,0) bg("DlgFooter_rs") a(pt) extprm(1) WndResizer = a(rb) sz(a,8) bg("WndResizer") xy(1,1) Help = $Link a(lc) xy(9,) text($Help) f("MainFtr") onclick(help()) extprm(1) use(!$IsRD) [DialogPanel_BtnsGroup] @ = sz(a,$Button_CY) rs(0,0) a(rb) xy(7,7) extprm(1) Confirm = [BtnGlass] a(lt) xy($Button_Shift) WizardGroup = [DialogPanel_BtnsGroup_WizardGroup] No = [BtnGlass] a(at) xy($Button_Shift) Cancel = [BtnGlass] a(at) xy($Button_Shift) extprm(1) Apply = [BtnGlass] a(at) xy($Button_Shift) [DialogPanel_BtnsGroup_WizardGroup] @ = sz(a,p) a(at) rs(0,0) Back = [BtnGlass] xy($Button_Shift) extprm(1) Next = [BtnGlass] a(at) extprm(1) ;------------- Button Glass ------------ [BtnGlass] @ = t(bmpbutton) sz($Button_CX,$Button_CY) ta(cc) f(ctl.enabled ? "BtnGlass" : "BtnGlassGray") L = bg("BtnGlassLeft,0,3,2,1,4,2") sz(6,$Button_CY) a(lt) R = bg("BtnGlassRight,0,3,2,1,4,2") sz(6,$Button_CY) a(rt) M = bg("BtnGlassMiddle,0,3,2,1,4,2") sz(p,$Button_CY) xy(6,,6) [BtnGlassMedium] @ = ext(1) [BtnGlass] sz($Button_Medium_CX,$Button_CY) [BtnSquare] $BpStates = bp(ctl.hotlight = ctl.parent.hotlight; ctl.selected = ctl.parent.selected; ctl.focused = ctl.parent.focused) @ = sz(83,83) at(btnlike) ext(1) L = bg("BtnSquareLeft,0,0,1,0,0,1") sz(3,p) a(lt) $BpStates R = bg("BtnSquareRight,0,0,1,0,0,1") sz(3,p) a(rt) $BpStates M = bg("BtnSquareMiddle,0,0,1,0,0,1") sz(p,p) xy(3,,3) $BpStates Icon = a(ct) xy(,8) $BpStates extprm(1) Body = [BtnSquare_Body] [BtnSquare_Body] @ = a(ca) sz(p,p) mg(7,4) Name = a(cc) f(ctl.enabled ? "BtnSquare" : "BtnSquareGray") extprm(1) [BtnSquarePlay] @ = [BtnSquare] subst(Icon(i("Play,0,0,1,0,0,1") xy(-2,8))) [BtnSquareStop] @ = [BtnSquare] subst(Icon(i("Stop,0,0,1,0,0,1") xy(0,8))) ;------------- Browse Dialogs ------------ [BrowseForObject] @ = $DlgAttr at(resizable) sz(300,310) ext(1) h(5207) Body = [BrowseForObject_Body] [BrowseForObject_Body] @ = sz(p,p) xy(,,,$DialogPanelSizeY) ShellTree = t(tree) alias(shelltree) a(la) sz(p,200) xy(0,$Group_Shift) extprm(1) PathLabel = sz(a,20) a(la) xy(0,$Group_Shift) extprm(1) EditGrp = [BrowseForObject_Body_EditGrp] Recursive = $Check a(la) xy(0,$Group_Shift) v(Recursive) extprm(1) [BrowseForObject_Body_EditGrp] @ = a(as) xy(3,-1) sz(p,a) rs(100,0) Add = t(button) a(rt) sz(a,21) xy(,,5) text($Add) extprm(1) PathEdit = t(edit) at(autocomplete) a(pt) sz(p) extprm(1) [BrowseForFolder] @ = [BrowseForObject] at(resizable,nohelp) subst(PathLabel() Add(use(0)) Recursive(use(0))) ext(1) [BrowseForFile] @ = $DlgAttr at(resizable) sz(300,310) ext(1) h(5049) ShellTree = t(tree) alias(shelltree) sz(p,220) xy(0,$Group_Shift) PathLabel = sz(a,20) a(la) xy(0,$Group_Shift) PathEdit = t(edit) a(as) sz(p) xy(5) at(autocomplete) [BrowseForScanObject] @ = $DlgAttr at(resizable) sz(300,310) ext(1) h(4814) ShellTree = t(tree) alias(shelltree) a(la) sz(p,200) xy(0,$Group_Shift) PathLabel = sz(a,20) a(la) xy(0,$Group_Shift) EditGrp = [BrowseForScanObject_Edit] Recursive = $Check a(la) xy(0,$Group_Shift) v(Recursive) [BrowseForScanObject_Edit] @ = a(as) xy(3,-1) sz(p,a) rs(100,0) Add = t(button) a(rt) sz(a,21) xy(,,5) text($Add) PathEdit = t(edit) at(autocomplete) a(pt) sz(p) [BrowseForUpdateSource] @ = $DlgAttr at(resizable) sz(300,310) ext(1) h(5344) ShellTree = t(tree) alias(shelltree) a(la) sz(p,230) xy(0,$Group_Shift) PathLabel = sz(a,20) a(la) xy(0,$Group_Shift) PathEdit = t(edit) a(as) sz(p,20) xy(3,-2) rs(100,0) at(autocomplete) [BrowseForRegistry] @ = $DlgAttr at(resizable,novalidator) sz(350,330) ext(1) h(5047) ShellTree = t(tree) alias(regtree) a(la) sz(p,220) xy(0,$Group_Shift) PathLabel = sz(80,20) a(la) xy(0,$Group_Shift) PathEdit = t(edit) a(as) sz(p,20) xy(3,-2) rs(100,0) v(KeyPath) ValueLabel = sz(80,20) a(la) xy(0,$Group_Shift) ValueEdit = t(edit) a(as) sz(p,20) xy(3,-2) rs(100,0) v(KeyValue) [BrowseForAppMenu] @ = t(menu) bg("MenuIconBg") Browse = text($Browse) sep AppList = bg("MenuIconBg") ;------------- Message Dialog ------------ [MessageDialog] @ = $DlgAttrBase sz(a,a) at(nohelp) text(msg.Caption) Body = [MessageDialog_Body] [MessageDialog_Body] @ = sz(a,a) mg(7,7) xy(,,,$DialogPanelSizeY) Icon = sz(32,32) xy(,,17) i(s_MsgBoxIcon(msg.Icon)) Text = t(richedit) at(readonly,noborder,nofocus) a(ac) sz(a,a,,,500) order(4) text(msg.Text) ;------------- Grid Groups -------- [Grid.Group.Bold] @ = f("GridGroup") sz(p,30) rs(100,0) border = a(lb) sz(p,2) bg("GridGroup") [Grid.Group.Template] @ = f(isExpanded ? "GridGroup" : "Normal") sz(p,30) rs(100,0) border = a(lb) sz(p,2) bg("GridGroup") [Grid.Group.Normal] @ = sz(p,0) rs(100,0) [Grid.Footer.Template] @ = f("GridGroup") sz(p,22) rs(100,0) ext(1) Add = t(hotlink) sz(a,a) a(lt) xy(5,4) i("listctrls,0") f("Hotlink_Normal") extprm(1) border = a(lt) sz(p,2) bg("GridGroup") [Grid.Footer2.Template] @ = f("GridGroup") sz(p,22) rs(100,0) ext(1) Add = t(hotlink) sz(a,a) a(lc) xy(5) i("listctrls,0") f("Hotlink_Normal") extprm(1) enable(depend(canAdd())) Edit = t(hotlink) sz(a,a) a(ac) xy(7) i("listctrls,1") f("Hotlink_Normal") extprm(1) enable(depend(canEdit())) Delete = t(hotlink) sz(a,a) a(ac) xy(7) i("listctrls,2") f("Hotlink_Normal") extprm(1) enable(depend(canDelete())) MoveUp = t(hotlink) sz(a,a) a(ac) xy(7) i("listctrls,3") f("Hotlink_Normal") extprm(1) enable(depend(canMoveUp())) use(0) MoveDown = t(hotlink) sz(a,a) a(ac) xy(7) i("listctrls,4") f("Hotlink_Normal") extprm(1) enable(depend(canMoveDown())) use(0) Import = t(hotlink) sz(a,a) a(ac) xy(7) i("listctrls,4") f("Hotlink_Normal") extprm(1) use(0) Export = t(hotlink) sz(a,a) a(ac) xy(7) i("listctrls,3") f("Hotlink_Normal") extprm(1) use(0) border = a(lt) sz(p,2) bg("GridGroup") [Grid.Editor.Template] @ = f("GridGroup") sz(p,30) rs(100,0) ext(1) Delete = at(clickable) sz(a,a) a(rc) i("listctrls,2") extprm(1) Edit = at(clickable) sz(a,a) a(pc) i("listctrls,1") extprm(1) MoveDown = at(clickable) sz(a,a) a(pc) i("listctrls,4") use(0) extprm(1) MoveUp = at(clickable) sz(a,a) a(pc) i("listctrls,3") use(0) extprm(1) [Grid.Groups] footer = [Grid.Footer.Template] rowedit = [Grid.Editor.Template] date = [Grid.Group.Bold] dateonly = [Grid.Group.Bold] expand(1) sort(-val,sortdown) task = [Grid.Group.Template] text(s_TaskID(val) + $items) taskname = [Grid.Group.Template] text(format_struct(profile(val), "ProfileReport")) expand(profile(val).state & #StateFlagOperational) runtask = [Grid.Group.Template] text(format_struct(profile(val), "ProfileReport")+ $items) expand(profile(val).state & #StateFlagOperational) scantask = [Grid.Group.Template] text(format_struct(profile(val), "ProfileReport") + f_scanEventsGroup(profile(val))) expand(profile(val).state & #StateFlagOperational) dettype = [Grid.Group.Template] expand(1) PIDGroup = [Grid.Group.Template] i(s_PIDIcon(val)) AppGroup = [Grid.Group.Template] i(s_AppIcon(val)) text($AppGroup + $items) sort($AppGroup,sortdown) AppItem = [Grid.Group.Normal] i(s_AppIcon(val)) text($AppGroup) sort($AppGroup) CounterItem = [Grid.Group.Normal] text(s_RepDetectType(val)) sort(s_RepDetectType(val)) CounterGroup = [Grid.Group.Template] text(s_CounterGroup(val)) expand(1) BasesCounterItem = [Grid.Group.Normal] text(s_BasesCounterType(val)) sort(s_BasesCounterType(val)) ObjectSite = [Grid.Group.Template] text(val) default = [Grid.Group.Template] [Grid.Find] @ = $DlgAttrBase sz(370,a) h(5909) Dlg = [Grid.FindBody] Find = $Button at(default) a(rt) sz($Button_Medium_CX,$Button_CY) Mark = $Button a(ra) xy(0,$Button_Shift) sz($Button_Medium_CX,$Button_CY) Cancel = $Button a(rb) sz($Button_Medium_CX,$Button_CY) [Grid.FindBody] @ = sz(p,a) xy(,,106) FindLbl = a(la) xy(,5,5) FindEdit = a(ls) sz(p) t(edit) xy(55,$Edit_CenterOffsetY) v(Mask) ColumnLbl = a(la) xy(,5,5) ColumnCmb = [Grid.ColumnCmb] MatchCase = $Check a(la) xy(,35) v(MatchCase) WholeWord = $Check a(la) xy(,6) v(WholeWord) [Grid.Export] @ = $DlgAttrBase sz(250,100) Progress = t(progress) a(cl) xy(0,10) sz(220,22) v(Progress) [Grid.ColumnCmb] @ = a(ls) sz(p) t(combo) xy(55,$Edit_CenterOffsetY) v(Column) alias(columns) All = at(default) [Grid.Filter] @ = $DlgAttrBase sz(a,a) v(opType) h(5910) Label = sz(a,a) Cond1 = [Grid.Filter.Condition] a(la) xy(,10,20) v(cond1) ValMask1 = t(edit) a(as) sz(245,a) v(mask1) enable(ctl.Cond1.value != "None") visible(colType == 1) ValEnum1 = t(combo) dl(10) alias(enum) a(as) v(enum1) sz(a) enable(ctl.Cond1.value != "None") visible(colType == 2) ValDate1 = t(timeedit) at(date) a(as) v(date1) sz(245,a) enable(ctl.Cond1.value != "None") visible(colType == 3) And = t(radio) sz(a,a) a(la) xy(20,10) v(1) Or = t(radio) sz(a,a) a(as) xy(20) v(2) Cond2 = [Grid.Filter.Condition] a(la) xy(,10,20) v(cond2) ValMask2 = t(edit) a(as) sz(245,a) v(mask2) enable(ctl.Cond2.value != "None") visible(colType == 1) ValEnum2 = t(combo) dl(10) alias(enum) a(as) v(enum2) sz(a) enable(ctl.Cond2.value != "None") visible(colType == 2) ValDate2 = t(timeedit) at(date) a(as) v(date2) sz(245,a) enable(ctl.Cond2.value != "None") visible(colType == 3) Space = a(la) xy(,,,$DialogPanelSizeY) [Grid.Filter.Condition] @ = t(combo) sz(100) ext(1) None = at(default) Equals = use(colType!=3) DoNotEqual = use(colType!=3) GreaterThan = use(colType==3) GreaterThanOrEqual = use(0) LessThan = use(colType==3) LessThanOeEqual = use(0) Blanks = use(colType!=3) NonBlanks = use(colType!=3) Like = use(0) NotLike = use(0) [Grid.HdrPopup] @ = t(menu) bg("MenuIconBg") SortDown = i("GridMenu,0") SortUp = i("GridMenu,1") Separator Find = i("GridMenu,4") Group = i("GridMenu,2") Filter = i("GridMenu,3") Separator [Grid.FltPopup] @ = t(menu) bg("MenuIconBg") Custom All Separator ;------------- Templates ------------ [ValuePointed] @ = sz(p,a) ext(1) Name = sz(a,a) a(lt) extprm(1) ValArea = [ValuePointed_ValArea] [ValuePointed_ValArea] @ = sz(p,a) a(at) xy($Control_Shift) Val = sz(a,a) a(rt) extprm(1) Dots = a(pb) bg("Points") sz(p,1) xy(,2) extprm(1) [Value] @ = sz(p,a) a(lt) ext(1) Name = sz(a,a) extprm(1) a(lt) Val = sz(a,a) a(rt) extprm(1) [LValue] @ = ext(1) [Value] a(la) subst(Name(a(lc)) Val(a(lt) xy(100) sz(p,a))) [ActionButton] @ = a(la) at(btnlike) sz(p,a) ext(1) mg(,,10) Name = sz(a,a) ia(lc) ta(l) i("listctrls,6") f(ctl.parent.hotlight || ctl.parent.focused ? "WizLinkHl" : "WizLink") extprm(1) Descr = a(la) sz(a,a) xy(46,3) f("MainNavDescr_a") extprm(1) [ProfileHome] @ = ext(1) sz(p,p) Header = [ProfileHome_Header] extprm(1) TasksPos = sz(0,0) a(ra) Tasks = extprm(1) sz(100,206) a(ps) mg(7,7) xy(,,7) bg("ProfileBodyGroup") Group1 = extprm(1) sz(p,206) a(ps) mg(17,10) bg("ProfileBodyGroup") Group2 = extprm(1) sz(p,p) a(la) mg(17,10) xy(,7) bg("ProfileBodyGroup") [ProfileHome_Header] @ = a(lt) sz(p,91) ext(1) Icon = sz(80,a) xy(8) a(lc) i(s_ProfileIcon(type)) extprm(1) Caption = a(at) xy(7,7) text(switch(name, "ProfileName") + if(!persistent && f_IsStateActive(state), " (" + Completion + "%)")) f("TaskName") extprm(1) Description = a(sa) xy(,5) text(s_ProfileDescription(type)) extprm(1) [ProfileHome_Progress] @ = a(la) ext(1) sz(p,a) LastStart = [Value] a(la) sz(p,a) rs(0) visible(!(state & #StateFlagOperational)) extprm(1) subst(Name() Val([ProfileHome_Progress_LastStart])) Completion = [Value] a(la) sz(p,a) rs(0) visible(state & #StateFlagOperational) subst(Name() Val([ProfileHome_Progress_Compl])) [ProfileHome_Progress_LastStart] @ = ext(1) a(rt) xy(,,120) sz(p,a) Never = a(rt) text(capitalize(s_ProfileState(#StateNotStarted, #false))) visible(state == #StateNotStarted) Last = $Link a(rt) text(lastErr ? s_ProfileError(type, lastErr) : capitalize(s_ProfileState(state, #false))) visible(state != #StateNotStarted) onclick($ProfileHome_Report) [ProfileHome_Progress_Compl] @ = sz(p,a) a(rt) ext(1) Details = $Link a(rt) onclick($ProfileHome_Report) Progress = t(progress) a(pt) xy(7,2,80) sz(p,12) v(Completion) extprm(1) [ProfileHome_Chart] @ = sz(p,p) ext(1) Zoom = [ProfileHome_Chart_Zoom] Legend = a(lb) xy(,4) sz(p,a) extprm(1) Chart = sz(p,p) a(lp) bg("ColorWindow") mg(0,3,0,5) extprm(1) Name = extprm(1) xy(40,7) f("PlotAreaFont") PeriodDesc = extprm(1) a(rt) xy(14,7) f("PlotAreaFont") text($ChartPeriod+ctl.Chart.Period()/60 + " " + s_minutes(f_numdeclension(ctl.Chart.Period()/60)) ) [ProfileHome_Chart_Zoom] @ = a(rb) sz(a,11) extprm(1) button_minus = t(bmpbutton) sz(11,11) a(lt) bg("grafplusminus,1,1,1,1,1,1") onclick(ctl.Chart.zoom("-", "60,180,300,600")) sep = bg("grafsep") a(at) xy(1,4,1) button_plus = t(bmpbutton) sz(11,11) a(at) bg("grafplusminus,0,0,0,0,0,0") onclick(ctl.Chart.zoom("+", "60,180,300,600")) [ProfileHome_ChartStat] @ = ext(1) [ProfileHome_Chart] subst( Zoom(use(0)) Name(xy() a(ct) f("GridGroup")) Chart(xy(,,,14)) ) [ChartLegend] @ = sz(a,a) a(wt) xy(,,7) ext(1) Color = a(lt) xy(,3) sz(8,8) extprm(1) Text = a(at) xy(7) extprm(1) [TaskIcon] @ = a(ca) sz(p,a) xy(,5) Icon = sz(90,92) ia(ct) at(btnlike) extprm(1) Desc = a(ls) xy(110) sz(p,78) at(dynshow) extprm(1) use(0) [TaskCheck] @ = sz(a,a) at(btnlike) onclick(menu("TaskCheckMenu")) ext(1) Icon = sz(a,a) xy(,1) bg(s_ProfileStateImage(state)) bp(ctl.hotlight = ctl.parent.hotlight) Text = a(at) xy(7) text($ProfileName) f($ProfileStateFont) extprm(1) bp(ctl.hotlight = ctl.parent.hotlight; ctl.focused = ctl.parent.focused) [TaskCheckMenu] @ = t(menu) ext(1) ErrInfo = visible($IsErr || (state & #StateFlagMalfunction)) onclick(msg("ProfileErrorInfo", f_ErrFail(lastErr) || (state & #StateFlagMalfunction) ? #m_error : #m_warning)) sep Report = text($Reports) onclick(window("MainReport:" + s_Profile2ProfileGroup(name))) sep Enable = text(s_ProfileStateEnableText(state)) onclick(s_ProfileStateClick(state)) extprm(1) Settings = text($Settings) onclick(window("OptionsWindow:" + s_Profile2ProfileGroup(name))) [TaskVal] @ = ext(1) [ValuePointed] subst(Dots(use(0))) [TaskControlBtns] @ = a(lt) sz(a,a) ext(1) Start = t(bmpbutton) a(lt) bg("TaskBar,0,1,0,2,0,3") v("run:" + name) enable(switch(state,"TaskStartEnable")) tt($Start) Pause = t(bmpbutton) a(as) bg("TaskBar,5,6,5,7,5,8") v("pause:" + name) enable(switch(state,"TaskPauseEnable")) tt($Pause) Stop = t(bmpbutton) a(as) bg("TaskBar,10,11,10,12,10,13") v("stop:" + name) enable(switch(state,"TaskStopEnable")) tt($Stop) [TaskPageBtn] @ = at(clickable,singleline,radiolike) ta(cc) sz(112,26) ext(1) bg(ctl.selected ? "MainWindowNavSel" : "MainWindowNav") rs(0,0) mg(,5,,) SelBox = [TaskPageBtn_SelBox] Sep = sz(1,p) a(rt) xy(,-5) bg("MainWindowTabSep") visible(!ctl.parent.selected) Dummy = sz(110,2) a(lb) bg("MainWindowNavColor") xy(1,-1) visible(ctl.parent.selected) [TaskPageBtn_SelBox] @ = sz(p,5) bg("MainWindowCorpHilight") visible(ctl.parent.selected) xy(1,-4,1,) [RunAsGroup] @ = $SettingsGroup xy(0,) ext(1) Enable = t(check) sz(a,a) v(runas.enable) Account = [LValue] xy(20,7) enable(runas.enable) subst(Name() Val(t(edit) v(runas.account) onok(if(runas.enable && !ctl.value, balloon("NoRunAsAccount"))))) Pswd = [LValue] xy(20,7) enable(runas.enable) subst(Name() Val(t(edit) at(password) v(bicrypt(runas.password)))) ;------------- Tray Window ------------ [Tray] @ = t(tray) alias(producttray) ext(1) onclick(window("MainWindow")) [Tray.menu] @ = t(menu) Updater = alias(taskview) onclick(f_StartUpdater()) Scan_My_Computer = alias(taskview) onclick(f_StartScanMyComputer()) ScanCustom = onclick(window("MainWindow:Scan_Objects:Home:Scan_Objects")) RunningTask = at(hidden) alias(taskview) onclick(f_StartScan(name)) text($ProfileName + if(f_IsStateActive(state), " (" + Completion + "%)")) sep NetMonitor = onclick(window("NetworkMonitor")) use(f_isInstalled("Firewall")) VirtualKeyboard = onclick(window("VirtualKeyboard")) use($PersonalOnly && !$IsKAV) sep KAV = at(default) onclick(window("MainWindow:Protection")) Settings = onclick(window("OptionsWindow")) Activate = onclick(f_Activate()) visible(global.KeyState && (global.KeyState & #eKeyWaitActivation) == 0) About = onclick(window("ProductInfo")) ;Report_ParCtl = onclick(window("Report_ParCtl")) text($ParCtl + " Report") sep DisableProtect = onclick(s_IsStateRunning(Protection.state) ? f_setState(#TASK_REQUEST_PAUSE, "Protection") : setstate(#TASK_REQUEST_RUN, "Protection")) use(!$IsProtectionNotInstalled) enable(!s_IsStateTransitional(Protection.state) && !$IsSafeMode) BlockNetwork = onclick(Hips.FirewallSettings.WorkingMode = Hips.FirewallSettings.WorkingMode == #fwBlockAll ? #fwAllow : #fwBlockAll) use(f_isInstalled("Firewall") && $PersonalOnly) sep RestartOS = onclick(f_RestartOs()) use($IsNeedReboot) Unload = onclick(exit()) [TrayNewsMenu] @ = t(tray) alias(newstray) text($NewsFromKL) [TrayNewsMenu.menu] @ = t(menu) KAV = onclick(window("MainWindow:Protection")) News = at(default) v(news) onclick(window("NewsReaderDialog")) Hide = onclick(hide_news_tray()) ;------------- Main Window ------------ [Templates] $NavGroup = [MainWindow_Navigator_Group] $NavButton = [MainWindow_Navigator_Button] $NavButtonSmall = [MainWindow_Navigator_ButtonSmall] $NavGroupBottomSpace = a(la) sz(p,14) use(!$IsRD) [MainWindow] @ = $DlgAttrBase mg(0,0) alias(taskview) at(minimizable) sz(700,546) h(938) onclose(if(env("WithoutSysShell"), if(msg("ProductExitConfirm", #m_yesno), exit(), false))) Header = [MainWindow_Header] Navigator = [MainWindow_Navigator] Footer = [MainWindow_Footer] Light = sz(a,a) xy(164,5) alias(productstatus) prm(s_ProductStateList) bg(s_MainWindowProtectionLight(s_ProdStateSeverity(ProdStateId))) bp(ctl.hotlight = ctl.Banner.hotlight; ctl.focused = ctl.Banner.focused; f_MainLightBlink(s_ProdStateSeverity(ProdStateId))) [MainWindow_Header] @ = sz(p,73) rs(100,0) hdr = [ProductHeader] sz(p,p) subst(Sep(use(0)) Logo(at(clickable) onclick(window("ProductInfo")))) Settings = [BtnGlassMedium] a(rt) xy(9,8,$Button_Shift) onclick(window("OptionsWindow:" + ctl.Navigator.value)) use1(!$IsRD) AlphaWarning = sz(a,a) xy(160,3) f("Header1White") use(!$IsRelease) Banner = [MainWindow_Navigator_Banner] [MainWindow_Navigator] @ = alias(navigator) btns(Btns) a(la) sz(p,p) xy(,,,$DialogPanelSizeY) at(enum,loadpages) bg("MainWindowNavBg") WaterMark = sz(a,a) a(lb) xy(-120,-20) bg("ProtWatermark") _client_area = [MainWindow_Navigator__client_area] Sep = sz(1,p) b(WorkAreaLeftBorder) xy(214) Btns = [MainWindow_Navigator_Btns] [MainWindow_Navigator_Btns] @ = sz(208,a) xy(7,0) order(0) ProtGroup = $NavGroup subst(Body([MainWindow_Navigator_ProtGroup])) a(lt) use(!$IsProtectionNotInstalled) ScanGroup = $NavGroup subst(Body([MainWindow_Navigator_ScanGroup])) xy(,-1) UpdaterGroup = $NavGroup subst(Body([MainWindow_Navigator_UpdaterGroup])) sz(p,68) xy(,-1) use(f_isInstalled("Updater")) LicenseGroup = $NavGroup subst(Body([MainWindow_Navigator_LicenseGroup])) sz(p,69) xy(,-1) use(!$IsRD) [MainWindow_Navigator_ProtGroup] @ = sz(p,a) Protection = $NavButton i("TaskProt32") a(lt) subst(Text(text($Protection))) onshow(ctl.focus()) Antivirus = $NavButtonSmall enable(s_IsFunctionalityLevel_Protection(LicInfo.FuncLevel)) use(f_isInstalled(ctl.id)) subst(Text(text($Antivirus))) SystemWatch = $NavButtonSmall enable(s_IsFunctionalityLevel_Protection(LicInfo.FuncLevel)) use(f_isInstalled(ctl.id)) subst(Text(text($SystemWatch))) OnlineSecurity = $NavButtonSmall enable(s_IsFunctionalityLevel_Protection(LicInfo.FuncLevel)) use(f_isInstalled(ctl.id)) subst(Text(text($OnlineSecurity))) ContentFilter = $NavButtonSmall enable(s_IsFunctionalityLevel_Protection(LicInfo.FuncLevel)) use(f_isInstalled(ctl.id)) subst(Text(text($ContentFilter))) BottomSpace = $NavGroupBottomSpace [MainWindow_Navigator_ScanGroup] @ = sz(p,a) Scan_Objects = $NavButton alias(taskview) i("TaskODS32") enable(s_IsFunctionalityLevel_Protection(LicInfo.FuncLevel)) subst(Text(text($Scan_Objects + if(f_IsStateActive(state), " (" + Completion + "%)")))) Scan_My_Computer = $NavButtonSmall alias(taskview) enable(s_IsFunctionalityLevel_Protection(LicInfo.FuncLevel)) use(f_isInstalled(ctl.id)) subst(Text(text($Scan_My_Computer + if(f_IsStateActive(state), " (" + Completion + "%)")))) Scan_Startup = $NavButtonSmall alias(taskview) enable(s_IsFunctionalityLevel_Protection(LicInfo.FuncLevel)) use(f_isInstalled(ctl.id)) subst(Text(text($Scan_Startup + if(f_IsStateActive(state), " (" + Completion + "%)")))) BottomSpace = $NavGroupBottomSpace [MainWindow_Navigator_UpdaterGroup] @ = sz(p,a) Updater = $NavButton alias(taskview) i("TaskUpdater32") subst(Text(text($Updater + if(f_IsStateActive(state), " (" + Completion + "%)")))) enable(s_IsFunctionalityLevel_Updater(LicInfo.FuncLevel)) [MainWindow_Navigator_LicenseGroup] @ = sz(p,a) License = $NavButton i("TaskLicense32") subst(Text(text($License))) use(!$IsRD) [MainWindow_Navigator__client_area] @ = sz(p,p) xy(214) [MainWindow_Navigator_Banner] @ = sz(481,36) rs(0,0) a(rb) at(btnlike) ta(lc) alias(productstatus) prm(s_ProductStateList) bg(s_MainProtectionBannerBg(s_ProdStateSeverity(ProdStateId))) onclick(window("MainThreats:Status")) Text = [LabelShadow] xy(40) a(lc) subst(B(text(s_ProtectionBannerText(s_ProdStateSeverity(ProdStateId))) f(s_ProtectionBannerBGFont(s_ProdStateSeverity(ProdStateId))) ) F(f("ProtBanner"))) Details = [LabelShadow] sz(117,a) xy(353) a(lc) subst(B(a(ct) f(s_ProtectionBannerBGFont(s_ProdStateSeverity(ProdStateId))) ) F(f("ProtBanner"))) visible(s_ProdStateSeverity(ProdStateId) != #eProtStateNormal) [MainWindow_Footer] @ = sz(p,$DialogPanelSizeY) a(lb) bg("DlgFooter") rs(100,0) mg(7) Unload = [BtnGlassMedium] a(rc) xy(,,$Button_Shift) onclick(close()) use(env("WithoutSysShell")) Reports = [BtnGlassMedium] a(pc) xy(,,$Button_Shift) onclick(window("MainReport:" + s_Profile2ProfileGroup_Reports(ctl.Navigator.value))) Detected = [BtnGlassMedium] a(pc) xy(,,$Button_Shift) onclick(window("MainThreats:Threats:Active")) Help = $Link f("MainFtr") a(lc) xy(2) onclick($IsRD ? dialog("RescueDiskHelp") : help(s_MainWindowHelp(ctl.Navigator.value))) text($Help) S = f("MainFtr") a(ac) xy($Button_Shift) text("|") use(!$IsRD) Support = $Link f("MainFtr") a(ac) xy($Button_Shift) onclick(window("SupportWindow")) use(!$IsRD) Upgrade = [BtnGlass] sz(a,$Button_CY) a(lc) xy(214) onclick(url(env("ProductUpgradeLink"))) use($IsKAV && env("ProductUpgradeLink")) [MainWindow_Footer_ResizeBackground] @ = sz(0,p) a(rt) rs(100,0) bg("MainWindowCorp") [MainWindow_Navigator_Group] $GradSize = 25 $IsSel = depend(ctl.Body.isAnyChildrenSelected()) $SelOffset = 2 @ = sz(p,a) a(la) ext(1) Ts = a(lt) bg("NavGroupSelTop,0") visible($IsSel) Ms = sz(p,p) xy(,$GradSize,,$GradSize) bg("NavGroupSel") b(WorkAreaLeftBorder) visible($IsSel) Bs = a(lb) bg("NavGroupSelBottom,0") visible($IsSel) Ti = a(lt) bg("NavGroupSelTop,1") xy($SelOffset,,1) visible(!$IsSel) Mi = a(lt) bg("NavGroupInactive") xy($SelOffset,$GradSize,1,$GradSize) sz(p,p) b(WorkAreaLeftBorder) visible(!$IsSel) Bi = a(lb) bg("NavGroupSelBottom,1") xy($SelOffset,,1) visible(!$IsSel) BodyIP = a(lt) xy($SelOffset) visible(!$IsSel) BodySP = a(lt) visible($IsSel) Body = extprm(1) a(at) sz(p,a) xy(8,8,0,8) [MainWindow_Navigator_Button] @ = sz(p,32) a(la) xy(,7,,7) mg(4,,1) at(radiolike) alias(task) v(ctl.id) ext(1) Text = a(lc) xy(40) sz(p,a) at(singleline) extprm(1) f(ctl.parent.hotlight || ctl.parent.focused ? "NavBtnHl" : "NavBtn") [MainWindow_Navigator_ButtonSmall] @ = sz(p,a) a(la) xy(,,,9) mg(4,,1) at(radiolike) ext(1) alias(task) v(ctl.id) Sel = a(lc) xy(9) i("NavSelState") visible(ctl.parent.selected) Text = a(lc) xy(40) sz(p,a) at(singleline) extprm(1) f(ctl.parent.hotlight || ctl.parent.focused ? "NavSmallHl" : "NavSmall") ;------------- Wizards ------------ [WizardTpl] @ = $DlgAttrBase at(wizard,customfooter,minimizable) mg(0,0,0,0) sz(500,370) bg("ColorWindow") Footer = [DialogPanel] subst(Next(use(0))) extprm(1) Pages = sz(p,p) xy(,,,$DialogPanelSizeY) extprm(1) at(sheetpages) order(0) ;WaterMark = sz(a,a) a(rp) bg("ProtWatermark") [WizardPage] @ = ext(1) sz(p,p) Header = [WizardPage_Header] Body = a(la) sz(p,p) mg(27,27,27,7) extprm(1) [WizardPage_Header] @ = sz(p,65) extprm(1) hdr = [ProductHeader] sz(p,p) subst(Logo(use(0))) Name = sz(a,a) xy(27,12,7) f("Bold11White") extprm(1) Descr = sz(a,a) a(sa) xy(,3,7) f("Normal_White") extprm(1) [WizardPage_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") [WizardButton] @ = at(btnlike) a(la) sz(p,a) mg(,,,10) xy(10,5,10,0) ext(1) Name = sz(a,a) ta(lc) xy(7,7) i("listctrls,6") f(ctl.parent.hotlight || ctl.parent.focused ? "WizLinkHl" : "WizLink") extprm(1) Descr = a(sa) sz(a,a) extprm(1) xy(20) [LWizardButton] @ = [WizardButton] subst(Name(i("listctrls,5"))) [SupportWindow] @ = $DlgAttrBase sz(503,a) at(customfooter) bg("ColorWindow") alias(taskview) h(7078) Header = [ProductHeader] xy(-7,-7,-7) sz(p,53) Body = [SupportWindow_Body] Footer = [SupportWindow_Footer] [SupportWindow_Body] @ = sz(p,a) xy(,7,,$DialogPanelSizeY) a(la) SysInfo = [SupportWindow_Body_SysInfo] Links = [SupportWindow_Body_Links] [SupportWindow_Body_SysInfo] @ = $SettingsGroup xy(,7) ProdVer = [LValue] subst(Name(a(lt)) Val(xy(200) text(env("ProductVersion") + if(ProductHotfix, " (" + global.ProductHotfix + ")")))) Signatures = [LValue] xy(,7) subst(Name(a(lt)) Val(xy(200) text(datetime(AVService.BasesDate)))) OSVer = [LValue] xy(,7) subst(Name(a(lt)) Val(xy(200) text(global.OSVersion))) [SupportWindow_Body_Links] @ = $SettingsGroup xy(,7) Support = [WizardButton] xy(,) onclick(url($SupportURL)) subst(Name(text($SupportName)) Descr(text($SupportDescr))) Forum = [WizardButton] xy(,) onclick(url($ForumURL)) subst(Name(text($ForumName)) Descr(text($ForumDescr))) Cabinet = [WizardButton] xy(,) onclick(perscab()) subst(Name(text($PersonalCabinetName)) Descr(text($PersonalCabinetDescr))) use(0) SupportReq = [WizardButton] xy(,) onclick(perscab(1)) subst(Name(text($SupportReqName)) Descr(text($SupportReqDescr))) use(0) OnlineCourses = [WizardButton] xy(,) onclick(url($OnlineCoursesURL)) subst(Name(text($OnlineCoursesName)) Descr(text($OnlineCoursesDescr))) [SupportWindow_Footer] @ = sz(p,$DialogPanelSizeY) a(lb) bg("DlgFooter") rs(100,0) mg(7) xy(-7,-7,-7,0) Close = [BtnGlass] a(pc) xy(,,$Button_Shift) onclick(close()) text($Close) Help = $Link f("MainFtr") a(lc) xy(2) onclick(help(7078)) text($Help) S = f("MainFtr") a(ac) xy($Button_Shift) text("|") Traces = $Link f("MainFtr") a(ac) xy($Button_Shift) onclick(dialog("SupportWindow.Traces")) S2 = f("MainFtr") a(ac) xy($Button_Shift) text("|") visible(size(News)) News = $Link f("MainFtr") a(ac) xy($Button_Shift) onclick(window("NewsReaderDialog")) visible(size(News)) [SupportWindow.Traces] @ = $DlgAttrBase sz(503,a) at(a_close) bg("ColorWindow") h(7079) Intro = sz(p,a) ia(lt) i("warning") xy(7,7) Trace = [SupportWindow.Traces_Trace] Action = [SupportWindow.Traces_Action] Footer = [SupportWindow.Traces_Footer] [SupportWindow.Traces_Footer] @ = sz(p,$DialogPanelSizeY) a(lb) bg("DlgFooter") rs(100,0) mg(7) xy(-7,-7,-7,0) Help = $Link f("MainFtr") a(lc) xy(2) onclick(help(7079)) text($Help) [SupportWindow.Traces_Trace] @ = $SettingsGroup xy(,7) Label = sz(p,a) StateLabel = a(la) xy(,7) sz(a,a) State = a(ls) xy(60,) sz(a,a) LevelLabel = a(la) xy(,10) sz(a,a) Level = [SupportWindow.Traces_Trace_Level] OnOff = $Button_Medium a(rs) onclick(switch_tracer()) [SupportWindow.Traces_Trace_Level] @ = t(combo) a(ls) xy(60,-3) sz(150,0) v(tracer_level()) lvl100 = v(100) sz(a,a) lvl200 = v(200) sz(a,a) lvl300 = v(300) sz(a,a) lvl400 = v(400) sz(a,a) lvl500 = v(500) at(default) sz(a,a) lvl600 = v(600) sz(a,a) [SupportWindow.Traces_Action] @ = $SettingsGroup xy(0,7,,$DialogPanelSizeY) AvzReport = [WizardButton] sz(a,a) xy(,) subst(Name(text()) Descr()) onclick(f_AvzDialog("AvzCollectSysInfoWizard")) Send = [WizardButton] xy(,) subst(Name(text()) Descr()) onclick(dialog("SendTroublesDialogEx")) AvzScript = [WizardButton] xy(,) subst(Name(text()) Descr()) onclick(f_AvzDialog("AvzRunScriptWizard")) GotoFolder = $Button_Medium a(rt) xy(,10) onclick(if(!gotofile(objdir(env("AVZSysInfo"))), msg("CantOpenFolder"))) [Product_Notification] @ = t(dialog) sz(360,a) xy(4,4,4,4) at(nocaption,dragable,layered,ontop,bottom,noautofocus) onchange(if(CheckSound, sound(s_ProductNotificationSound($NotifyEventSeverity)))) mg(3,3) prm($ProductNotificationText, $ProductNotificationTipText) bg(s_NotifyWindowBorder($NotifyEventSeverity)) Body = [Product_Notification_Body] [Product_Notification_Body] @ = sz(p,a) bg("ColorWindow") mg(1,1,1,0) HdrTop = [Product_Notification_Body_HdrTop] DescrBody = [Product_Notification_Body_DescrBody] DescrBottom = [Product_Notification_Body_DescrBottom] visible($ShowNoLicReminder && (EventID != #eNotifyLicensing)) [Product_Notification_Body_HdrTop] @ = sz(p,26) bg(s_NotifyWindowHeader($NotifyEventSeverity)) LogoS = sz(a,a) a(lc) xy(9,1) f("Header1") text($ProductName) Logo = sz(a,a) a(lc) xy(10) f("Header1White") text($ProductName) Close = at(btnlike) a(rc) sz(16,16) xy(6,1) bg("WndCtl,0,0,1,0,0,1") onclick(close()) Options = at(btnlike) a(ps) sz(16,16) xy(0) bg("WndCtl,4,4,5,4,4,5") visible(global.settings.EnableInteraction) onclick(menu("Product_Notification_OptionsMenu")) [Product_Notification_Body_DescrBody] @ = sz(p,a) a(la) mg(15,15,15,15) Descr = t(richedit) mg(0,9) sz(p,a) at(readonly,noborder,nofocus) text(DisplayText) tt(f_RemoveTags(DisplayTipText)) a(ct) Link = [ActionButton] onclick($ProductNotificationLink) visible(ProdStateId && ProdStateId != #ProdStateSomeSkipped) rs(0,0) xy(,10,,-10) subst(Name(bp(ctl.text = $ProductNotificationLinkText; ctl.parent.visible = ctl.text))) [Product_Notification_Body_DescrBottom] @ = 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) ) [Product_Notification_OptionsMenu] @ = t(menu) ;bg("MenuIconBg") NotifyDisable NotifyDisableAll sep NotifyConfigure = onclick(window("OptionsWindow:Notifications")) text($Configure) [LabelShadow] @ = sz(a,a) ext(1) B = sz(a,a) xy(1,1) at(singleline) extprm(1) F = sz(a,a) a(ss) xy(-1,-1) text(ctl.B.text) at(singleline) extprm(1) ;------------- ProductInfo -------------- [ProductInfo] @ = $DlgAttrBase sz(300,a) mg(0,0) at(dragable,a_close,nohelp) bg("ColorWindow") Header = [ProductInfo_Header] Body = [ProductInfo_Body] [ProductInfo_Header] @ = sz(p,63) at(chklike,clickable) hdr = [ProductHeader] sz(p,63) Team = xy(20,19) a(rt) bg("titleteam") visible(ctl.parent.selected) use(!$IsRD) [ProductInfo_Body] @ = a(la) sz(p,250) xy(,,,$ButtonsLineSizeY) About = [ProductInfo_Body_About] Credits = t(credits) sz(p,p) xy(,,,7) visible(ctl.Header.selected) use(!$IsRD) [ProductInfo_Body_About] @ = sz(p,a) mg(15,5) visible($IsRD || !ctl.Header.selected) Product = a(lt) sz(a,a) f("Normal_Bold") Copyright = a(la) xy(,7) sz(a,a) f("Normal_Bold") Warning = a(la) xy(0,15) sz(p,a) Warning2 = a(sa) xy(,7) sz(a,a) [__Chart__] @ = alias(taskview) File_Monitoring_NumScaned = v(File_Monitoring.NumScaned) File_Monitoring_NumDetected = v(File_Monitoring.NumDetected) Mail_Monitoring_NumScaned = v(Mail_Monitoring.NumScaned) Mail_Monitoring_NumDetected = v(Mail_Monitoring.NumDetected) Web_Monitoring_NumScaned = v(httpscan.NumScaned + sc.NumScaned) Web_Monitoring_NumDetected = v(httpscan.NumDetected + sc.NumDetected) ids_AttacksDetected = v(ids.AttacksDetected) antiphishing_nURLsDetected = v(AntiPhishingService.Data.nURLsDetected) antiphishing_nURLsChecked = v(AntiPhishingService.Data.nURLsChecked) antidial_nDialsBlocked = v(antidial.nDialsBlocked) antidial_nDialsChecked = v(antidial.nDialsChecked) ParCtl_nURLsDetected = v(ParCtlService.ProfilesStat.find("nProfileId == $ParCtlCurProfile").Data.nURLsDetected) ParCtl_nURLsChecked = v(ParCtlService.ProfilesStat.find("nProfileId == $ParCtlCurProfile").Data.nURLsChecked) AdBlocker_nURLsDetected = v(AdBlockService.Data.nURLsDetected) AdBlocker_nURLsChecked = v(AdBlockService.Data.nURLsChecked) Anti_Spam_MailSpamCount = v(Anti_Spam.MailSpamCount) Anti_Spam_MailCount = v(Anti_Spam.MailCount) Hips_InBytes = v(Firewall.InBytes) Hips_OutBytes = v(Firewall.OutBytes) Hips_UntrustAppCount = v(HipsTask.UntrustAppCount) pdm_TreatsCount = v(pdm.nTreats) avs_Performance = v(AVService.Performance) Updater_DownloadedBytesCount = v( (Updater.state==#StateRunning)? Updater.DownloadedBytesCount:0) Updater_Speed = v( (Updater.state==#StateRunning)? Updater.Speed:0) [DialogInfoHeader] @ = a(la) sz(p,a) bg("AlertInfo") ext(1) Info = a(la) sz(p,a) mg(17,17) extprm(1) Buttom = a(la) sz(p,4) bg("AlertInfoBottom") Text = sz(a,a) xy(17,4) extprm(1) a(lc) f("DialogInfoHeader") [ProductHeader] @ = sz(p,73) bg("MainWindowHeader") rs(,0) ext(1) Logo = bg(s_ProductLogo(env("ProductType"))) sz(a,a) a(lc) extprm(1) _rs = sz(p,p) at(fixstyle) bg("MainWindowHeader_rs") xy(700) Sep = sz(p,1) a(lb) b(BlackSeparator) extprm(1) [RescueDiskHelp] @ = $DlgAttrBase at(a_close,nohelp) sz(350,328) text($Help) Text = t(edit) at(multiline,readonly,vscroll) sz(p,p) xy(,,,$DialogPanelSizeY) text(const(filebody(env("RescueDiskHelpFile"))))) ;------------- ProductInfo -------------- [NewsReaderTemplate] @= sz(p,p) Header = [ProductHeader] sz(p,53) Body = [NewsReaderTemplate_Body] [NewsReaderTemplate_Body] @=a(la) sz(p,p) mg(3,0) xy(,,,$DialogPanelSizeY) d=[NewsReader_Splitter] [NewsReader_Splitter] @ = t(splitter) sz(p,p) at(rememberdata) bg("MainWindowNavBg") List = [News_List] Text = [News_Text] [News_List] @ = t(list) at(noborder) sz(p,p) bg("ColorWindow") at(singlesel,noheader) v(News) alias(vector) onshow(ctl.focus(); hide_news_tray() ) onfocus(hide_product_news(Id)) Title = sz(a,a) text(Title) i(s_ProductNewsIcon(Severity)) f(is_news_hidden(Id)? "Normal":"Normal_Bold") [News_Text] @ = t(html) at(noborder,nofocus) sz(p,p) alias(descriptor) dataowner(List) text(Text) onchange(msg("DeleteItemsConfirm", #m_yesno)) [NewsReaderDialog] @=$DlgAttrBase at(a_close,resizable,minimizable) mg(0,0) sz(600,550) bg("MainWindowNavBg") h(7137) d=[NewsReaderTemplate] ;-------- AskActivationCodeDialog --------- [AskActivationCodeDialog] @ = $Dlg sz(500,370) at(a_ok,a_cancel,nohelp) text($ProductName) Body = [AskActivationCodeDialogBody] [AskActivationCodeDialogBody] @ = $DlgBodyAttr Icon = sz(32,32) xy(,,17) i("e32") Body2 = [AskActivationCodeDialogBody2] a(as) [AskActivationCodeDialogBody2] @ = sz(p,p) Explain = t(richedit) at(readonly,noborder,nofocus) a(sa) sz(p,a)\ text("Product Alert:\nThe confirmation of your Subscription Status cannot be performed. To keep your product active, you need to enter your product key code in the box below.\n\n"+\ "The product key code is located inside the Kaspersky CD sleeve. It is a combination of letters and numbers - XXXXX-XXXXX-XXXXX-XXXXX and looks like this:") Sticker = sz(a,a) a(ca) xy(,10) i("ac_sn") Code = a(la) xy(,15) sz(a,a) text("Product key code:") f("Normal_Bold") ActCode = t(edit) at(serial) a(as) sz(250,a) xy($Edit_CommentOffsetX,$Edit_CenterOffsetY) v(ActivationCode) onok(if(!ActivationCode, balloon("ErrEmptyActivationCode"))) Support = a(lb) sz(a,a) text("If you have any problems please contact customer support.")