diff --git a/lam/lib/modules/kolabUser.inc b/lam/lib/modules/kolabUser.inc index 4c370215..e3dd0460 100644 --- a/lam/lib/modules/kolabUser.inc +++ b/lam/lib/modules/kolabUser.inc @@ -110,10 +110,6 @@ class kolabUser extends baseModule { 'type' => 'ext_preg', 'regex' => 'digit', 'error_message' => $this->messages['mailQuota'][0]); - // config options - $configContainer = new htmlTable(); - $configContainer->addElement(new htmlTableExtendedInputCheckbox('kolabUser_mailrecipient', true, _('Manage object class "mailrecipient"'), 'mailrecipient'), true); - $return['config_options']['all'] = $configContainer; // self service field settings $return['selfServiceFieldSettings'] = array( 'kolabDelegate' => _('Delegates'), @@ -993,6 +989,16 @@ class kolabUser extends baseModule { } + /** + * {@inheritDoc} + * @see baseModule::get_configOptions() + */ + public function get_configOptions($scopes, $allScopes) { + $configContainer = new htmlResponsiveRow(); + $configContainer->add(new htmlResponsiveInputCheckbox('kolabUser_mailrecipient', true, _('Manage object class "mailrecipient"'), 'mailrecipient'), 12); + return $configContainer; + } + } diff --git a/lam/lib/modules/pykotaUser.inc b/lam/lib/modules/pykotaUser.inc index 00694a7d..03d0879a 100644 --- a/lam/lib/modules/pykotaUser.inc +++ b/lam/lib/modules/pykotaUser.inc @@ -259,10 +259,6 @@ class pykotaUser extends baseModule { $selfServiceContainer->addElement(new htmlHelpLink('jobSuffix', get_class($this)), true); $return['selfServiceSettings'] = $selfServiceContainer; } - // config options - $configContainer = new htmlTable(); - $configContainer->addElement(new htmlTableExtendedInputField(_('Job suffix'), 'pykotaUser_jobSuffix', '', 'jobSuffix'), true); - $return['config_options']['all'] = $configContainer; // configuration checks $return['config_checks']['all']['pykotaUser_jobSuffix'] = array ( 'type' => 'ext_preg', @@ -1210,6 +1206,16 @@ class pykotaUser extends baseModule { return array_values($jobs); } + /** + * {@inheritDoc} + * @see baseModule::get_configOptions() + */ + public function get_configOptions($scopes, $allScopes) { + $configContainer = new htmlResponsiveRow(); + $configContainer->add(new htmlResponsiveInputField(_('Job suffix'), 'pykotaUser_jobSuffix', '', 'jobSuffix'), 12); + return $configContainer; + } + }