;-------------------- ParCtl -------------------------

[Global]
#eParCtl_ProfId_Parent	    = 1
#eParCtl_ProfId_Teen	    = 2
#eParCtl_ProfId_Child	    = 3

#eUrlFltEvent_Process			= 0
#eUrlFltEvent_SwitchProfile		= 1
#eUrlFltEvent_HeuristicStatus	= 2

#eParCtlCategoryPorno		= 0x00000001
#eParCtlCategorySoftware	= 0x00000002
#eParCtlCategoryDrugs		= 0x00000004
#eParCtlCategoryViolence	= 0x00000008
#eParCtlCategoryUncens		= 0x00000010
#eParCtlCategoryWeapons		= 0x00000020
#eParCtlCategoryGambling	= 0x00000040
#eParCtlCategoryChat		= 0x00000080
#eParCtlCategoryWebMail		= 0x00000100
#eParCtlCategoryShops       = 0x00000200
#eParCtlCategorySocialNets  = 0x00000400
#eParCtlCategoryProxy       = 0x00001000
#eParCtlCategoryCreditCards	= 0x00002000
#eParCtlCategoryCasualGames	= 0x00004000
#eParCtlCategoryAll         = #eParCtlCategoryPorno|#eParCtlCategorySoftware|#eParCtlCategoryDrugs|#eParCtlCategoryViolence|#eParCtlCategoryUncens|#eParCtlCategoryWeapons|#eParCtlCategoryGambling|#eParCtlCategoryChat|#eParCtlCategoryWebMail|#eParCtlCategoryShops|#eParCtlCategorySocialNets|#eParCtlCategoryProxy|#eParCtlCategoryCreditCards|#eParCtlCategoryCasualGames

#ParCtlHeuristicLevel1 = 1
#ParCtlHeuristicLevel2 = 3
#ParCtlHeuristicLevel3 = 4

;-----------------------------------------------------

[s_HeuristicSlider]
#ParCtlHeuristicLevel1 = 0
#ParCtlHeuristicLevel2 = 1
#ParCtlHeuristicLevel3 = 2


[ParCtlProfileDefCategories]
#SETTINGS_LEVEL_HIGH	= #eParCtlCategoryPorno|#eParCtlCategorySoftware|#eParCtlCategoryDrugs|#eParCtlCategoryViolence|#eParCtlCategoryUncens|#eParCtlCategoryWeapons|#eParCtlCategoryGambling|#eParCtlCategoryChat|#eParCtlCategoryWebMail|#eParCtlCategoryCreditCards
#SETTINGS_LEVEL_LOW		= #eParCtlCategoryPorno|#eParCtlCategoryDrugs|#eParCtlCategoryViolence|#eParCtlCategoryUncens
#SETTINGS_LEVEL_DEFAULT	= #eParCtlCategoryPorno|#eParCtlCategoryDrugs|#eParCtlCategoryViolence|#eParCtlCategoryUncens|#eParCtlCategoryWeapons|#eParCtlCategoryGambling

[OutlookPlugin.TrainingWizardPages_Page5.ResultsApplySelect]
#eResultMerge	= 0
#eResultReplace	= 1

[s_MessageCategoryIcon]
-2          = "msg_deleted"
-1          = "low"
0           = "msg_good"
1           = "msg_question"
2           = "msg_bad"

[f_ParCtlPasswordNotEnabled]
ret = if(!EnablePswrdProtect,if(msg("ParCtlPasswordNotEnabledWarning", #m_yesno|#m_warning), dialog("PasswordEditAutoEnable"),!(@=false)))

; called from mapping window - should save pwd
[f_ParCtlPasswordNotEnabled2]
ret = if(!EnablePswrdProtect,if(msg("ParCtlPasswordNotEnabledWarning", #m_yesno|#m_warning), if(dialog("PasswordEditAutoEnable"),!savesettings()),true),true)

[ParCtl_HeuristicType]
4 = 2
2 = 1
1 = 0

[f_ParCtlCheckUsersAssignedToProfile2]
ret = if(find(users, "settings.ProfileId == #eParCtl_ProfId_Teen"), (msg("ParCtlReassignProfilesWarning", #m_yesno|#m_warning) ? users.foreach("if(settings.ProfileId == #eParCtl_ProfId_Teen, settings.ProfileId = #eParCtl_ProfId_Child)") : #false))

[f_ParCtlCheckUsersAssignedToProfile1]
ret = if(find(users, "settings.ProfileId == #eParCtl_ProfId_Parent"), (msg("ParCtlReassignProfilesWarning", #m_yesno|#m_warning) ? users.foreach("if(settings.ProfileId == #eParCtl_ProfId_Parent, settings.ProfileId = #eParCtl_ProfId_Child)") : #false))
