layout fix if content area is too wide

This commit is contained in:
Roland Gruber 2015-12-20 19:07:04 +00:00
parent c02f80d996
commit a14a3bb0de
1 changed files with 19 additions and 12 deletions

View File

@ -1028,8 +1028,11 @@ class accountContainer {
}
echo '</div>';
echo '<div id="lamVerticalTabs" class="ui-tabs ui-widget ui-widget-content ui-corner-bottom ui-helper-clearfix">';
echo '<table>';
echo '<tr><td>';
// tab menu
$this->printModuleTabs();
echo '</td><td>';
echo "<div class=\"lamEqualHeightTabContent ui-tabs-panel ui-widget-content ui-corner-bottom\">\n";
// content area
// display html-code from modules
@ -1037,6 +1040,9 @@ class accountContainer {
$y = 5000;
parseHtml($this->order[$this->current_page], $return, array(), false, $y, $this->type);
echo "</div>\n";
echo '</td>';
echo '</tr>';
echo '</table>';
echo "</div>\n";
echo "</td></tr>\n";
// Display rest of html-page
@ -1419,6 +1425,7 @@ class accountContainer {
// Loop for each module
for ($i = 0; $i < count($this->order); $i++) {
$buttonStatus = $this->module[$this->order[$i]]->getButtonStatus();
$alias = $this->module[$this->order[$i]]->get_alias();
// skip hidden buttons
if ($buttonStatus == 'hidden') continue;
$buttonImage = $this->module[$this->order[$i]]->getIcon();
@ -1428,7 +1435,7 @@ class accountContainer {
}
// print button
echo '<li class="ui-state-default ui-corner-left' . $activatedClass . '">';
$buttonStyle = 'background-color:transparent;;border:0px solid;';
$buttonStyle = 'background-color:transparent;;border:0px solid;min-width: 200px;';
echo "<button style=\"" . $buttonStyle . "\" name=\"form_main_".$this->order[$i]."\"";
echo " tabindex=$x";
if ($buttonStatus == 'disabled') echo " disabled";
@ -1439,7 +1446,7 @@ class accountContainer {
}
echo "<img height=32 width=32 class=\"align-middle\" style=\"padding: 3px;\" alt=\"\" src=\"$buttonImage\">&nbsp;";
}
echo $this->module[$this->order[$i]]->get_alias();
echo $alias;
echo "&nbsp;</button>\n";
echo "</li>\n";
$x++;