;------------- anti-spam --------------

[Anti_Spam]
props=$Task_Panel
State=[Task_Header]
Body=[AS_Body]

[AS_Body]
props=$Task_Body
Description=[Task_Description]
Settings=[Anti_Spam_Settings]
Statistics=[Anti_Spam_Statistics]

[Anti_Spam_Settings]
props        = $Task_Settings
Status       = $Task_Statistics_Item v($(state,ProfileState))                                            f($(state,SubProfileStateFont))
Sensitivity  = $Task_Statistics_Item v($(level,Profile_Protection_Level))                                f($($ProfileActiveStateFont))
StatusTM     = $Task_Statistics_Item v($(CheckTrafficMonitorMessages,SubComponentState,SubProfileState)) f($(CheckTrafficMonitorMessages,SubComponentActiveState,SubProfileStateFont))
StatusPlugin = $Task_Statistics_Item v($(CheckExternalPluginMessages,SubComponentState,SubProfileState)) f($(CheckExternalPluginMessages,SubComponentActiveState,SubProfileStateFont))

[Anti_Spam_Statistics]
props        = $Task_Statistics
Checked      = $Task_Statistics_Item v($(MailCount))           f($($ProfileActiveStateFont))
Spam         = $Task_Statistics_Item v($(MailSpamCount))       f($($ProfileActiveStateFont))
HamBaseSize  = $Task_Statistics_Item v($(HamBaseSize))         f($($ProfileActiveStateFont))
SpamBaseSize = $Task_Statistics_Item v($(SpamBaseSize))        f($($ProfileActiveStateFont))

;------------- SettingsWindow.Anti_Spam -----------

[SettingsWindow.Anti_Spam]
props=$SettingsViewPanel h(1149)
Header=$SettingsViewHeader i(AS)
Body=[SettingsWindow.Anti_Spam_Body]

[SettingsWindow.Anti_Spam_Body]
props=$SettingsBodyAttr
Startup=[SettingsViewStartup]
StartupGroup=[SettingsViewStartup_Group]
ScanSettingsGroup=[LevelGroup5] lb(v($(flags,fld($AsLevelFields))))
TrainingGroup=[Training_Group]
ConnectivityGroup=[ASConnectivity_Group]

[ASConnectivity_Group]
props=$SettingsGroupNext sz(p,a) disable($(enabled,EnableIfNotZero)) lb(v($(flags,fld($AsConnectivityFields))))
Traffic=$Checkbox $First_Control v($(CheckTrafficMonitorMessages))	tt($(CheckTrafficMonitorMessages, ASConnectivity_Group_Traffic))
Clients=$Checkbox $Next_Control v($(CheckExternalPluginMessages))	tt($(CheckExternalPluginMessages, ASConnectivity_Group_Clients))
MailWasher=$Checkbox $Next_Control v($(ShowMailwasher)) disable($(CheckTrafficMonitorMessages,EnableIfNotZero))	tt($(ShowMailwasher, ASConnectivity_Group_MailWasher)) usefor($($IsAK,!))

[Training_Group]
props=$SettingsGroupNext sz(p,a) disable($(enabled,EnableIfNotZero)) usefor($($IsAK,!))
TrainOutgoing=$Checkbox $First_Control v($(CheckIncomingMessagesOnly)) at(invert)	tt($(CheckIncomingMessagesOnly, Training_Group_TrainOutgoing))
RunTraining=$Button_Large a(ra) xy(0,5) usefor($($IsAK,!)) disable($TaskPauseEnable$(enabled,EnableIfNotZero))	tt($Training_Group_RunTraining)

;------------- SettingsWindow.Anti_Spam.Customize -----------

[SettingsWindow.Anti_Spam.Customize]
props   = $DlgAttr sz(422,415) at(resizable) alias(antispamadvsettdlg)
Tab     = [AS_Tab]

[AS_Tab]
props   = $DlgBodyTabAttr
White   = [WL_Tab]     h(1160) usefor($($IsAK,!))
Black   = [BL_Tab]     h(1161) usefor($($IsAK,!))
Bayes   = [AS_Bayes]   h(1157)
Options = [AS_Options] h(1162) usefor($($IsAK,!))

;------------- AS_Bayes -----------

