diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index de1a0463..b47beedb 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -142,60 +142,54 @@ echo ""; echo "\n"; - $buttonWidth = 0; - $buttonTexts = array(_('General settings'), _('Account types'), _('Modules'), _('Save'), _('Cancel')); - for ($b = 0; $b < sizeof($buttonTexts); $b++) { - $tempWidth = round(0.8 * strlen(utf8_decode($buttonTexts[$b]))) + 2; - if ($buttonWidth < $tempWidth) $buttonWidth = $tempWidth; - } - $buttonSpace = '       '; + $buttonSpace = '         '; // general settings - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/bigTools.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/bigTools.png);'; echo "\n"; echo "
\n"; echo ''; // account types - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/gear.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/gear.png);'; echo "\n"; echo "
\n"; echo ''; // module selection - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/modules.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/modules.png);'; echo "\n"; echo "
\n"; echo ''; echo " "; // save button - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/pass.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/pass.png);'; echo "\n"; echo "
\n"; echo ''; // cancel button - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/fail.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/fail.png);'; echo "\n"; echo "
\n"; diff --git a/lam/templates/config/confmodules.php b/lam/templates/config/confmodules.php index 343c5849..5e1eacb5 100644 --- a/lam/templates/config/confmodules.php +++ b/lam/templates/config/confmodules.php @@ -108,60 +108,54 @@ echo ""; echo "\n"; - $buttonWidth = 0; - $buttonTexts = array(_('General settings'), _('Account types'), _('Modules'), _('Save'), _('Cancel')); - for ($b = 0; $b < sizeof($buttonTexts); $b++) { - $tempWidth = round(0.8 * strlen(utf8_decode($buttonTexts[$b]))) + 2; - if ($buttonWidth < $tempWidth) $buttonWidth = $tempWidth; - } - $buttonSpace = '       '; + $buttonSpace = '         '; // general settings - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/bigTools.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/bigTools.png);'; echo "\n"; echo "
\n"; echo ''; // account types - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/gear.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/gear.png);'; echo "\n"; echo "
\n"; echo ''; // module selection - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/modules.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/modules.png);'; echo "\n"; echo "
\n"; echo ''; echo " "; // save button - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/pass.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/pass.png);'; echo "\n"; echo "
\n"; echo ''; // cancel button - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/fail.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/fail.png);'; echo "\n"; echo "
\n"; diff --git a/lam/templates/config/conftypes.php b/lam/templates/config/conftypes.php index 132e7c3b..74686e8f 100644 --- a/lam/templates/config/conftypes.php +++ b/lam/templates/config/conftypes.php @@ -123,60 +123,54 @@ echo ""; echo "\n"; - $buttonWidth = 0; - $buttonTexts = array(_('General settings'), _('Account types'), _('Modules'), _('Save'), _('Cancel')); - for ($b = 0; $b < sizeof($buttonTexts); $b++) { - $tempWidth = round(0.8 * strlen(utf8_decode($buttonTexts[$b]))) + 2; - if ($buttonWidth < $tempWidth) $buttonWidth = $tempWidth; - } - $buttonSpace = '       '; + $buttonSpace = '         '; // general settings - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/bigTools.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/bigTools.png);'; echo "\n"; echo "
\n"; echo ''; // account types - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/gear.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/gear.png);'; echo "\n"; echo "
\n"; echo ''; // module selection - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/modules.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/modules.png);'; echo "\n"; echo "
\n"; echo ''; echo " "; // save button - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/pass.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/pass.png);'; echo "\n"; echo "
\n"; echo ''; // cancel button - echo "\n"; + echo "\n"; echo "\n"; echo "
\n"; - $buttonStyle = 'background-image: url(../../graphics/fail.png);width:' . $buttonWidth . 'em;'; + $buttonStyle = 'background-image: url(../../graphics/fail.png);'; echo "\n"; echo "
\n";