diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index b3b0bcea..594ec9f0 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -726,6 +726,7 @@ function parseHtml($module, $input, $values, $restricted, &$tabindex, &$tabindex * @package modules */ class accountContainer { + /** * Constructor * @@ -780,7 +781,7 @@ class accountContainer { var $order; /** Name of accountContainer variable in session */ - var $base; + private $base; /** This variable stores the name of the currently displayed page */ var $current_page; @@ -974,7 +975,7 @@ class accountContainer { if ($this->order[$this->current_page] == "main") $class = $this->type . "list-edit"; echo ""; echo "\n"; - echo "
\n"; + echo "
\n"; echo "order); $i++ ) { + $buttonStatus = $this->module[$this->order[$i]]->getButtonStatus(); + // skip hidden buttons + if ($buttonStatus == 'hidden') continue; $class = $this->type . "list-head"; if ($this->order[$this->current_page] == $this->order[$i]) $class = $this->type . "list-edit"; echo "\n"; echo "\n"; - echo "
\n"; - $buttonStatus = $this->module[$this->order[$i]]->getButtonStatus(); - // skip hidden buttons - if ($buttonStatus == 'hidden') continue; + echo "
order[$i]."')[0].click();\""; + echo " align=\"center\" style=\"padding-top:10px; padding-bottom:10px; padding-right:30px; padding-left:30px;\">\n"; // print normal button echo "order[$i]."\" type=\"submit\" value=\""; echo $this->module[$this->order[$i]]->get_alias();