[AS_Bayes]
props=disable($(level,AS_Bayes_Disabled))
BayesGeneral=[Bayes_General]
CertainSpam=[CertainSpam_Group]
PossibleSpam=[PossibleSpam_Group]

[Bayes_General]
props=$SettingsGroupFirst sz(p,a)
;lb(v($(flags,fld(UseBayesian,UseGSG,UsePDB))))
EnableBayes=$Checkbox $First_Control v($(UseBayesian))
Graphics=$Checkbox $Next_Control v($(UseGSG))
Headers=$Checkbox $Next_Control v($(UsePDB))

[CertainSpam_Group]
props=$SettingsGroupNext sz(p,a) disable($(UseGSG,+,UsePDB,+,UseBayesian,EnableIfNotZero))
;lb(v($(flags,fld(ProbableSpamHighLevel))))
Text=$First_Control sz(p,a)
CertainSpamSlider=t(slider) a(la) sz(p,30) xy(,,60) nl(1,99) v($(ProbableSpamHighLevel))
CertainSpamRate=t(edit) at(number) a(rs) sz(50) nl(1,99) v($(ProbableSpamHighLevel))

[PossibleSpam_Group]
props=$SettingsGroupNext sz(p,a) disable($(UseGSG,+,UsePDB,+,UseBayesian,EnableIfNotZero))
;lb(v($(flags,fld(ProbableSpamLowLevel))))
Text=$First_Control sz(p,a)
PossibleSpamSlider=t(slider) a(la) xy(,,60) sz(p,30) nl(1,99) v($(ProbableSpamLowLevel))
PossibleSpamRate=t(edit) at(number) a(rs) sz(50) nl(1,99) v($(ProbableSpamLowLevel))

;------------- WL_Tab -----------

[WL_Tab]
props          = disable($(level,AS_WL_Disabled))
;General        = [WL_General]
TrustedSenders = [Trusted_Senders] a(lt) sz(p,160) rs(,50)
TrustedWords   = [Trusted_Words]   a(la) sz(p,p) xy(,$Group_Shift)

[WL_General]
props=$SettingsGroupFirst sz(p,a)
Radio1=t(radio) $First_Control
Radio2=t(radio) $Next_Control

[Trusted_Senders]
props=$SettingsGroupFirst h(1035)
Check=$Checkbox $First_Control v($(UseWhiteAddresses))
TSList=[TS.List]
Add=$Button a(rs)
Edit=$Button a(ra) xy(,7)
Delete=$Button a(ra) xy(,7)
;Export=$ListButton a(rb)
Import=$ListButton a(ra) xy(,7)

[Trusted_Words]
props=$SettingsGroupNext
Check=$Checkbox $First_Control v($(UseWhiteWords))
TWList=[TW.List]
Add=$Button a(rs)
Edit=$Button a(ra) xy(,7)
Delete=$Button a(ra) xy(,7)

[TS.List]
props=t(list) alias(vector.AsEmailsList) sz(p,p) xy(,3,80) at(sorted,checked,checked) a(la) disable($(UseWhiteAddresses,EnableIfNotZero)) v($(WhiteAddrs))
Rule=v($(Rule),$(Enabled))

[TW.List]
props=t(list) alias(vector) sz(p,p) xy(,3,80) at(sorted,checked,checked) a(la) disable($(UseWhiteWords,EnableIfNotZero)) v($(WhiteWords))
Rule=v($(Rule),$(Enabled))

;------------- BL_Tab -----------

[BL_Tab]
props          = disable($(level,AS_BL_Disabled))
;BL_General     = [BL_General]
BlockedSenders = [Blocked_Senders] a(lt) sz(p,160) rs(,50)        
TrustedWords   = [Blocked_Words]   a(la) sz(p,p) xy(,$Group_Shift)

[BL_General]
props=$SettingsGroupFirst sz(p,a)
EnableBlack=$CheckBox $First_Control

[Blocked_Senders]
props=$SettingsGroupFirst h(1035)
Check=$Checkbox $First_Control v($(UseBlackAddresses))
BSList=[BS.List]
Add=$Button a(rs)
Edit=$Button a(ra) xy(,7)
Delete=$Button a(ra) xy(,7)

[Blocked_Words]
props=$SettingsGroupNext
Check=$Checkbox $First_Control v($(UseBlackWords))
BWList=[BW.List]
Add=$Button a(rs)
Edit=$Button a(ra) xy(,7)
Delete=$Button a(ra) xy(,7)

