\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 = ' ';
+ // general settings
+ echo "\n";
+ echo "\n";
+ echo ' | ';
+ // account types
+ echo "\n";
+ echo "\n";
+ echo ' | ';
+ // module selection
+ echo "\n";
+ echo "\n";
+ echo ' | ';
+ echo " | ";
+ // save button
+ echo "\n";
+ echo "\n";
+ echo ' | ';
+ // cancel button
+ echo "\n";
+ echo "\n";
+ echo ' | ';
+ echo "