$TABLA = new HTML_Table('width=160 align="left" bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" border="0" height="1"');
- $menu ='<img src="/MECON/images/general_carpeta0" border="0"> <font face="Arial, Helvetica, sans-serif" size="2" color="#000000"><b>'.$titulo.'</b></font>';
- $row = array ($menu);
+ $menutmp ='<img src="/MECON/images/general_carpeta0" border="0"> <font face="Arial, Helvetica, sans-serif" size="2" color="#000000"><b>'.$titulo.'</b></font>';
+ $row = array ($menutmp);
$TABLA->addRow($row,'align="left" bgcolor="#FFFFFF" height="1"');
$TABLA->updateCellAttributes(0,0,'colspan="2"');
$this->_tabla->addRow($row,'width=160 align="left" bgcolor="#FFFFFF" valign="top"');
//AGREGO EL CUERPO
+ $TABLA2 = new HTML_Table('align="center" 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']) {
$tmp.='<BR> ';
}
//
- $row = array ($tmp);
+ $row[] = $tmp;
+ $TABLA2->addRow($row, 'valign="top"');
+ $row = array ($TABLA2->toHtml());
$this->_tabla->setCellContents (0,1,$row);
$this->_tabla->setCellAttributes(0,1,'align="center" bgcolor="#FFFFFF" valign="top"');