[BS.List]
props=t(list) alias(vector.AsEmailsList) sz(p,p) xy(,3,80) at(sorted,checked,checked) a(la) disable($(UseBlackAddresses,EnableIfNotZero)) v($(BlackAddrs))
Rule=v($(Rule),$(Enabled))

[BW.List]
props=t(list) alias(vector) sz(p,p) xy(,3,80) at(sorted,checked,checked) a(la) disable($(UseBlackWords,EnableIfNotZero)) v($(BlackWords))
Rule=v($(Rule),$(Enabled))
Level=v($(Level))

;------------- Trusted_Senders.Edit -----------

[Trusted_Senders.Edit]
$dlg_enable_ok=$(Rule,EnableIfNotZero)
props=$DlgAttr sz(320,a) at(dragable) h(1160)
Body=[BWL_Edit_Body]

;------------- Trusted_Words.Edit -----------

[Trusted_Words.Edit]
$dlg_enable_ok=$(Rule,EnableIfNotZero)
props=$DlgAttr sz(320,a) at(dragable) h(1160)
Body=[BWL_Edit_Body]

;------------- Blocked_Senders.Edit -----------

[Blocked_Senders.Edit]
$dlg_enable_ok=$(Rule,EnableIfNotZero)
props=$DlgAttr sz(320,a) at(dragable) h(1161)
Body=[BWL_Edit_Body]

;------------- Blocked_Words.Edit -----------

[Blocked_Words.Edit]
$dlg_enable_ok=$(Rule,EnableIfNotZero)
props=$DlgAttr sz(320,a) at(dragable) h(1161)
Dlg=[Blocked_Words.Edit_Body]

[Blocked_Words.Edit_Body]
props=$DlgBodyAttr sz(p,a)
Rule=t(edit) nl(100) $First_Control sz(p) v($(Rule))
Example=a(la) f(Normal_grey)
LevelText=$Next_Control
Level=t(edit) at(number) a(rs) sz(50) nl(0,100) xy(,-2) v($(Level))

;------------- BWL_Edit_Body -----------

[BWL_Edit_Body]
props=$DlgBodyAttr sz(p,a)
Rule=t(edit) nl(100) $First_Control sz(p) v($(Rule))
Example=a(la) f(Normal_grey)

;------------- AS_Options -----------

[AS_Options]
OptionsCommon=[AS_Options_Common]
DontCheckMsExNative  = $Checkbox $Next_Control xy(10,10) v($(UseCannotBeSpamValidate.Enabled))

[AS_Options_Common]
$HideNonLat          = $(Localization,env,AntiSpam_HideNonLat,!,ShowIfNotZero)
props                = $SettingsGroupFirst sz(p,a) disable($(UsePerUserSettings,EnableIfNotZero))
Not4me               = $Checkbox $First_Control v($(UseNotForMeValidate.Enabled)) 
MyAdresses           = $Button_Medium a(rs) xy(,-4) disable($(UseNotForMeValidate.Enabled,EnableIfNotZero)) v(dialog:AS_Options_Address_List)

Objects              = $Checkbox $Next_Control v($(UseObjectsValidate.Enabled))
ObjectsLabel         = a(rs)
ObjectsLevel         = t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseObjectsValidate.Enabled,EnableIfNotZero)) v($(UseObjectsValidate.Level))

ExternalObjects      = $Checkbox $Next_Control v($(UseExternalObjectsValidate.Enabled))
ExternalObjectsLabel = a(rs)
ExternalObjectsLevel = t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseExternalObjectsValidate.Enabled,EnableIfNotZero)) v($(UseExternalObjectsValidate.Level))

UnknownDefs          = $Checkbox $Next_Control v($(UseHTMLValidate_UnknownDefsCount.Enabled))
UnknownDefsLabel     = a(rs)
UnknownDefsLevel     = t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseHTMLValidate_UnknownDefsCount.Enabled,EnableIfNotZero)) v($(UseHTMLValidate_UnknownDefsCount.Level))

SeemsColors          = $Checkbox $Next_Control v($(UseHTMLValidate_SeemsColors.Enabled))
SeemsColorsLabel     = a(rs)
SeemsColorsLevel     = t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseHTMLValidate_SeemsColors.Enabled,EnableIfNotZero)) v($(UseHTMLValidate_SeemsColors.Level))

