$row = array ('<font face="Arial, Helvetica, sans-serif" size="3" color="#FFFFFF"><b>'.$this->_seccionSeleccionada->_nombre.'</b></font>');
$this->_tabla->addRow($row,'align="left" bgcolor="#336699" colspan="'.$colspan.'"');
- if ($body['menuVertical']) {
- $cols = 2;
- }
- else {
- $cols = 1;
- }
-
- $tabla = new HTML_Table (array('width' => '100%', 'border' => 0, 'celspacing' => 0, 'celpadding' => 0));
+ $tabla = new HTML_Table (array('width' => '760', 'border' => 0, 'celspacing' => 0, 'celpadding' => 0));
//Agrego si corresponde el espacio al inicio
if ($body['espacios']) {
$espacio = ' <BR>';
else {
$row[] = $body['body'];
}
- $tt = $tabla->addRow($row,'align="center" bgcolor="#FFFFFF" colspan="');
- $tabla->updateCellAttributes($tt, 0, 'valign="top" width="1%"');
+ $tt = $tabla->addRow($row,'align="center" bgcolor="#FFFFFF"');
+
+ if ($body['menuVertical']) {
+ $tabla->updateCellAttributes($tt, 0, 'valign="top" width="1%"');
+ }
$this->_tabla->addRow(array($tabla->toHtml()),'align="center" bgcolor="#FFFFFF" colspan="'.$colspan.'"');
}