X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/08f25c6dbabd8c7773d61c790cc9bfa95ba89a08..7b6146c2dacb775a73ca9f78280499f9957da8ca:/lib/MECON/HTML/Arbol.php diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index fe81417..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,9 +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')))); + $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); }