SmallText            = $Checkbox $Next_Control v($(UseHTMLValidate_SmallText.Enabled))
SmallTextLabel       = a(rs)
SmallTextLevel       = t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseHTMLValidate_SmallText.Enabled,EnableIfNotZero)) v($(UseHTMLValidate_SmallText.Level))

InvisibleChar        = $Checkbox $Next_Control v($(UseHTMLValidate_InvisibleCharCount.Enabled))
InvisibleCharLabel   = a(rs)
InvisibleCharLevel   = t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseHTMLValidate_InvisibleCharCount.Enabled,EnableIfNotZero)) v($(UseHTMLValidate_InvisibleCharCount.Level))

Scripts              = $Checkbox $Next_Control v($(UseHTMLValidate_Scripts.Enabled))
ScriptsLabel         = a(rs)
ScriptsLevel         = t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseHTMLValidate_Scripts.Enabled,EnableIfNotZero)) v($(UseHTMLValidate_Scripts.Level))

HiddenElements       = $Checkbox $Next_Control v($(UseHTMLValidate_HiddenElements.Enabled))
HiddenElementsLabel  = a(rs)
HiddenElementsLevel  = t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseHTMLValidate_HiddenElements.Enabled,EnableIfNotZero)) v($(UseHTMLValidate_HiddenElements.Level))
					   
NonLatLimit          = hide($HideNonLat) $Checkbox $Next_Control v($(UseNonLatLimit.Enabled))
NonLatLimitPercent   = hide($HideNonLat) t(edit) at(number) a(as) sz(50) nl(1,100) xy(1,-3) disable($(UseNonLatLimit.Enabled,EnableIfNotZero)) v($(NonLatLimit))
NonLatLimitpart2     = hide($HideNonLat) a(as) xy(2,2)
NonLatLimitLabel     = hide($HideNonLat) a(rs)
NonLatLimitLevel     = hide($HideNonLat) t(edit) at(number) a(ps) sz(50) nl(1,100) xy(,-2) disable($(UseNonLatLimit.Enabled,EnableIfNotZero)) v($(UseNonLatLimit.Level))

Empty                = $Checkbox $Next_Control v($(UseEmptyValidate.Enabled))

;------------- AS_Options_Address_List -----------

[AS_Options_Address_List]
props=$DlgAttr sz(300,250) at(resizable) h(1163)
AddressList=[Address_List] 
Add=$Button a(rs) xy(,,,$Button_Shift) v(dialog:AddressList_Group.Edit)
Edit=$Button a(ra) xy(,,,$Button_Shift) v(dialog:AddressList_Group.Edit)
Delete=$Button a(ra) xy(,,,$Button_Shift)

[Address_List]
props=t(list) alias(vector) sz(p,p) xy(,,80,30) at(noheader,sorted,checked) a(la) v($(MyAddrs))
Rule=v($(Rule),$(Enabled))

;------------- AddressList_Group.Edit -----------

[AddressList_Group.Edit]
$dlg_enable_ok=$(Rule,EnableIfNotZero)
props=$DlgAttr sz(320,a) at(dragable) h(1163)
Body=[AddressList_Group.Edit_Body]

[AddressList_Group.Edit_Body]
props=$DlgBodyAttr sz(p,a)
Name=t(edit) $First_Control sz(p) v($(Rule))

;------------- OutlookPlugin.Antispam -----------

[OutlookPlugun.AntispamDlg]
props=t(dialog) sz(430,400) mg(7,7) h(1167)
Dlg=[OutlookPlugun.AntispamCmn]

[OutlookPlugun.Antispam]
props=t(propsheetpage) sz(550,500) mg(7,7) h(1166)
Dlg=[OutlookPlugun.AntispamCmn] sz(399,p)

[OutlookPlugun.AntispamCmn]
props=sz(p,p) a(lt) mg(7,7)
Main=a(lt)
MainLine=b(Topline_medium) a(as) sz(p,7) xy(7,7)
Icon=a(la) xy(0,7)
Info=a(as)
Status=a(lt) xy(0,60)
StatusLine=b(Topline_medium) a(as) sz(p,7) xy(7,7)
EnableStat=a(la) xy(30,7)
Settings=a(sa)
Link=t(hotlink) a(as) f(Hotlink) v(configure:Anti_Spam)

CSpam=a(lt) xy(0,120)
CS_Line=b(Topline_medium) a(as) sz(p,7) xy(7,7)
CS_Action=t(combo) a(la) sz(150) xy(35,7) v($(CertainSpamRule.AntispamPluginAction))
CS_Folder=t(edit) a(as) at(readonly) sz(160,20) xy(7,1) v($(CertainSpamRule.FolderForAction.Name)) hide($(CertainSpamRule.AntispamPluginAction, ShowIfFolder))
CS_Browse=$Button a(as) sz(20,20) hide($(CertainSpamRule.AntispamPluginAction, ShowIfFolder))
CS_MarkAsRead=$Checkbox $Next_Control xy(35,7) v($(CertainSpamRule.MarkAsRead)) hide($(CertainSpamRule.AntispamPluginAction, ShowIfMarkRead))

PSpam=a(lt) xy(0,200)
PS_Line=b(Topline_medium) a(as) sz(p,7) xy(7,7)
PS_Action=t(combo) a(la) sz(150) xy(35,7) v($(PossibleSpamRule.AntispamPluginAction))
PS_Folder=t(edit) a(as) at(readonly) sz(160,20) xy(7,1) v($(PossibleSpamRule.FolderForAction.Name)) hide($(PossibleSpamRule.AntispamPluginAction, ShowIfFolder))
PS_Browse=$Button a(as) sz(20,20) hide($(PossibleSpamRule.AntispamPluginAction, ShowIfFolder))
PS_MarkAsRead=$Checkbox $Next_Control xy(35,7) v($(PossibleSpamRule.MarkAsRead)) hide($(PossibleSpamRule.AntispamPluginAction, ShowIfMarkRead))

CAlgo=a(lt) xy(0,280) 
CA_Line=b(Topline_medium) a(as) sz(p,7) xy(7,7)
CAlgoGroup=[C_AlgoGroup]

[C_AlgoGroup]
props=a(la) sz(p,75) v($(CheckAlgorithm))
Radio1=$Radio a(lt) xy(35,7) v(0)
Radio2=$Radio a(sa) xy(,7) v(1)
LinkOutlook=t(hotlink) a(as) xy(,-1) sz(a,a) f(Hotlink) v(help:1166)
Radio2Text=a(as) xy(,1) sz(a,a)

;------------- OutlookPlugin.Antispam.Browse -----------

[OutlookPlugun.Antispam.Browse]
props=t(dialog) sz(350,330) mg(7,7) h(1166) at(nohelp)
FolderTree=t(tree) sz(336,286)

;------------------------------------------------------
;------------- OutlookPlugin.TrainingWizard -----------

[OutlookPlugun.TrainingWizard]
props=$DlgWizardAttr sz(500,370) at(minimizable)
Page1=[OutlookPlugun.TrainingWizard.Page1] h(1150)
Page2=[OutlookPlugun.TrainingWizard.Page2] h(1151)
Page3=[OutlookPlugun.TrainingWizard.Page3] h(1151)
Page4=[OutlookPlugun.TrainingWizard.Page4] h(1151)
Page5=[OutlookPlugun.TrainingWizard.Page5] h(1151)

;------------- OutlookPlugun.TrainingWizard.Page1 -----------

[OutlookPlugun.TrainingWizard.Page1]
props=$DlgWizardPageAttr
Header=$DlgWizardPageHeader i(as)
Body=[OutlookPlugun.TrainingWizard.Page1_Body]

[OutlookPlugun.TrainingWizard.Page1_Body]
props=$DlgWizardPageBodyAttr
Text1=a(la) xy(30,30,45) sz(p,a)
Text2=a(lb) xy(30,10)

;------------- OutlookPlugun.TrainingWizard.Page2 -----------

[OutlookPlugun.TrainingWizard.Page2]
props=$DlgWizardPageAttr
Header=$DlgWizardPageHeader i(goodmail)
Body=[OutlookPlugun.TrainingWizard.Page2_Body]

[OutlookPlugun.TrainingWizard.Page2_Body]
props=$DlgWizardPageBodyAttr
Text=a(la) 
FolderTree=t(tree) alias(folders_ham) a(la) sz(p,230) at(checked)
Clear=$Button_Large a(ra) xy(,7)

