X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/8a21b9d769b4ddc74af42cd6134c0760fffaa97b..6ac57e2d481c7fdeb453a6bf89383ddd71be2a53:/lib/MECON/Marco/MenuPrincipal.php?ds=sidebyside diff --git a/lib/MECON/Marco/MenuPrincipal.php b/lib/MECON/Marco/MenuPrincipal.php index 6bccb5c..db96650 100644 --- a/lib/MECON/Marco/MenuPrincipal.php +++ b/lib/MECON/Marco/MenuPrincipal.php @@ -155,7 +155,7 @@ class MECON_Marco_MenuPrincipal extends MECON_Marco_MenuHorizontal { if (method_exists($bod,'toHtml')) { $tmp.=$bod->toHtml(); } else { - trigger_error('El metodo no existe! - '.get_class($bod).'::toHtml()', E_USER_WARNING); + trigger_error('El metodo no existe! - '.get_class($bod).'::toHtml()', E_USER_WARNING); } } else { $tmp.=$bod; @@ -169,15 +169,14 @@ class MECON_Marco_MenuPrincipal extends MECON_Marco_MenuHorizontal { if ($body['menuVertical']) { $tabla = new HTML_Table (array('width' => '760', 'border' => 0, 'celspacing' => 0, 'celpadding' => 0)); - $tt = $tabla->addRow($row,'align="center" bgcolor="#FFFFFF"'); + $tt = $tabla->addRow($row,'align="center" bgcolor="#FFFFFF" valign="top"'); $tabla->updateCellAttributes($tt, 0, 'valign="top" width="1%"'); $contenido[] = $tabla; } else { $contenido = $row; } // - $this->_tabla->addRow($contenido,'align="center" bgcolor="#FFFFFF" colspan="'.$colspan.'"'); - + $this->_tabla->addRow($contenido,'align="center" bgcolor="#FFFFFF" colspan="'.$colspan.'" valign="top"'); } } // -X2C