diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index bd38cc82..19ca3c2d 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -1500,26 +1500,25 @@ class accountContainer { */ private function printModuleTabs() { // $x is used to count up tabindex - $x=0; - echo ""; - echo "\n"; - // Loop for module + $x=1; + echo '
'; + echo '
'; + echo "\n"; $x++; } - echo "
\n"; - echo "\n"; - echo "
order[$i]."')[0].click();\""; - echo " align=\"center\" style=\"border: 1px solid;border-bottom: 0px solid;padding:5px;\">\n"; - // print normal button $buttonImage = $this->module[$this->order[$i]]->getIcon(); + $activatedClass = ''; + if ($this->order[$this->current_page] == $this->order[$i]) { + $activatedClass = ' ui-tabs-selected ui-state-active'; + } + // print button + echo '
  • '; $buttonImageStyle = ''; $buttonSpace = ''; if ($buttonImage != null) { - $buttonImageStyle = 'background-image: url(../../graphics/' . $buttonImage . ');background-position: 2px center;background-repeat: no-repeat;height:32px;'; + $buttonImageStyle = 'background-image: url(../../graphics/' . $buttonImage . ');background-position: 2px center;background-repeat: no-repeat;height:32px;margin: 5px;'; $buttonSpace = '       '; } $buttonStyle = $buttonImageStyle . 'background-color:transparent;;border:0px solid;'; @@ -1528,11 +1527,10 @@ class accountContainer { echo "\" tabindex=$x"; if ($buttonStatus == 'disabled') echo " disabled"; echo ">\n"; - echo "
  • \n"; - echo '
     
    \n"; + echo ''; } /**