From 1572e58df94bc9e57f4cb000fe097a0b969047f7 Mon Sep 17 00:00:00 2001 From: Gonzalo Merayo Date: Wed, 25 Jun 2003 22:02:40 +0000 Subject: [PATCH] Bug Fix. Se agrego un estilo de celda (celda_contenedora) que no setea ningun atributo. Sirve para que se vea bien el fondo de la tabla y los bordes en Netscape. --- lib/MECON/HTML/Tabla.php | 2 +- lib/MECON/HTML/Tabla/conf_Tabla.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/MECON/HTML/Tabla.php b/lib/MECON/HTML/Tabla.php index df56c44..3f31b1b 100644 --- a/lib/MECON/HTML/Tabla.php +++ b/lib/MECON/HTML/Tabla.php @@ -263,7 +263,7 @@ class Tabla extends HTML_Table { $tmp['width'] = $this->_attrs['width']; $tabla_externa = new HTML_Table($tmp); $tabla_externa->setCellContents(0, 0, parent::toHtml()); - $tabla_externa->setCellAttributes(0, 0, $this->_conf['atributos']['celda_comun']); + $tabla_externa->setCellAttributes(0, 0, $this->_conf['atributos']['celda_contenedora']); $result = $tabla_externa->toHtml(); } else { diff --git a/lib/MECON/HTML/Tabla/conf_Tabla.php b/lib/MECON/HTML/Tabla/conf_Tabla.php index 4bd7851..7d104ef 100644 --- a/lib/MECON/HTML/Tabla/conf_Tabla.php +++ b/lib/MECON/HTML/Tabla/conf_Tabla.php @@ -51,6 +51,8 @@ return array ( 'bgcolor' => '#DDEEFF', 'class' => 'texto11_negro', ), + 'celda_contenedora' => array( + ), ), ); -- 2.43.0