- $tt = $tabla->addRow($row,'align="center" bgcolor="#FFFFFF" colspan="');
- $tabla->updateCellAttributes($tt, 0, 'valign="top" width="1%"');
- $this->_tabla->addRow(array($tabla->toHtml()),'align="center" bgcolor="#FFFFFF" colspan="'.$colspan.'"');
+
+ if ($body['menuVertical']) {
+ $tabla = new HTML_Table (array('width' => '760', 'border' => 0, 'celspacing' => 0, 'celpadding' => 0));
+ $tt = $tabla->addRow($row,'align="center" bgcolor="#FFFFFF"');
+ $tabla->updateCellAttributes($tt, 0, 'valign="top" width="1%"');
+ $contenido[] = $tabla;
+ } else {
+ $contenido = $row;
+ }
+//
+ $this->_tabla->addRow($contenido,'align="center" bgcolor="#FFFFFF" colspan="'.$colspan.'"');