X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/1aa774a935f76496935ec5b00c00dcef4cd7288e..e56d330ff51094e37f7d9f86f538b1c3865412ca:/lib/MECON/HTML/Tabla.php?ds=inline diff --git a/lib/MECON/HTML/Tabla.php b/lib/MECON/HTML/Tabla.php index 78c3a74..c5d2765 100644 --- a/lib/MECON/HTML/Tabla.php +++ b/lib/MECON/HTML/Tabla.php @@ -291,14 +291,18 @@ class MECON_HTML_Tabla extends HTML_Table { case 'th': $rta[$attr] = ''; break; - case 'clara': //Toma los mismos parametros que titulo pero en el pdf no se repite - $rta = array_merge($rta, - $this->_conf['atributos']["celda_titulo"]); + case 'clara': + $tmp = $this->_conf['atributos']['celda_comun']; + $tmp['bgcolor'] = $this->_conf['atributos']['celda_titulo']['bgcolor']; + $tmp['class'] = $this->_conf['atributos']['celda_titulo']['class']; + $rta = array_merge($rta, $tmp); $rta[$attr] = $attr; break; - case 'oscura': //Toma los mismos parametros que cabecera pero en el pdf no se repite - $rta = array_merge($rta, - $this->_conf['atributos']["celda_cabecera"]); + case 'oscura': + $tmp = $this->_conf['atributos']['celda_comun']; + $tmp['bgcolor'] = $this->_conf['atributos']['celda_cabecera']['bgcolor']; + $tmp['class'] = $this->_conf['atributos']['celda_cabecera']['class']; + $rta = array_merge($rta, $tmp); $rta[$attr] = $attr; break; default: