From c61c2dac54ac8219ec171a005b4fd10c79565101 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 2 Dec 2017 15:59:36 +0100 Subject: [PATCH] responsive settings --- lam/lib/modules/nisMailAliasUser.inc | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/lam/lib/modules/nisMailAliasUser.inc b/lam/lib/modules/nisMailAliasUser.inc index f3772520..a4a01588 100644 --- a/lam/lib/modules/nisMailAliasUser.inc +++ b/lam/lib/modules/nisMailAliasUser.inc @@ -567,16 +567,15 @@ class nisMailAliasUser extends baseModule { * @see htmlElement */ public function get_configOptions($scopes, $allScopes) { - $configContainer = new htmlTable(); - $configContainerHead = new htmlTable(); - $configContainerHead->addElement(new htmlOutputText(_('Hidden options'))); - $configContainerHead->addElement(new htmlHelpLink('hiddenOptions')); - $configContainerOptions = new htmlTable(); - $configContainer->addElement($configContainerHead, true); - $configContainerOptions->addElement(new htmlTableExtendedInputCheckbox('nisMailAliasUser_hideUserAliases', false, _('Aliases for user name'), null, false)); - $configContainerOptions->addElement(new htmlOutputText(' ')); - $configContainerOptions->addElement(new htmlTableExtendedInputCheckbox('nisMailAliasUser_hideMailAliases', false, _('Aliases for email'), null, false)); - $configContainer->addElement($configContainerOptions, true); + $configContainer = new htmlResponsiveRow(); + $hiddenGroup = new htmlGroup(); + $hiddenGroup->addElement(new htmlOutputText(_('Hidden options'))); + $hiddenGroup->addElement(new htmlHelpLink('hiddenOptions')); + $configContainer->addLabel($hiddenGroup); + $configContainer->addField(new htmlOutputText('')); + $configContainer->addVerticalSpacer('0.5rem'); + $configContainer->add(new htmlResponsiveInputCheckbox('nisMailAliasUser_hideUserAliases', false, _('Aliases for user name')), 12); + $configContainer->add(new htmlResponsiveInputCheckbox('nisMailAliasUser_hideMailAliases', false, _('Aliases for email')), 12); return $configContainer; }