diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index edadaedf..d531f8f0 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -238,7 +238,7 @@ tr.account { /* --- end of workaround for vertical tabs --- */ .tabs-hover { - background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; + background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x !important; } /* title bar */ diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index 2f1bfc50..33b79c5e 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -171,16 +171,6 @@ if (sizeof($errorsToDisplay) > 0) { // display formular echo ("
\n"); -$buttonContainer = new htmlTable(); -$saveButton = new htmlButton('saveSettings', _('Save')); -$saveButton->setIconClass('saveButton'); -$buttonContainer->addElement($saveButton); -$cancelButton = new htmlButton('cancelSettings', _('Cancel')); -$cancelButton->setIconClass('cancelButton'); -$buttonContainer->addElement($cancelButton, true); -$buttonContainer->addElement(new htmlSpacer(null, '10px')); -parseHtml(null, $buttonContainer, array(), false, $tabindex, 'user'); - // hidden submit buttons which are clicked by tabs echo "
\n"; echo ""; @@ -197,15 +187,15 @@ echo '
  • '; echo ' '; echo _('General settings') . ''; echo '
  • '; -echo '
  • '; +echo '
  • '; echo ' '; echo _('Account types') . ''; echo '
  • '; -echo '
  • '; +echo '
  • '; echo ' '; echo _('Modules') . ''; echo '
  • '; -echo '
  • '; +echo '
  • '; echo ' '; echo _('Module settings') . ''; echo '
  • '; @@ -375,9 +365,22 @@ $container->addElement(new htmlOutputText('*=' . _("required")), true); parseHtml(null, $container, array(), false, $tabindex, 'user'); -echo ("
    \n"); -echo ("\n"); -echo ("\n"); +echo ""; + +$buttonContainer = new htmlTable(); +$buttonContainer->addElement(new htmlSpacer(null, '10px'), true); +$saveButton = new htmlButton('saveSettings', _('Save')); +$saveButton->setIconClass('saveButton'); +$buttonContainer->addElement($saveButton); +$cancelButton = new htmlButton('cancelSettings', _('Cancel')); +$cancelButton->setIconClass('cancelButton'); +$buttonContainer->addElement($cancelButton, true); +$buttonContainer->addElement(new htmlSpacer(null, '10px'), true); +parseHtml(null, $buttonContainer, array(), false, $tabindex, 'user'); + +echo "\n"; +echo "\n"; +echo "\n"; /** diff --git a/lam/templates/config/confmodules.php b/lam/templates/config/confmodules.php index 647f2796..f8c195b5 100644 --- a/lam/templates/config/confmodules.php +++ b/lam/templates/config/confmodules.php @@ -138,16 +138,6 @@ for ($i = 0; $i < sizeof($errorsToDisplay); $i++) call_user_func_array('StatusMe echo ("
    \n"); -$buttonContainer = new htmlTable(); -$saveButton = new htmlButton('saveSettings', _('Save')); -$saveButton->setIconClass('saveButton'); -$buttonContainer->addElement($saveButton); -$cancelButton = new htmlButton('cancelSettings', _('Cancel')); -$cancelButton->setIconClass('cancelButton'); -$buttonContainer->addElement($cancelButton, true); -$buttonContainer->addElement(new htmlSpacer(null, '10px')); -parseHtml(null, $buttonContainer, array(), false, $tabindex, 'user'); - // hidden submit buttons which are clicked by tabs echo "
    \n"; echo ""; @@ -160,11 +150,11 @@ echo "
    \n"; echo '
    '; echo '
    \n"); +echo ""; + +$buttonContainer = new htmlTable(); +$buttonContainer->addElement(new htmlSpacer(null, '10px'), true); +$saveButton = new htmlButton('saveSettings', _('Save')); +$saveButton->setIconClass('saveButton'); +$buttonContainer->addElement($saveButton); +$cancelButton = new htmlButton('cancelSettings', _('Cancel')); +$cancelButton->setIconClass('cancelButton'); +$buttonContainer->addElement($cancelButton, true); +$buttonContainer->addElement(new htmlSpacer(null, '10px'), true); +parseHtml(null, $buttonContainer, array(), false, $tabindex, 'user'); + +echo "\n"; echo "\n"; echo "\n"; diff --git a/lam/templates/config/conftypes.php b/lam/templates/config/conftypes.php index 03a8a204..a2f6ba21 100644 --- a/lam/templates/config/conftypes.php +++ b/lam/templates/config/conftypes.php @@ -156,16 +156,6 @@ for ($i = 0; $i < sizeof($errorsToDisplay); $i++) call_user_func_array('StatusMe echo ("
    \n"); -$buttonContainer = new htmlTable(); -$saveButton = new htmlButton('saveSettings', _('Save')); -$saveButton->setIconClass('saveButton'); -$buttonContainer->addElement($saveButton); -$cancelButton = new htmlButton('cancelSettings', _('Cancel')); -$cancelButton->setIconClass('cancelButton'); -$buttonContainer->addElement($cancelButton, true); -$buttonContainer->addElement(new htmlSpacer(null, '10px')); -parseHtml(null, $buttonContainer, array(), false, $tabindex, 'user'); - // hidden submit buttons which are clicked by tabs echo "
    \n"; echo ""; @@ -178,7 +168,7 @@ echo "
    \n"; echo '
    '; echo '
    \n"); +echo ""; + +$buttonContainer = new htmlTable(); +$buttonContainer->addElement(new htmlSpacer(null, '10px'), true); +$saveButton = new htmlButton('saveSettings', _('Save')); +$saveButton->setIconClass('saveButton'); +$buttonContainer->addElement($saveButton); +$cancelButton = new htmlButton('cancelSettings', _('Cancel')); +$cancelButton->setIconClass('cancelButton'); +$buttonContainer->addElement($cancelButton, true); +$buttonContainer->addElement(new htmlSpacer(null, '10px'), true); +parseHtml(null, $buttonContainer, array(), false, $tabindex, 'user'); + +echo "\n"; echo "\n"; echo "\n"; diff --git a/lam/templates/config/moduleSettings.php b/lam/templates/config/moduleSettings.php index d956d56e..2abf977a 100644 --- a/lam/templates/config/moduleSettings.php +++ b/lam/templates/config/moduleSettings.php @@ -137,16 +137,6 @@ for ($i = 0; $i < sizeof($errorsToDisplay); $i++) call_user_func_array('StatusMe echo ("
    \n"); -$buttonContainer = new htmlTable(); -$saveButton = new htmlButton('saveSettings', _('Save')); -$saveButton->setIconClass('saveButton'); -$buttonContainer->addElement($saveButton); -$cancelButton = new htmlButton('cancelSettings', _('Cancel')); -$cancelButton->setIconClass('cancelButton'); -$buttonContainer->addElement($cancelButton, true); -$buttonContainer->addElement(new htmlSpacer(null, '10px')); -parseHtml(null, $buttonContainer, array(), false, $tabindex, 'user'); - // hidden submit buttons which are clicked by tabs echo "
    \n"; echo ""; @@ -159,15 +149,15 @@ echo "
    \n"; echo '
    '; echo '
    \n"); +echo ""; + +$buttonContainer = new htmlTable(); +$buttonContainer->addElement(new htmlSpacer(null, '10px'), true); +$saveButton = new htmlButton('saveSettings', _('Save')); +$saveButton->setIconClass('saveButton'); +$buttonContainer->addElement($saveButton); +$cancelButton = new htmlButton('cancelSettings', _('Cancel')); +$cancelButton->setIconClass('cancelButton'); +$buttonContainer->addElement($cancelButton, true); +$buttonContainer->addElement(new htmlSpacer(null, '10px'), true); +parseHtml(null, $buttonContainer, array(), false, $tabindex, 'user'); + +echo "\n"; echo "\n"; echo "\n";