diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 9100e84d..0d845b34 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -613,7 +613,7 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex break; // inner fieldset case 'fieldset': - echo "
\n"; + echo "
\n"; if ($input[$i][$j]['legend']!='') echo "" . $input[$i][$j]['legend'] . "\n"; $retTemp = parseHtml($module, $input[$i][$j]['value'], $values, $restricted, $tabindex, $tabindexLink, $scope); $ret = array_merge($ret, $retTemp); @@ -945,56 +945,64 @@ class accountContainer { } } // Create left module-menu - echo "\n\n
"; + echo "type."list\" border=0 width=\"100%\" style=\"border-collapse: collapse;\">\n"; + echo "type."list\" valign=\"top\">\n"; + echo "type . "list\">'; + echo "
"; - echo "
type."edit\">"; - echo _('Please select page:'); - echo "
\n"; // calculate button width - $buttonWidth = round(0.8 * strlen(utf8_decode(_("Reset changes")))); - for ($b = 0; $b < sizeof($this->order); $b++) { - $tempWidth = round(0.8 * strlen(utf8_decode($this->order[$b]))); + $buttonWidth = round(0.8 * strlen(utf8_decode(_("Main")))); + for ($b = 1; $b < sizeof($this->order); $b++) { + $tempWidth = round(0.8 * strlen(utf8_decode($this->module[$this->order[$b]]->get_alias()))); if ($buttonWidth < $tempWidth) $buttonWidth = $tempWidth; } $x=0; + echo ""; // print "main" button - echo "type . "list-head"; + if ($this->order[$this->current_page] == "main") $class = $this->type . "list-edit"; + echo "\n"; $x++; // Loop for module // $x is used to count up tabindex for ($i=1; $iorder); $i++ ) { + $class = $this->type . "list-head"; + if ($this->order[$this->current_page] == $this->order[$i]) $class = $this->type . "list-edit"; + echo "'; $x++; } + echo "
"; + echo "\n"; + echo "
\n"; + echo "subpage == 'finish') echo " disabled"; echo ">\n
"; + echo "
\n"; + echo "
\n"; + echo "\n"; + echo "
\n"; $buttonStatus = $this->module[$this->order[$i]]->getButtonStatus(); // skip hidden buttons if ($buttonStatus == 'hidden') continue; // print normal button - echo "order[$i]."\" type=\"submit\" value=\""; + echo "order[$i]."\" type=\"submit\" value=\""; echo $this->module[$this->order[$i]]->get_alias(); echo "\" tabindex=$x"; if (($buttonStatus == 'disabled') || $this->subpage == 'finish') echo " disabled"; echo ">\n
"; + echo "
\n"; + echo '
 
\n"; if ($this->dn_orig!='') { - echo "
"; + echo "
\n"; + echo "subpage == 'finish') echo " disabled"; echo ">
\n"; + echo '
"; } - echo "\n"; - echo "
"; - if ($this->current_page==0) { - echo "
type."edit\">"; - echo _('Main'); - echo "\n"; - } - else { - echo "
type."edit\">"; - echo $this->module[$this->order[$this->current_page]]->get_alias(); - echo "\n"; - } + echo "
"; // display html-code from mdule $return = array(); if ($this->current_page == 0) { @@ -1074,7 +1082,6 @@ class accountContainer { $z = 10000; parseHtml($this->order[$this->current_page], $return, array(), false, $y, $z, $this->type); // Display rest of html-page - echo "\n"; if ($this->current_page != "main") echo "
*" . _('required'); echo "
\n"; echo "\n";