;------------- OutlookPlugun.TrainingWizard.Page3 -----------

[OutlookPlugun.TrainingWizard.Page3]
props=$DlgWizardPageAttr
Header=$DlgWizardPageHeader i(badmail)
Body=[OutlookPlugun.TrainingWizard.Page3_Body]

[OutlookPlugun.TrainingWizard.Page3_Body]
props=$DlgWizardPageBodyAttr
Text=a(la) 
FolderTree=t(tree) alias(folders_spam) a(la) sz(p,230) at(checked)
Clear=$Button_Large a(ra) xy(,7)
Icon=i(info) a(ls) xy(,3)
InfoText=a(as)

;------------- OutlookPlugun.TrainingWizard.Page4 -----------

[OutlookPlugun.TrainingWizard.Page4]
props            = $DlgWizardPageAttr
$dlg_enable_next = disable(1)
$dlg_enable_back = disable(1)
Header           = $DlgWizardPageHeader i(as)
Body             = [OutlookPlugun.TrainingWizard.Page4_Body]

[OutlookPlugun.TrainingWizard.Page4_Body]
props=$DlgWizardPageBodyAttr
Text=a(la) xy(7,15)
TrainingStatus=[Training_Status]
NowProcessing=[Now_Processing]

[Training_Status]
props=$SettingsGroupNext sz(p,a)
Progress=t(progress) $Next_Control sz(p,20) v($(PercentCompleted))
MessageCount=t(value) $Next_Control sz(p,a) va(l,r) v($(MessagesProcessed))
;TtW=t(value) $Next_Control sz(p) va(l,r) v($(TimeToFinish,timestamp))

[Now_Processing]
props=$SettingsGroupNext sz(p,a)
FolderLbl=f(Bold)
Folder=t(value) a(la) sz(p,a) va(l,l) v($(CurrentFolder))
MessageLbl=f(Bold) $Next_Control
Message=t(value) a(la) xy(,,110) sz(p,50) va(l,l) v($(CurrentMessage))
Skip=$Button_Medium a(rs) xy(,-5)

;------------- OutlookPlugun.TrainingWizard.Page5 -----------

[OutlookPlugun.TrainingWizard.Page5]
props=$DlgWizardPageAttr
$dlg_enable_back = disable(1)
Header=$DlgWizardPageHeader i(as)
Body=[OutlookPlugun.TrainingWizard.Page5_Body]

[OutlookPlugun.TrainingWizard.Page5_Body]
props=$DlgWizardPageBodyAttr
Text=a(la) xy(7,15)
StatGroup=[Stat_Group]
RetrainGroup=[Retrain_Group]

[Stat_Group]
props=$SettingsGroupNext sz(p,a)
MessageCount=t(value) a(la) sz(p,a) va(l,r) v($(MessagesProcessed))

[Retrain_Group]
props=$SettingsGroupNext sz(p,a)
KeepExisting=t(radio) $First_Control v(0)
Retrain=t(radio) $Next_Control v(1)

;------------- ReportWindow.Antispam -----------

[Report_Body.StatisticsRun.antispam]
props=$StatTop b(Footer_Border)
Status=xy(,10)

[Report_Body.StatisticsResult.antispam]
props=$StatTop b(Footer_Border)
Status=xy(,10)

[Report_Body.StatisticsLeft.antispam]
props=$StatLeft
MailChecked=a(lt) $StatValLeft v($(MailCount))
MailSpam=a(la) $StatValLeft v($(MailSpamCount))

[Report_Body.ReportDetails.antispam]
props=$Tab $ReportDetails
Events=[Antispam_Report] h(1154)
Settings=[Task_Report_Settings]

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

[Report_Body.ReportDetails.antispam.Events]
props=t(list) at(sorted) alias(taskreport) v(eventlog)
Time=sz(135)v($(FinishTime,datetime)) at(index)
;ObjectName=sz(p,46)v($(ObjectName))
From=sz(p,25)v($(MessageSender,MessageSenderEx))
Subject=sz(p,25)v($(ObjectName,MessageSubjEx))
MessageCategory=v($(MessageCategory,MessageCategoryName))
Reason=sz(100)v($(Reason,ReasonEx))
SpamProbability=v($(Result,SpamProbabilityEx)) sorted($(Result))

