X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/47fcd9f1dbb0357868cb194eb9f3a65bbffbc489..68e567775ffff90eadcc4169f946a083f1f8b44b:/lib/MECON/HTML/Arbol.php diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index 02813c9..cd47b0b 100644 --- a/lib/MECON/HTML/Arbol.php +++ b/lib/MECON/HTML/Arbol.php @@ -26,9 +26,9 @@ $Id$ -----------------------------------------------------------------------------*/ require_once 'HTML/Table.php'; -require_once 'HTML/Image.php'; +require_once 'MECON/HTML/Image.php'; -class HTML_Arbol extends HTML_Table +class MECON_HTML_Arbol extends HTML_Table { var $datos; var $titulo; @@ -41,7 +41,7 @@ class HTML_Arbol extends HTML_Table * @param string $titulo Título. * @param int $raiz Nodo raíz (de donde empezar a dibujar el árbol). */ - function HTML_Arbol($datos, $titulo, $link_append = '') + function MECON_HTML_Arbol($datos, $titulo, $link_append = '') { parent::HTML_Table(array( 'width' => '132', @@ -81,12 +81,12 @@ class HTML_Arbol extends HTML_Table ); $margen = ' '; if ($n) { - $margen = new HTML_Image('/MECON/images/blanco.gif', str_repeat('  ', $n), $atr); + $margen = new MECON_HTML_Image('/MECON/images/blanco.gif', str_repeat('  ', $n), $atr); $margen = $margen->toHtml(); } $imagen = ''; if (@$bullets[$n]) { - $imagen = new HTML_Image($bullets[$n], @$alts[$n]); + $imagen = new MECON_HTML_Image($bullets[$n], @$alts[$n]); $imagen = $imagen->toHtml(); } foreach ($dat as $e) {