|
|
|
@ -34,9 +34,7 @@ class fillVars():
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
|
|
def get_ac_desktop_install(self):
|
|
|
|
|
"""
|
|
|
|
|
Trigger for templates of package installation and uninstallation
|
|
|
|
|
"""
|
|
|
|
|
"""переключатель для шаблонов инсталяции и удаления программы"""
|
|
|
|
|
ret = ""
|
|
|
|
|
action = self.Get("cl_action")
|
|
|
|
|
if action in ("install","merge"):
|
|
|
|
@ -46,9 +44,7 @@ class fillVars():
|
|
|
|
|
return ret
|
|
|
|
|
|
|
|
|
|
def get_ac_desktop_merge(self):
|
|
|
|
|
"""
|
|
|
|
|
Trigger for the merge templates
|
|
|
|
|
"""
|
|
|
|
|
"""переключатель для шаблонов merge"""
|
|
|
|
|
ret = ""
|
|
|
|
|
action = self.Get("cl_action")
|
|
|
|
|
if action in ("install","merge"):
|
|
|
|
@ -56,25 +52,13 @@ class fillVars():
|
|
|
|
|
return ret
|
|
|
|
|
|
|
|
|
|
def get_ac_desktop_desktop(self):
|
|
|
|
|
"""
|
|
|
|
|
Trigger for templates of user profile creating
|
|
|
|
|
"""
|
|
|
|
|
"""переключатель для шаблонов создания пользовательского профиля"""
|
|
|
|
|
ret = ""
|
|
|
|
|
action = self.Get("cl_action")
|
|
|
|
|
if action in ("desktop",):
|
|
|
|
|
ret = "up"
|
|
|
|
|
return ret
|
|
|
|
|
|
|
|
|
|
def get_ac_desktop_live(self):
|
|
|
|
|
"""
|
|
|
|
|
Trigger for templates update live configuration of profile
|
|
|
|
|
"""
|
|
|
|
|
ret = ""
|
|
|
|
|
action = self.Get("cl_action")
|
|
|
|
|
if action in ("desktop","live"):
|
|
|
|
|
ret = "up"
|
|
|
|
|
return ret
|
|
|
|
|
|
|
|
|
|
def get_ur_domain_set(self):
|
|
|
|
|
'''доменный пользователь "on", "off"'''
|
|
|
|
|
ret = "off"
|
|
|
|
|