fixed host options
This commit is contained in:
parent
7521164800
commit
150e6158dc
|
@ -1909,16 +1909,16 @@ class posixAccount extends baseModule implements passwordService {
|
||||||
*/
|
*/
|
||||||
function get_configOptions($scopes, $allScopes) {
|
function get_configOptions($scopes, $allScopes) {
|
||||||
$return = array();
|
$return = array();
|
||||||
|
$generatorOptions = array(
|
||||||
|
_('Fixed range') => 'range',
|
||||||
|
_('Samba ID pool') => 'sambaPool',
|
||||||
|
_('Windows domain info') => 'windowsDomain',
|
||||||
|
_('Magic number') => 'magicNumber'
|
||||||
|
);
|
||||||
if (in_array('user', $scopes)) {
|
if (in_array('user', $scopes)) {
|
||||||
// user options
|
// user options
|
||||||
$configUserContainer = new htmlTable();
|
$configUserContainer = new htmlTable();
|
||||||
$configUserContainer->addElement(new htmlSubTitle(_("Users")), true);
|
$configUserContainer->addElement(new htmlSubTitle(_("Users")), true);
|
||||||
$generatorOptions = array(
|
|
||||||
_('Fixed range') => 'range',
|
|
||||||
_('Samba ID pool') => 'sambaPool',
|
|
||||||
_('Windows domain info') => 'windowsDomain',
|
|
||||||
_('Magic number') => 'magicNumber'
|
|
||||||
);
|
|
||||||
$uidGeneratorSelect = new htmlTableExtendedSelect('posixAccount_uidGeneratorUsers', $generatorOptions, array('range'), _('UID generator'), 'uidGenerator');
|
$uidGeneratorSelect = new htmlTableExtendedSelect('posixAccount_uidGeneratorUsers', $generatorOptions, array('range'), _('UID generator'), 'uidGenerator');
|
||||||
$uidGeneratorSelect->setHasDescriptiveElements(true);
|
$uidGeneratorSelect->setHasDescriptiveElements(true);
|
||||||
$uidGeneratorSelect->setTableRowsToHide(array(
|
$uidGeneratorSelect->setTableRowsToHide(array(
|
||||||
|
|
Loading…
Reference in New Issue