responsive settings
This commit is contained in:
parent
c688217165
commit
9dd005ce5a
|
@ -110,10 +110,6 @@ class kolabUser extends baseModule {
|
||||||
'type' => 'ext_preg',
|
'type' => 'ext_preg',
|
||||||
'regex' => 'digit',
|
'regex' => 'digit',
|
||||||
'error_message' => $this->messages['mailQuota'][0]);
|
'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
|
// self service field settings
|
||||||
$return['selfServiceFieldSettings'] = array(
|
$return['selfServiceFieldSettings'] = array(
|
||||||
'kolabDelegate' => _('Delegates'),
|
'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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -259,10 +259,6 @@ class pykotaUser extends baseModule {
|
||||||
$selfServiceContainer->addElement(new htmlHelpLink('jobSuffix', get_class($this)), true);
|
$selfServiceContainer->addElement(new htmlHelpLink('jobSuffix', get_class($this)), true);
|
||||||
$return['selfServiceSettings'] = $selfServiceContainer;
|
$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
|
// configuration checks
|
||||||
$return['config_checks']['all']['pykotaUser_jobSuffix'] = array (
|
$return['config_checks']['all']['pykotaUser_jobSuffix'] = array (
|
||||||
'type' => 'ext_preg',
|
'type' => 'ext_preg',
|
||||||
|
@ -1210,6 +1206,16 @@ class pykotaUser extends baseModule {
|
||||||
return array_values($jobs);
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue