X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/76987cd6ea2f6e7c7ca6fc8aa45fc79532c3b4f5..156c7419509d134ba160622f10c554c87c6949a0:/lib/MECON/HTML/Arbol.php diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index 73af521..c64b585 100644 --- a/lib/MECON/HTML/Arbol.php +++ b/lib/MECON/HTML/Arbol.php @@ -7,7 +7,7 @@ class HTML_Arbol extends HTML_Table { var $t_interna; - function HTML_Arbol($dat, $imagen) + function HTML_Arbol($dat, $titulo_str) { parent::HTML_Table(array ('width'=>'132', 'border' => '0', @@ -19,10 +19,16 @@ class HTML_Arbol extends HTML_Table 'cellspacing' => '2', 'cellpadding' => '0', 'class' => 'bodytext')); -/* $this->addRow(array(new HTML_Image($imagen,'',array('width'=>'132', - 'height'=>'26', - 'border'=>'0'))));*/ - $this->addRow(array('aa'), array('background'=>'MECON/images/arbol_titulo.gif')); + $titulo = new HTML_Table(array('width'=>'132', + 'height'=>'26', + 'border' => '0', + 'cellspacing' => '0', + 'cellpadding' => '0', + 'align'=>'center', + 'background'=>'/MECON/images/arbol_titulo.gif')); + $titulo->addRow(array($titulo_str), array('align'=>'center', + 'class'=>'arboltitulo')); + $this->addRow(array($titulo), array('bgcolor' => '#FFFFFF')); $this->expandir($dat, 0); }