changed config ordering

This commit is contained in:
Roland Gruber 2018-06-11 17:48:43 +02:00
parent 1b4e899755
commit c83842ef40
1 changed files with 2 additions and 3 deletions

View File

@ -2105,6 +2105,8 @@ class posixAccount extends baseModule implements passwordService {
$magicNumberUser->setRequired(true); $magicNumberUser->setRequired(true);
$configUserContainer->add($magicNumberUser, 12); $configUserContainer->add($magicNumberUser, 12);
$configUserContainer->add(new htmlResponsiveInputField(_('Suffix for UID/user name check'), 'posixAccount_' . $typeId . '_uidCheckSuffixUser', '', 'uidCheckSuffix'), 12); $configUserContainer->add(new htmlResponsiveInputField(_('Suffix for UID/user name check'), 'posixAccount_' . $typeId . '_uidCheckSuffixUser', '', 'uidCheckSuffix'), 12);
$configUserContainer->add(new htmlResponsiveInputField(_('User name suggestion'), 'posixAccount_' . $typeId . '_userNameSuggestion', '@givenname@%sn%', 'userNameSuggestion'), 12);
$configUserContainer->addVerticalSpacer('2rem');
$hiddenOptionsContainerHead = new htmlGroup(); $hiddenOptionsContainerHead = new htmlGroup();
$hiddenOptionsContainerHead->addElement(new htmlOutputText(_('Hidden options'))); $hiddenOptionsContainerHead->addElement(new htmlOutputText(_('Hidden options')));
$hiddenOptionsContainerHead->addElement(new htmlHelpLink('hiddenOptions')); $hiddenOptionsContainerHead->addElement(new htmlHelpLink('hiddenOptions'));
@ -2121,9 +2123,6 @@ class posixAccount extends baseModule implements passwordService {
$configUserContainer->add($syncGroupsCheckbox, 12); $configUserContainer->add($syncGroupsCheckbox, 12);
$configUserContainer->add(new htmlResponsiveInputTextarea('posixAccount_' . $typeId . '_syncGroupsExclusions', '', 20, 4, _('Exclude from group sync')), 12); $configUserContainer->add(new htmlResponsiveInputTextarea('posixAccount_' . $typeId . '_syncGroupsExclusions', '', 20, 4, _('Exclude from group sync')), 12);
} }
$configUserContainer->addVerticalSpacer('1rem');
$configUserContainer->add(new htmlResponsiveInputField(_('User name suggestion'), 'posixAccount_' . $typeId . '_userNameSuggestion', '@givenname@%sn%', 'userNameSuggestion'), 12);
$configUserContainer->addVerticalSpacer('2rem');
} }
$return[] = $configUserContainer; $return[] = $configUserContainer;
} }