'.$titulo.'
'; + $row = array ($menutmp); + $TABLA->addRow($row,'align="left"'); $TABLA->updateCellAttributes(0,0,'colspan="2"'); + + $SEP = array('', + '' + ); + $TABLA->addRow($SEP); foreach ($this->_componentesVertical as $comp) { - $row = array ('',' '); - $TABLA->addRow($row); - $TABLA->addRow($comp,'align="left" bgcolor="#FFFFFF" height="1"'); - $TABLA->updateColAttributes(0,'align="right" width="34"'); - $TABLA->updateColAttributes(1,'align="left"'); + $TABLA->addRow($comp,'align="left" height="3" + background="/MECON/images/general_fondo_gris"'); + $TABLA->updateColAttributes(0,'align="right" width="34" height="3"'); + $TABLA->updateColAttributes(1,'align="left" width="118"'); + $TABLA->addRow($SEP); } $TABLA->updateCellAttributes(0,0,'align="left"'); $row = array ($TABLA->toHtml()); - $this->_tabla->addRow($row,'width=160 align="left" bgcolor="#FFFFFF" valign="top"'); + $this->_tabla->addRow($row,'width=152 align="left" bgcolor="#FFFFFF" valign="top"'); //AGREGO EL CUERPO + $TABLA2 = new HTML_Table('width="600"align="right" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" border="0"'); + $row = array(); + $tmp = ''; + //AGREGO EL MENU VERTICAL + if ($menu) { + if (is_object($menu)) { + if (method_exists($menu,'toHtml')) { + $tmp.=$menu->toHtml(); + } + else { + trigger_error('El metodo no existe!', E_USER_WARNING); + } + } + else { + $tmp.=$menu; + } + $row[] = $tmp; + } + // $tmp = ''; //Agrego si corresponde el espacio al inicio if ($this->_configuracion['espacios']) { @@ -102,11 +129,14 @@ class MECON_Marco_MenuVertical extends MECON_Marco_Menu { $tmp.='