responsive settings

This commit is contained in:
Roland Gruber 2017-12-02 15:59:36 +01:00
parent 7271354247
commit c61c2dac54
1 changed files with 9 additions and 10 deletions

View File

@ -567,16 +567,15 @@ class nisMailAliasUser extends baseModule {
* @see htmlElement * @see htmlElement
*/ */
public function get_configOptions($scopes, $allScopes) { public function get_configOptions($scopes, $allScopes) {
$configContainer = new htmlTable(); $configContainer = new htmlResponsiveRow();
$configContainerHead = new htmlTable(); $hiddenGroup = new htmlGroup();
$configContainerHead->addElement(new htmlOutputText(_('Hidden options'))); $hiddenGroup->addElement(new htmlOutputText(_('Hidden options')));
$configContainerHead->addElement(new htmlHelpLink('hiddenOptions')); $hiddenGroup->addElement(new htmlHelpLink('hiddenOptions'));
$configContainerOptions = new htmlTable(); $configContainer->addLabel($hiddenGroup);
$configContainer->addElement($configContainerHead, true); $configContainer->addField(new htmlOutputText(''));
$configContainerOptions->addElement(new htmlTableExtendedInputCheckbox('nisMailAliasUser_hideUserAliases', false, _('Aliases for user name'), null, false)); $configContainer->addVerticalSpacer('0.5rem');
$configContainerOptions->addElement(new htmlOutputText(' ')); $configContainer->add(new htmlResponsiveInputCheckbox('nisMailAliasUser_hideUserAliases', false, _('Aliases for user name')), 12);
$configContainerOptions->addElement(new htmlTableExtendedInputCheckbox('nisMailAliasUser_hideMailAliases', false, _('Aliases for email'), null, false)); $configContainer->add(new htmlResponsiveInputCheckbox('nisMailAliasUser_hideMailAliases', false, _('Aliases for email')), 12);
$configContainer->addElement($configContainerOptions, true);
return $configContainer; return $configContainer;
} }