View | Details | Raw Unified | Return to bug 25054
Collapse All | Expand All

(-)a/management/univention-directory-manager-modules/modules/univention/admin/handlers/settings/extended_attribute.py (-1 / +1 lines)
 Lines 356-362    Link Here 
356
	'options': univention.admin.property(
356
	'options': univention.admin.property(
357
		short_description=_('Required options'),
357
		short_description=_('Required options'),
358
		long_description=_('This extended attribute is only used when at least one of these options is enabled, e.g. "posix" or "samba"'),
358
		long_description=_('This extended attribute is only used when at least one of these options is enabled, e.g. "posix" or "samba"'),
359
		syntax=univention.admin.syntax.string_numbers_letters_dots,
359
		syntax=univention.admin.syntax.allModuleOptions,
360
		multivalue=True,
360
		multivalue=True,
361
		options=[],
361
		options=[],
362
		required=False,
362
		required=False,
(-)a/management/univention-directory-manager-modules/modules/univention/admin/syntax.py (+11 lines)
 Lines 4123-4128   def update_choices(cls): Link Here 
4123
__register_choice_update_function(optionsUsersUser.update_choices)
4123
__register_choice_update_function(optionsUsersUser.update_choices)
4124
4124
4125
4125
4126
class allModuleOptions(combobox):
4127
4128
	@classmethod
4129
	def update_choices(cls):
4130
		modules = univention.admin.modules.modules.values()
4131
		cls.choices = [(key, x.short_description) for module in modules for key, x in getattr(module, 'options', {}).items() if key != 'default']
4132
4133
4134
__register_choice_update_function(allModuleOptions.update_choices)
4135
4136
4126
class nagiosHostsEnabledDn(UDM_Objects):
4137
class nagiosHostsEnabledDn(UDM_Objects):
4127
	"""
4138
	"""
4128
	Syntax to select Nagios enabled hosts from |LDAP|.
4139
	Syntax to select Nagios enabled hosts from |LDAP|.

Return to bug 25054