[Report_Body.ReportDetails.antispam.Events.menu]
props         = t(menu)
Details       = t(menuitem) at(default) v(dialog:AS_Details)
TrainAsSpam   = t(menuitem) at(nobindhide) v(antispam_train:asspam) text($(MessageCategory,Dummy))
TrainAsHam    = t(menuitem) at(nobindhide) v(antispam_train:asham)  text($(MessageCategory,Dummy))
AddToWL       = t(menuitem) at(nobindhide) v(antispam_addto:wl)     text($(MessageCategory,Dummy))
AddToBL       = t(menuitem) at(nobindhide) v(antispam_addto:bl)     text($(MessageCategory,Dummy))
Separator     = t(menuitem)
ReportCleanup = t(menuitem)

;------------- AS_Details -------------

[AS_Details]
props = $DlgAttr sz(450,300) at(resizable,a_close)
Body = [AS_Details_Body]

[AS_Details_Body]
props           = $DlgBodyAttr
FromLabel		= $First_Control
From			= a(ls) xy(80) text($(MessageSender,MessageSenderEx))
SubjectLabel	= $Next_Control 
Subject         = a(ls) xy(80) text($(ObjectName,MessageSubjEx))
TimeLabel		= $Next_Control 
Time			= a(ls) xy(80) text($(FinishTime,datetime))
CategoryLabel	= $Next_Control 
Category		= a(ls) xy(80) text($(MessageCategory,MessageCategoryName))
;MessageCategory = a(la) xy(,,,$Control_Shift) text($(MessageCategory,MessageCategoryName))
Verdicts        = [AS_Details_Verdicts] a(la) sz(p,p) xy(,7) v($(Verdicts))
;Descr           = t(richedit) a(lp) xy(,10) rs(100,100) at(readonly,vscroll) sz(p,p) text(<b>From:</b>\t$(MessageSender,MessageSenderEx)\n\n<b>Subject</b>:\t$(MessageSubj)\n\n$(MessageBody))

[AS_Details_Verdicts]
props = t(list) alias(vector)
Algorithm = sz(p,45)v($(Algorithm,ReasonEx))
Description = sz(p,45)v($(Description))
Level = v($(Level))

;------------- MailWasher -------------

[MailWasher]
props=$DlgAttr sz(450,300,640,480) at(resizable,minimizable,dragable,ontop) h(1164)
Dlg=[MailWasher.Dlg]

[MailWasher.Dlg]
props=$DlgBodyAttr
Info=$First_Control
Toolbar=[Mw_Toolbar]
Progressbar=[Mw_Progressbar]
New=$Checkbox $Next_Control v($(ShowNewMessages))
DontShow=$Checkbox $Next_Control v($(ShowMailwasher))
;Cluges=$Checkbox $Next_Control v($(ShowCluges))
MsgList=[MailWasher.Dlg.MsgList]
MsgCludges=t(edit) $Next_Control sz(p,130) at(multiline,readonly)

[MailWasher.Dlg.MsgCludges.menu]
props=t(menu)
KOI8-R=t(menuitem)
WINDOWS-1251=t(menuitem)
IBM866=t(menuitem)
ISO8859-5=t(menuitem)
X-MAC-CYRILLIC=t(menuitem)

[MailWasher.Dlg.MsgList]
props=t(list) $Next_Control sz(p,13) at(checked,sorted)
New=v($(New,NewMessage),$(MarkToDelete))
From=sz(p,20)v($(From))
To=sz(p,20)v($(To))
Subject=sz(p,20)v($(Subject))
Size=sz(p,10)v($(Size))
DateTime=sz(p,10)v($(DateTime))
Reason=sz(p,10)v($(Reason,ReasonEx))

[Mw_Toolbar]
props=$Next_Control sz(a,23) rs(0,0)
Del=$Button_Large a(lt)
ReadNext=$Button_Large a(as) xy(7) disable($(MessagesLeft,EnableIfNotZero))
NumToRead=t(edit) a(as) xy(7,1) sz(50) at(number) v($(MessagesToRead)) disable($(MessagesLeft,EnableIfNotZero))
Letters=a(as) xy(7,3) disable($(MessagesLeft,EnableIfNotZero))

[Mw_Progressbar]
props=a(as) sz(a,23) xy(7) at(hide) rs(0,0)
Progress=t(progress) sz(110,13) xy(,5)
Stop=$Button a(at) xy(7)